• Resolved tanphong1890

    (@tanphong1890)


    Hello there!
    I’ve spent a lot of time trying to figure this out and for the life of me just can’t do it, I posted this topic once 3 months ago but noone answered. I hope you can help me this time!
    I have a nav menu with many type of menu item
    Home (Custom)
    Live healthy (Category)
    Posts (Category)
    Advise (Custom)
    Videos (Custom)
    Contact (Custom)
    The problem is:
    1. When I click on Category-type menu item, it doesnt highlight as current page (Custom type is ok).
    2. When I read post that belongs to Live healthy category, that category menu item doesnt highlight too.

    I tried seaching everywhere for solution but no result found. If anyone can tell me what I might need to do, it would be much appreciated.
    My site here
    Thank you in advance! (Im sorry for my poor English)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tanphong1890

    (@tanphong1890)

    I resolved it myfself.
    add this to custom css

    li.current-menu-item a, li.current-post-ancestor a{
    	color: #ff9d4c !important;
    }

    Close topic!

    Thread Starter tanphong1890

    (@tanphong1890)

    If you have same problem add this

    li.current-menu-item a, li.current-post-ancestor a{
    	color: #ff9d4c !important;
    }

    Check out my site here, look at the nav menu

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Highlight categories as menu item’ is closed to new replies.