Active menu item styling w/anchor points
-
Hello all,
I have a doubt which may be easily solved, however can't figure out yet.
I have a site with a single page where the menu items link to different anchor points. Is there a way (perhaps with the :active attribute?) in which I can set a different color depending on which section I am?Thanks in advance
-
Hi @josehoudini!
Unfortunately there is no way to realize this by style only. Have tried it a short time ago.
I finally made it work by using this: http://scrollmagic.io/
-
@saschatoussaine Thanks a lot for your input, could you perhaps guide me a bit further on how to include this on a laytheme site?
Thanks in advance
-
Dear @josehoudini
Sure! :)
Could you please post a link to your single-page website and i can provide a better answerThank you for you patience and for using Lay Theme
Best
Richard
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it