Jump to content

Changing header height

Recommended Posts

  • 6 months later...
  • 10 months later...
  • 10 months later...
On 10/3/2020 at 12:23 PM, IXStudio said:

Hi

Use this code in Design -> Custom CSS

.tweak-fixed-header .header .header-announcement-bar-wrapper {
    padding-top: 0vw !important;
    padding-bottom: 0vw !important;
}

Please use the like button if it helps you!

Best,
Leopold

Is there anyway to activate this only after scroll (for scrollback headers). 

I need the padding at the top of the page, but after logo gets replaced with a smaller one after scroll I'd like to change CSS to this?

✦✦
Co-founder Hundred Studio 👋

Link to comment
On 1/11/2023 at 7:21 PM, CraigN said:

Is there anyway to activate this only after scroll (for scrollback headers). 

I need the padding at the top of the page, but after logo gets replaced with a smaller one after scroll I'd like to change CSS to this?

Try add this class name

.shrink .header .header-announcement-bar-wrapper {
    padding-top: 0vw !important;
    padding-bottom: 0vw !important;
}

 

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

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.