Format the Paid Scripts Support differently
from {LINKNAV} which is used in main templates...?
Paid Scripts Support differently: WSN Support Forums" />
Format the Paid Scripts Support differently
from {LINKNAV} which is used in main templates...?
Comments on Format the Paid Scripts Support differently
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I don't see the question. What's the difficulty in putting a style tag around it?
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
because its rendered ineffective due to the fact that it will be superceded by the styling within {LINKNAV}
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
But there isn't any styling within {LINKNAV} as far as I can see.
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
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?
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
Paul I really need this formatted differently... can you help?
Forum Regular
Usergroup: Customer
Joined: May 11, 2003
Total Topics: 64
Total Comments: 199
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.
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
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...
Forum Regular
Usergroup: Customer
Joined: May 11, 2003
Total Topics: 64
Total Comments: 199
In such a case I use styles like this:
works fine for me