Jump to content

Remove White Space from Above Header

Go to solution Solved by Ziggy,

Recommended Posts

Hey,

I'm looking to remove the white space as shown (highlighted in red), it wasn't there before but it has appeared on all pages.

image.thumb.png.571370de480333e4f027faa8f7e10e31.png

I know it's probably a really basic issue but would someone be able to help me remove this?

Update: I know it's something to do with the Google Analytics Header but not sure how to hide it.

Many thanks.

Edited by Cinthetic
Link to comment
  • Solution
17 minutes ago, Cinthetic said:

Update: I know it's something to do with the Google Analytics Header but not sure how to hide it.

Correct, it's because you have plain text in the header code injection:

image.png.336a06f098898cd0aa8031ee6821a787.png

Remove this line as it's plain text that the browser is rendering:

// Global site tag (gtag.js) - Google Analytics

You can't comment out in this way within code injection.

Edited by Ziggy

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
13 minutes ago, Cinthetic said:

I knew it was right under my nose just couldn't see it!

No worries! It would have been easier to identify if the text colour didn't match the background!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.