Jump to content

Fix header and logo at top of page

Recommended Posts

Hello,

I'm working in Ready and I would like to fix my header (which contains my logo) to the top of the page. It currently remains at the top of the screen as the user scrolls down the page, but there is no option to lock it at the top. Could someone help with this?

Thank you!

Link to comment
  • Replies 2
  • Views 501
  • Created
  • Last Reply

Hello! Try entering this code in the custom CSS section:

.header-announcement-wrapper {
    position: initial !important;
    transform: none !important;
}

main {
    margin-top: 0 !important;
}

This might cause some jumping in the page since it looks like this template is using some on scroll effects, it depends on your site. If you do notice any jumping, you're going to need some custom scripts to fix that.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.