Jump to content

Imported code into header now it's always showing

Recommended Posts

Hello!

I tried to inject some code into the header of my worksite to change social icon links...failed it! and now it's always visible in mobile and flashes up briefly in desktop when I load the site. I need to hide this obviously! 

Screen grab below. Any help appreciated-I'm a rookie and I dunno what I did!

IMG_8092C4CA14B4-1.jpeg

Link to comment
  • Replies 1
  • Views 194
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

If you're putting css in a header/footer or page injection point you need to wrap it in <style> </style> tags.
 

<style>
  //Your css here
</style>

 

If you insert the css into to custom css injection point you don't need the style tags. 

I'm Colin Irwin aka silvabokis.  I've been a Squarespace designer & developer since 2013. 
I remember when it was all wild prairies round these here parts. 🐃🤠
Advice I give on here is free, though I may sometimes post an affiliate link or promote something I've written.
That reminds me.. ..you might want to check out my
Squarespace template finder or have a look at my other Squarespace tips
Speaking of tips, 💲I've got a tip jar that you're welcome to throw a few quid into if you think I've helped you. 
If you're looking for a Squarespace developer 
Book a chat or Drop me a line - first meeting is always free  

 

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.