Different colour for current page
Permalink
Could someone tell me how to set the current page in the nav bar to have a different colour to differentiate it from the other links and tell the viewer where they are.
Is there a way of setting it so that the auto nav. works out which is the current page and sets the colour within the CSS?
Is there a way of setting it so that the auto nav. works out which is the current page and sets the colour within the CSS?
did you ever find an answer to this question?
When you use the autonav block for your navigation menus, it will put the following CSS class on the link for the current page:
It will also put the following css class on parents of the current page:
You need to use CSS in your theme stylesheet to make those links with those classes actually look different. If you don't know what any of this means, and you're using a theme that you got from the marketplace, you should contact the author of that theme and ask why it's not making the current page link look different -- they should have taken care of that when they built the theme and if they didn't then that's kind of lame and you should ask them to fix it, or otherwise use a different theme.
nav-selected
It will also put the following css class on parents of the current page:
nav-path-selected
You need to use CSS in your theme stylesheet to make those links with those classes actually look different. If you don't know what any of this means, and you're using a theme that you got from the marketplace, you should contact the author of that theme and ask why it's not making the current page link look different -- they should have taken care of that when they built the theme and if they didn't then that's kind of lame and you should ask them to fix it, or otherwise use a different theme.