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
  • 3 months later...
On 9/26/2020 at 5:21 AM, neilaustin said:

This did work great but was very drastic. Is there a way to reduce the padding but not to 0? @tuanphan

edit 0 to 5px

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 year later...
On 1/5/2022 at 5:04 AM, scottsoeder said:

Didn't work for me, there's still some padding. I can't seem to remove it. 

Screen Shot 2022-01-04 at 5.03.48 PM.png

What is your site url?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 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
On 1/4/2023 at 5:01 AM, TLCDesign said:

How can I apply this to mobile version only?

Use this new code

@media screen and (max-width:767px) {
.header-announcement-bar-wrapper {
    padding-top: 0 !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 2 months later...

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;
Edited by Buntake
Link to comment
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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.