Is there a way to set the anchor position for the “scroll-to” behavior on individual anchors? I’m trying to make the Contact side nav section highlight when the page reaches the contact footer at the bottom but it won’t go far enough without making the section tall enough to reach the top of the browser…
However to get what you are describing done natively, you have to have a section of block that is more in view and closer to the top of the page for that highlighted effect to happen.
Itll still get you there by way of clicking it, but the visited color wont be achieve without some custom code. I dont believe an attribute will work in this case.
Awesome, I’ll dig for what I’m assuming is a JQuery method to swap the selected class on the nav. Hopefully I can do that without breaking the existing behavior on the other links.