dynamic menu highlighting – again!
-
Hullo!
I’m quite new to css and theme-designing within wordpress and i encountered (unexpectedly;) ) a problem. i want my page to highlight menu-items not only by “hovering” but also to highlight the menu-item that’s currently viewed (including the “home”-page). i checked, of course, the codex, but that seems some kind of outdated. i searched these forums, but the bunch of solutions offered lacked a clear desciption regarding my problem and i wasn’t able to tie the strings together 🙁
i use a horizontal menu with the following links within the header.php<div id="supernav">
<ul>
<li><a href="index.php" title="Blog">Blog</a></li>
<li><a href="index.php?page_id=6" title="Projekt">Projekt</a></li>
</ul>
</div>the “active” part of the style.css:
#supernav a:active {
color: #c40;
text-decoration: none;
font-weight: bold;
}how can i bring them together? i wasn’t able to do it with current_page_item and if pageid etc, so i’m asking you knowing fellows 🙂
thank you for sharing your knowledge!
The topic ‘dynamic menu highlighting – again!’ is closed to new replies.