Paid Scripts Support differently: WSN Support Forums" /> Webmastersite.net
Register Log In

Format the Paid Scripts Support differently
from {LINKNAV} which is used in main templates...?

Comments on Format the Paid Scripts Support differently

capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Feb 12, 2006 - 12:49 PM:

Paul, is it possible to format the {LINKNAV[trim]} that is used in the search templates differently from {LINKNAV} as used in the main display...? The reason I ask is because {LINKNAV} is formatted in large font as its the main navigation - but I'm then forced to have this same size in the search results pages, which looks weird.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 13, 2006 - 5:46 AM:

I don't see the question. What's the difficulty in putting a style tag around it?
capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Feb 13, 2006 - 5:52 AM:

because its rendered ineffective due to the fact that it will be superceded by the styling within {LINKNAV}
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 13, 2006 - 11:03 PM:

But there isn't any styling within {LINKNAV} as far as I can see.
capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Feb 20, 2006 - 6:00 PM:

You have to format {LANG_NAV_TEMP} in the language templates, otherwise the navigation will display in the default purple styling for links....

and because I am applying a class to that element above, a <span> around {LINKNAV[trim]} doesn't do much....

do you see what I mean?
capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Mar 09, 2006 - 4:08 PM:

Paul I really need this formatted differently... can you help?
Jenny
Forum Regular

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Comments: 199
Jenny
Posted Mar 09, 2006 - 4:23 PM:

there is no specific format or style assigned to {LINKNAV} as this is ONLY the actual text.
On the page for the search results without changing anything it is displayed like any other regular link.
And the {LINKNAV} in the main navigation, on the edit page for example, is formatted by the surrounding <div class="nav">. You can change that style by going to your stylesheet template and editing whatever comes after .nav.

Hope that helps.
capitaine
Forum Regular

Usergroup: Customer
Joined: Aug 05, 2005

Total Topics: 94
Total Comments: 272
Posted Mar 11, 2006 - 6:13 PM:

Putting a class inside a DIV will not style an <A> tag. Try it - it will just revert to the default or base <A> style. The only way to style <A> tags is to use a class inside it, or to use an id in the DIV eg <DIV id="nav">

As in this case the only solution is to use ids, it is a lot of messing around as it affects everything inside the DIV. Really not ideal but there we are...
Jenny
Forum Regular

Usergroup: Customer
Joined: May 11, 2003

Total Topics: 64
Total Comments: 199
Jenny
Posted Dec 20, 2006 - 3:36 PM:

In such a case I use styles like this:

<style>
.nav a
{color:#ff0000;}
</style>


works fine for me
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.