Jump to content

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

Recommended Posts

  • Replies 5
  • 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 
🔌
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (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
On 1/26/2023 at 5:58 AM, Ziggy said:

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

The problem is that I want the header to be the custom size that I set it to. I don't want to delete the code. I just want it to stay the size that its set at.

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.