Jump to content

Does anyone know how to make header fixed for the Pedro template?

Recommended Posts

  • Replies 1
  • Views 537
  • Created
  • Last Reply

@kamilrolda Add to Home > Design > Custom CSS


/* Desktop */
.Header {
   position: fixed !important;
   top: 0;
   left: 0;
   right: 0;
   z-index: 999;
}
/* Mobile */
.Mobile.loaded {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 999;
}

Reference: https://beaverhero.com/pedro-template-squarespace/#Sticky_Header

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.