Jump to content

Please help with a fixed header on the Lange template

Recommended Posts

  • Replies 3
  • Views 295
  • Created
  • Last Reply
On 4/16/2021 at 8:01 PM, graphicabyss said:

Site URL: http://karlmackie.com

Hello, can anyone help? I am trying to make the header on the desktop version of my website stick! as it does for mobile and I am having zero luck!

Much thanks. 

Add to Design > custom CSS

/* sticky header */
header#header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 999;
}

 

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.