Hi all,
I've designed a single page website with smooth scroll jquery, the header + nav is fixed to the top of the website with anchor tags as the link. So the page travels up underneath the #header with a z-index:9999 set.
Everything functions great, I just need to know how to make the navigation links look a certain way (i.e. line underneath, different color, etc...) when you are on its corresponding page and/or at their anchor tag.
Can this be accomplished through CSS or do I need to use JQuery? Hopefully it's just a simple CSS solution that I'm blanking on...
Thanks!
I've designed a single page website with smooth scroll jquery, the header + nav is fixed to the top of the website with anchor tags as the link. So the page travels up underneath the #header with a z-index:9999 set.
Everything functions great, I just need to know how to make the navigation links look a certain way (i.e. line underneath, different color, etc...) when you are on its corresponding page and/or at their anchor tag.
Can this be accomplished through CSS or do I need to use JQuery? Hopefully it's just a simple CSS solution that I'm blanking on...
Thanks!