jcny85 Posted February 8 Share Posted February 8 URL: https://www.jconstantino.net/see/jnf/styleguide Hey all. I am trying to add some customization to this page. Currently, you can see right above the first image a line of text that reads "brand style guide" which is currently a header for the first set of images. Lower on the page, there's another header for "editorial templates" for the next set of images. The easy part that I don't need help with: I'd like to make the first header ("brand style guide") a subnav of sorts and add "editorial templates" next to it. I'd then like to make each an anchor link for each section, and have that subnav section stick at the top of the window as you scroll down, as I already have happening on this page. The part that I DO need help with: I'd like each subnav link/anchor link to have an active state when clicked, but I'd also like the active state to change as the user scrolls down to the relevant section. For instance, if someone starts at the top of the page and scrolls down to "editorial templates", I'd like the active state styling to apply to the associated anchor link for that content. Can anyone possibly help with something like this? Thank you in advance! Link to comment
tuanphan Posted February 11 Share Posted February 11 With click, I think I can help with code But with change on scroll, I think you will need to hire a coder to help you this. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment