• Resolved jimandms

    (@jimandms)


    I do have one more question about a minor annoyance that I noticed…..

    If I go to my post page, then that is highlighted in the menu bar as is any page that I visit. However, if I click on one of the posts and bring it up then the post page is no longer highlighted in the menu, and nothing is highlighted.

    I can understand that technically I am not on the post page anymore. However, is there an easy way to have the menu item for the post page stay highlighted even if I am reading one of the posts?

    As I said, just a minor annoyance but I hate not seeing anything highlighted in the menu.

    Thanks!
    Jim

Viewing 1 replies (of 1 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Sure, you can update the site to keep the “Blog” menu item highlighted on post pages with the following CSS:

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item..mega-current_page_parent > a.mega-menu-link {
      background: #e6a117;
      color: #fff;
      font-weight: bold;
      text-decoration: none;
    }

    Please copy & paste the code above into the “Custom CSS” section in the Customizer (Appearance > Customize), and it should take affect right away.

    One thing – I have written this to fit with the current “mega menu” plugin being used, so it will need to be updated if you switch plugins or discontinue use of that plugin in the future.

Viewing 1 replies (of 1 total)
  • The topic ‘Menu bar’ is closed to new replies.