Hey everybody. Putting the finishing touches on my portfolio site and I’m having trouble with a few little details. Hoping you can help.
One in particular is I’ve got a fixed nav bar that appears after scrolling past the hero section in each of my case studies. However, I’ve found that if I reload the page and I’m already past the hero section, the fixed nav disappears and won’t come back until I scroll back up to where the hero section is in view.
Any suggested fixes?
If you want to take a look at the specific interactions, “Nav Scroll” is what I named the fixed nav hiding upon page load and “Nav Appear” is what triggers its appearance after scrolling past the hero section.
Hi @jasonmarder, there is not a built in option to force a page to reload at the top, but what you might try, is to use some custom code to try and force the page to the top on page reload:
Try this code in the header of your site (note I have not tried this yet):