This page class

Support Area Forums Authentic This page class

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://www.anapozo.mialias.net
  • Author
    Posts
  • #22687
    Paloma Hernandez
    Participant

    Hello Bill,
    Is there a way I could highlight the page I am in in the navigation menu?
    Thank you

    #22698
    Bill Robbins
    Moderator

    Good Morning Paloma,

    Great question there. You can style the current page item differently if you’d like to. WordPress adds a bit of HTML to the current item that we can use as a hook to apply a different style. Here’s how:

    1. Go to your theme options page and choose the Style tab.
    2. Scroll down to the Custom CSS box and add this:
      
      header#primary li.current-menu-item a,
      header#primary li.current-menu-item a:visited {
      	color: #ffffff;
      }
      
    3. Change the #ffffff to the color you’d like to use.
    4. Update your settings.

    That should do the trick. If you have any trouble, just let me know.

    Thanks,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘This page class’ is closed to new replies.