Announcement
Collapse
No announcement yet.
Sticky Header
Collapse
X
-
We implemented a sticky header using custom css and a custom header. So it's definitely possible but could take some custom code solutions. I'm not sure if there a Miva setting.
It could look something like this
CSS:
Code:header { position: sticky; /* Sticky position */ top: 0; /* Stick to the top */ z-index: 1000; /* Ensure it stays above other content */ }
HTML:
Code:<header> <!-- Header code here --> </header>
Last edited by davdg75; 03-05-24, 11:51 AM.
Leave a comment:
-
Sticky Header
We would like to implement a sticky header in our website (lynchnw.com). Is there a setting for this in Miva? If not, is there a CSS way to do this?
Thank you!
MarkTags: None
Leave a comment: