• Hey people, this is kind of tricky.

    I have a normal text navbar which highlights on roll-over and while active using li.current_page_item class.
    But I was required to replace one of the menu-item with an image as you can see it over here: https://www.centerforinnersciences.org/spiritmag (7th from left which says SpiritMag)

    I have replaced it using #menu-item-530 a {} class. The roll-over works fine too, using #menu-item-530 a:hover {} syntax but it doesn’t green when the page is active.

    I’ve tried using

    #menu-item-530 li.current_page_item a
    #menu-item-530 .current_menu_item a

    and so many other tricks but none of them works.

    Any solution to this?

    Thanks,
    Jugal

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tricky: Need to highlight only one menu item while active’ is closed to new replies.