Jump to content

Embedded Instagram Post (via code) Full Width of Content Block

Recommended Posts

Site URL: https://www.theindependentlist.com/blog/blog-post-title-one-33gw8

Hi, I am wanting to embed instagram posts into my blog posts. I have used the code functionality by using the code created from the embed code of an instagram post. 

How do I get the post to full the full width of the content block or at least if this is not possible how to centre it. 

I have tried using the section id and setting width to 100% or margins at 0 but not having much luck. 

Thanks. Password: TIL2022

Screenshot 2022-04-23 at 14.53.32.png

Link to comment

Add to Design > Custom CSS

/* Instagram embed code fullwidth */
iframe[src*="instagram"] {
    width: 100% !important;
    max-width: 100% !important;
}

 

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.