First menu link is active even though it is connected to inside anchor

Hi there.

We have added menu anchors for our menu links that lead to specific parts of the page. However, the first menu link is active even before reaching the menu anchor point we added inside the page. How can we change that?

https://marinedatachallenge.dmh.gr/


Comments

  • Hi,

    The One Page option works in the way that it always highlights a menu item.

    On your website, the first section has #about ID assigned to it, so the menu highlights this closest section.

    Best regards

  • The about ID was placed on two sections so that was an error on our part. Now about "The One Page option works in the way that it always highlights a menu item.", isn't there a way to change that? Some option?

  • You can add a menu item in the first position that will have URL #Header_wrapper and hide it with a custom CSS code.

    #Top_bar .menu li.menu-item:first-child{
       display: none;
    }
    

    Best regards

  • Thank you

Sign In or Register to comment.