Sticky header with SKT SENATOR

Home Forums All Other Themes Sticky header with SKT SENATOR

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #203779
    BikoBiko
    Participant
    • Topics: 64
    • Replies: 65
    • Total: 129
    Member since: November 29, 2019

    Hi,
    I have activated the top header bar on the SKT SENATOR theme and I would like to get a sticky header without the top bar header when I scroll down the page.
    Thanks in advance.

    #203792
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30587
    • Total: 30587
    Member since: August 16, 2013

    Hi,

    Kindly use this CSS to enable the sticky header.

    Regards,
    Chris

    #203799
    BikoBiko
    Participant
    • Topics: 64
    • Replies: 65
    • Total: 129
    Member since: November 29, 2019

    Hi,
    What CSS code?
    I don’t see any CSS in your answer.
    Thank you for your clarification.

    #203800
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30587
    • Total: 30587
    Member since: August 16, 2013

    Hi,

    Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:

    .mywrap {
      position: sticky;
      width: 100%;
      z-index: 99999;
      top: 0;
    }

    Regards,
    Chris

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.