Jump to content

How to make custom iframe header ONLY show on home page?

Recommended Posts

I am looking to have my embedded iframe header ONLY appear on my home page. Does anyone know the code to have this done? Here is my current code:

<iframe 
width="100%" height="100%"
        src="https://xd.adobe.com/embed/a42b60e7-298c-4428-a8a6-c8b95f04e482-f178/" frameborder="0" allowfullscreen>
</iframe>

 

Here is my website url: https://www.nikecba.com

Thank you!!

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

Top Posters In This Topic

Popular Days

Top Posters In This Topic

You should add it to the Page header code injection (via the page settings) rather than the global header code injection.

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.