Anchor link don't lose always active class after moves from last anchor position

Hello,

I’m not sure if I missed anything, but right now, I have two anchor links in the menu that are just for the home page. When the page loads, I start scrolling, and on the first section, the first link gets active class, and that is ok. After that comes the second section, the first link loses active class and gets non-active color, the second link gets active class and color, but when I continue to scroll afterthe second section, that link still has active class and active color.

In navigation inline, under Active Links current option is on Off.

Hello Ofir,

Thanks for posting in! I would assume that this menu item links to the Section ID. Does this section have several rows? It would be best if you can send us the URL of the site or page so that we can thoroughly inspect and figure out the possible resolution to your issue. We would also love to check the menu items if we can log in. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Best Regards.

Hello,

added.

Hi Ofir,

Till any other menu item is activated the last active menu item will be always active and that is what happening in your case. If you scroll up and get into the section for the first menu, the active class will be removed from the second menu and added to the first one.

Hope it helps.
Thanks