Static menu with CSS

On my site the menu in the header is changing position on a scroll. I would like to make it static, so it would not remain unchanged.

  • Kris
    • Support

    Hi Dawran

    Hope you are doing good today.

    Please add this code in Appearance -> Customize -> Additional CSS section:

    .site-header {padding:0 !important;}
    .site-header.float-header {padding:0 !important;}
    .site-header.float-header #mainnav,.site-header #mainnav { top:-5px !important;}

    This should help :slight_smile:

    Kind Regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.