Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1462303

    Hi guys,

    Ran into a glitch I can’t figure out. On this mock : https://anthonyi24.sg-host.com/

    The theme creates an underline for the current menu item. Problem being that some of the menu items are duplicated under the menu item services as a drop down . As such when I click on for instance ‘outdoors’ services is also underlined I imagine because outdoors is also under the services menu item. I tried making the drop down menu items custom links but that had no effect. How can I stop this from happening?

    Thanks

    #1462345

    Hey tonyiatridis,

    Thank you for the inquiry.

    Did you set the Services page as the parent of the Outdoors page? It might be underlined because the Services page is the ancestor of the current page. You may need to deselect the page as the parent or just remove the Outdoors menu item completely from the menu.

    You can also try this css code:

    .current-menu-item:not(.current_page_parent) > a > .avia-menu-fx {
        opacity: 0;
    }

    Best regards,
    Ismael

    #1462405

    Thanks for the reply,

    No parent status on any pages.

    The css you sent stops the duplicate underline for the current menu item, but not in the right way. Now when we click Outdoors for instance it hides the line under Outdoors and underlines the Services tab where the Outdoors page is also in that drop down menu. The services menu item should only be underlined when the services page is active which is a page you get to when you click services but don’t go down to one of the drop down menu items.

    Can we get it to work the other way around where services is not underlined and outdoors is?

    Thanks so much

    #1462459

    Hi,

    Thank you for the update.

    Can we get it to work the other way around where services is not underlined and outdoors is?

    Try to replace the modification with this css code:

    .current-menu-parent > a > .avia-menu-fx {
        opacity: 0;
    }
    

    Best regards,
    Ismael

    #1462566

    Awesome thanks so much, case closed. :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Issue with underline of current menu item duping’ is closed to new replies.