Jump to content

a code is visible in the header

Go to solution Solved by Ziggy,

Recommended Posts

Hello everyone!
Maybe someone can help me! A code is visible in the top section. I've attached a screenshot for you. Does anyone have an idea how I can make it invisible again?
Thank you Carmen

Bildschirmfoto 2023-05-02 um 06.26.55.png

Link to comment
  • Solution

It looks like you have added some CSS to the header code injection without telling the browser that it is styling and it is rendering it as text. 

You need to find where that text is, it will either be in Website Settings -> Advanced -> Code Injection OR under Advanced on that page settings.

Then either remove it from there and place in Custom CSS OR wrap the text in <style></style> tags so browsers know that it is styling and not render it as plain text.

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (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.