JessCot Posted April 23, 2022 Posted April 23, 2022 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
tuanphan Posted April 24, 2022 Posted April 24, 2022 Add to Design > Custom CSS /* Instagram embed code fullwidth */ iframe[src*="instagram"] { width: 100% !important; max-width: 100% !important; } JessCot 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
JessCot Posted April 24, 2022 Author Posted April 24, 2022 4 hours ago, tuanphan said: Add to Design > Custom CSS /* Instagram embed code fullwidth */ iframe[src*="instagram"] { width: 100% !important; max-width: 100% !important; } Thank you so much @tuanphan It worked perfectly!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment