Plugin Author
malihu
(@malihu)
Hello,
Your links URL is not correct. You have /home/ in your URls but there’s no /home/ page in your site.
Remove the /home/ from your links. For example, change “Teenused” URL from:
/home/#teenused
to:
/#teenused
Also, in “Page scroll to id” settings, enable “Prevent other scripts from handling plugin’s links” option.
The highlight you see (red color on clicked links) comes from your theme or another plugin. You could change this by adding the following to your additional/custom CSS:
#site-navigation ul li.current-flash-item a:not(:hover) {
color: inherit;
}
Plugin Author
malihu
(@malihu)
Also, change your “Avaleht” link from:
#top
to:
/#top
This will should it work from any page on your site.
Plugin Author
malihu
(@malihu)
Not sure if you need to reset your theme’s highlight (red color) issue. It happens because the links point on the same page (the theme does this). If you do, you could use the following CSS:
a, #site-navigation ul li.current-menu-item > a:not(:hover), #site-navigation ul li.current_page_item > a:not(:hover) {
color: inherit;
}
or use the following to highlight links on-the-fly while the page is scrolling:
a, #site-navigation ul li.current-menu-item > a:not(.mPS2id-highlight):not(:hover), #site-navigation ul li.current_page_item > a:not(.mPS2id-highlight):not(:hover) {
color: inherit;
}
Thanks! It worked! Now it does not show active URL but i think it does not matter.
Better than glitchy menu 🙂
I think this whole thing is just about theme, bad as their support.
Thanks for taking time and helping me out with fast reply!
Awesome support!
Case closed
Plugin Author
malihu
(@malihu)
You’re welcome 🙂
Your menu items all point to the same homepage so I guessed there’s no reason to show the active page/URL(?) I mean usually you want to show/highlight the current/active page link when you have links that point to different pages, correct?