Jump to content

How to disable the small shrink/ grow on the header when you scroll up and down?

Recommended Posts

  • Replies 5
  • Views 461
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add this to your Custom CSS:

.tweak-fixed-header:not(.sqs-edit-mode-active):not(.sqs-site-styles-active) .header.shrink .header-announcement-bar-wrapper {
    padding-top: 1vw !important;
    padding-bottom: 1vw !important;
}

Let me know if that help! Give me a thumbs up if you can, thanks!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
2 hours ago, Ziggy said:

Add this to your Custom CSS:

.tweak-fixed-header:not(.sqs-edit-mode-active):not(.sqs-site-styles-active) .header.shrink .header-announcement-bar-wrapper {
    padding-top: 1vw !important;
    padding-bottom: 1vw !important;
}

Let me know if that help! Give me a thumbs up if you can, thanks!

I edited that css on purpose to 0.75vw to give the user more room to see the content so is there a way to keep it at 0.75vw without the shrink?

Link to comment

Yes, delete the code you added, and change it in the header settings.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • 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.