We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there anyway I can use Vital to create a sticky nav bar that has is position: fixed while the rest of the content scrolls below it?
position: fixed
I've tried getting this to work but not using a relative positive for nav seems to disrupt the relative order of the nav bar and the content below it.
nav
The text was updated successfully, but these errors were encountered:
It's possible but requires some custom code. Your fixed position should be applied to the .header class, not the nav element.
.header
LMK if you are still encountering issues.
Sorry, something went wrong.
I am considering adding a sticky nav class in Vital.
bodytaing
No branches or pull requests
Is there anyway I can use Vital to create a sticky nav bar that has is
position: fixed
while the rest of the content scrolls below it?I've tried getting this to work but not using a relative positive for
nav
seems to disrupt the relative order of the nav bar and the content below it.The text was updated successfully, but these errors were encountered: