Jump to content

Injection code appears above header?

Recommended Posts

Hi, I'm trying to use code injection with CSS code for a single page to change a font for an item on that page. When I add the code through the page's Settings/Advanced and save it, the actual code appears in a white area above the existing banner, on both the configuration site and the live site. Template is Bedford, and supposedly my site was grandfathered in to allow code injection. (I've since removed the code.) Thanks.

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

If you add code via Code injection, you got to wrap it in html tags like so 

<style>
	/* Paste your snippet here */
</style>

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.