Ready to get started?Download WordPress


How to hide highlight in navigation menu for child category? (4 posts)

  1. johhny
    Posted 1 year ago #

    the site is http://news.abnxcess.com/.

    when you click the "SPOTLIGHT" or "VIDEO" section title, it will lead to a post listing page like this

    http://news.abnxcess.com/category/home/spotlight/ (for "SPOTLIGHT")


    http://news.abnxcess.com/category/home/videos/ (for "VIDEO")

    The problem is, SPOTLIGHT and VIDEO is the child category of HOME. but if we click on the SPOTLIGHT (for example), the BIZ navigation menu will be highlighted. how to remove the highlight?

  2. edpittol
    Posted 1 year ago #

    Please, add the function body_class() in the body tag. Its facilitates to view your structure and put the php call for the menu.

  3. johhny
    Posted 1 year ago #

    Hi edpittol,

    In which file should i put the body_class()?

  4. edpittol
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic