Site logo

Archived topic

Sticky Header

5 replies · Started by David on June 4, 2021

Viewing posts 1–6 of 6

Hello,

Is there a way to make it so that the sticky header when you scroll does not remove the site title, and change the height? So it literally sticks the header and nothing else?

Hi there,

can you share a link to your site so i can see the layout?

Sorry it's only a local install. It's just how to have a sticky header without any changes being made to the header accept just making the header sticky. This includes logo, site title and nav

Disable the Sticky Navigation and try adding this CSS:

#masthead {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

That works great thank you :-)

Glad to be of help

This archived topic is closed to new replies.