Jump to content

Removed Header But Left with Padding

Recommended Posts

Site URL: https://www.polyesterzine.com/

Hi!

I've made a page on the site to used instead of Linktree - http://polyesterzine.com/links - and used a header injection code from here - https://christyprice.com/blog/a-linktree-alternative-for-squarespace-users to remove the header and footer from the page, but on mobile it is leaving a massive gap at the top of the page.

Attached a screenshot of what I mean!

Is there a header injection code I can use to remove this? 

Thanks so much!

Gina

IMG_4090.PNG

Link to comment
  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

It looks like there's a margin at the top of the page of 75px, that's pretty straightforward to fix, add this to your Custom CSS, and if 0px makes it too crowded at the top, then you can just increase the pixels to suit your design: 

main {
    margin-top: 0px;
}

Let me know if this works for you!

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

Link to comment
On 9/22/2022 at 11:16 PM, PolyesterZine said:

Hey!  I need that across the other parts of the site so a header injection code just for this page is what I need preferably x 

Did you solve or still need help?

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
18 hours ago, PolyesterZine said:

Still need help please 🙂

Above code doesn't work or?

If you need code run on 1 page, you can add this code to Page Header

<style>
  main {
    margin-top: 0px;
}
</style>

 

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.