Announcement

Collapse
No announcement yet.

Sticky Header

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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!
    Mark

    #2
    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>
    -Dave
    Last edited by davdg75; 03-05-24, 11:51 AM.

    Comment


      #3
      Thank you, Dave.

      Comment

      Working...
      X