ThemeShaper Forums » Thematic


Highlighting portion of navigation

(5 posts)
  • Started 11 years ago by Alta Alley
  • Latest reply from Alta Alley
  • This topic is not resolved


  1. Alta Alley

    We are using pages as our main navigation in a modified Thematic theme here:

    Our client is wondering if there is a way to highlight just one of these navigation pages. I'm struggling even finding where the thematic_navigation_above() function is located and I'm totally lost.

    Any help is appreciated. If you need any additional code I'm happy to provide it.

    Posted 11 years ago #
  2. you need

    .current_page_item, .current_menu_item { background: pink; }

    or something similar in your style.css

    Posted 11 years ago #
  3. Alta Alley

    Thanks. This is intended for the background of the tab you're currently in correct? We actually want to highlight a particular tab consistently.

    Also, in either case, where do I look to find out what my menu items are actually called? If that didn't make sense let me explain.

    The theme we are using was built on Thematic but designed by a whole different person/company. I stuck in .current_page_item didn't work, nor did .current_menu_item in a quick test but I'm having trouble finding where to look to figure out what would be right, since these aren't.

    Posted 11 years ago #
  4. sounds like you need to in the worst way. or i also use chrome's built-in developer tools. w/ either you can point around and see what CSS is applying to places... it also helps you quickly find the ID and Class names of elements... or you could do that by viewing the source.

    each menu item has a unique class (as long as the menu was autogenerated by WP in some way)

    for example

    <li class="page_item page-item-2"><a href="" title="About">About</a></li>

    see that page-item-2 class? you can use it to target that item specifically

    Posted 11 years ago #
  5. Alta Alley

    Great tips. I should be able to figure it out now hopefully. Thank you!

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.