• Hi guys! ??
    Twenty Eleven child theme. I have a custom header menu (unfortunately I can’t use wp_nav_menu ’cause I have a rather complex menu with images, not text. Then submenus with text..).

    Anyway, it’s something like this:

    <div id="blahblah" style="blahblah">
    <a href="blahblah"><img style="blahblah" src="blahblahblahblah"></a>
    <a href="blahblah"><img style="blahblah" src="blahblahblahblah"></a>
    <a href="blahblah"><img style="blahblah" src="blahblahblahblah"></a>
    <a href="blahblah"><img style="blahblah" src="blahblahblahblah"></a>
    </div>

    I added a img:hover tag and added an outline so that if you hover a menu item you see borders.

    But I’d like to have the borders automatically on the current page too..

    Is there a way (conditional tag?) to have this without having to create a custom template for each page of the menu?

    Thanks in advance! ??

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Outline menu item if is current (not in wp_nav_menu)’ is closed to new replies.