How to change the coloring of links when scrolling past that section

So I started from the Gallio theme and got a fixed nav going. One thing I noticed is when I scroll past the section (that the nav links to) the color of that nav item changes.

I can’t seem to figure out where this is being set and how to change it. Any ideas?

So your looking for the “current” selector/style. In preview, click a nav button to take you a section on the page. Then in design view, select the text of the button you just pressed. In the link style under current selector you should see a selector (thats added automatically) called “current” with a little lighting bolt.

Now you can style the text any way you like and that style will be applied every time the page scrolls to a section that a nav link is linking to.

hope that makes sense/helps.

2 Likes