Sticky main menu without the Topbar

Home Forums All Other Themes Sticky main menu without the Topbar

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

    Hi,
    How to make main menu sticky without Topbar for SKT eAuto theme?
    Thanks in advance.

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

    Hi,

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

    .mywrap { width: 100%; position: sticky; top: 0;}

    Regards,
    Dave

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

    Hi,
    This code makes the main menu and the Topbar sticky, that’s not what I want.
    I just want to have a sticky main menu without the Topbar.
    See screenshot: https://prnt.sc/6BgT5JagW7rQ
    Thank you.

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

    Hi,

    Kindly replace this CSS.

    .mywrap { width: 100%; position: sticky; top: -52px;}

    Regards,
    Dave

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