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: 72
    • Replies: 72
    • Total: 144
    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
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30977
    • Total: 30977
    Member since: August 16, 2013

    Hi,

    Kindly use this CSS to enable the sticky header.

    Regards,
    Chris

    #203799
    BikoBiko
    Participant
    • Topics: 72
    • Replies: 72
    • Total: 144
    Member since: November 29, 2019

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

    #203800
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30977
    • Total: 30977
    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.