hugo-profile
hugo-profile copied to clipboard
Sticky navbar
Please add the option to make the navbar sticky, or make it default.
Thanks!
https://github.com/gurusabarish/hugo-profile/pull/100
Hey @pantera-rosa / @benarmstead , when running this on:
$ hugo version [13:36:06]
hugo v0.121.1-00b46fed8e47f7bb0a85d7cfc2d9f1356379b740+extended darwin/arm64 BuildDate=2023-12-08T08:47:45Z VendorInfo=brew
I have noticed that the navbar is not sticky on scroll down with the yaml configuration enabled, but instantly appears on a single pixel when scrolling up. It seems like this is not working as intended?
https://github.com/gurusabarish/hugo-profile/assets/4028612/7431d9a2-dee0-4115-97ff-0d62ae3aef71
It seems like the class is not being set on initial load, but shows up afterwards?
It seems like you used a custom class rather than using the default Bootstrap class of fixed-top
?
Apologies, looking back at git blame, your original PR had the correct class. Commenting on in #100 about the issue.