Jump to content

How do you add custom code to the body of an index page?

Recommended Posts

Site URL: https://concure.squarespace.com/learn-more-about-concure-oncology

Hi all,

I have an unliked page that is public but not accessible through my main site (i.e. does not appear on the navigation bar). I would like to add code to the <body> of this page but the only option for code injection (Settings > Advanced > Code injection) only adds code to the header (<head> tag) of the page. The code I would like to add is meant to be specifically added to the body of the page but I have not found a way to do this yet. The pages on my main site, however, do allow for this through Settings > Advanced > Code Injection > Footer. Would the code added here also be included into all pages on my site? Even those that are not linked? If so, that would resolve my issue but I have not been able to confirm this yet. 

Thank you in advance. 

 

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

If you want to add code to One Page, you can add to Page Settings > Advanced > Header

or

Insert Code Block > Paste your code

--

If your code is HTML, you can add to Code Injection Footer, then use CSS to remove on all pages, exclude Learn more about... page

Edited by tuanphan

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.