Jump to content

Removing top padding in header 7.1

Recommended Posts

Site URL: https://ranunculus-lute-s68s.squarespace.com/

Hello!

Can someone please help me to remove the top padding of the header on my website?

I want the black of the logo to bleed off the top edge of the page. I've attached a screenshot to visually explain it.

Website: https://ranunculus-lute-s68s.squarespace.com/

Password: hellohello

This website will just be on a personal plan, so ideally I would just like some CSS to make this adjustment.

Thanks!

Screen Shot 2020-06-10 at 8.17.36 PM.png

Link to comment
24 minutes ago, tuanphan said:

Add to Home > Design > Custom CSS


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

 

Amazing!!! Thank you so much, that worked a treat.

And that was such a quick response. Thanks again!

Link to comment
  • 3 months later...
6 hours ago, kiiana said:

i used the code to remove the padding and it worked, but i still think there is too much space between the top of the page and the header. is there a way to make it even less than 0?

Can you share page url? We can check easier

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
4 hours ago, kiiana said:

I'd like the logo to be as close to the browser window as possible.  I used the code to remove padding and it worked, but I still would like to move the logo up higher.

Screen Shot 2020-10-03 at 10.38.46 AM.png

Can you share site url? We can check easier.

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
  • 1 year later...
  • 6 months later...
  • 5 months later...
On 6/10/2020 at 9:22 AM, tuanphan said:

Add to Home > Design > Custom CSS

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

 

How can I apply this to mobile version only?

Link to comment
  • 2 months later...
18 hours ago, jengossman said:

This code works but I still think there is too much whitespace.  I used 

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

 

Is there a way to take more out?

Screenshot 2023-03-07 at 8.18.51 AM.png

You should check logo again. I guess logo has some space inside

5 hours ago, Buntake said:

What would be the code to remove space from the bottom of the header?  Would this work?

 

.header-announcement-bar-wrapper {
    padding-bottom: 0 !important;

Use this

.header-announcement-bar-wrapper {
    padding-bottom: 0 !important;
	padding-top: 0 !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.