Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The topic ‘How to make menu highlight anchor section?’ is closed to new replies.
Hi,
I’ve created a portfolio using the fixed sidebar template of the Enfold theme. My home page consist of a Full Screen Slider and a different section (About) right below the slider.
So I’ve added the anchor to the About section, and then added the anchor link to my menu item; http://url.com/#anchor
The anchor and menu items works, in regards to scrolling to the sections, but only issue I’m having is the menu isn’t highlighting the section that is in, it just stays highlighted on “Home”.
Thanks
So I’ve had a good look at this, it seems like everything works (as it is), if I choose Top Header for Logo and Main Menu, but when I choose Left Sidebar, the “current-menu-item” doesn’t switch between anchors, the class just stays with #top.
Is there a fix to the javascript or function that moves the class “current-menu-item” when using the Left Sidebar option for Logo and Main Menu?
Thanks
Hi!
Thanks for the notice Charles89, I can reproduce it on my end. I added it to our bug list. We should see a fix in the next update.
Best regards,
Elliott
Hi!
I was able to find whats causing the issue and fix it. Next release will include the fix! Thanks for the bug report ;)
Cheers!
Kriesi
Hello,
I think I have the same problem here. It does not seem to be fixed in 3.1.5 yet. Will it be in 3.1.6?
When I click on a news item at http://xenoarchaeologist.com/#blog the menubar still indicates I am on the homepage.
Kind regards,
Gerhard