MCZ558 Posted May 16 Share Posted May 16 (edited) I have an iFrame which is sticking to the rest of the site margin rules. I've tried taking some of the code injection in the forum but it's not budging. I need the iFrame to not overflow on the right hand side because it's being pushed on the left. https://poodle-megalodon-yxr7.squarespace.com/subscribe Password: WWIframe!aM Edited May 16 by MCZ558 adding url Link to comment
Solution Ziggy Posted May 16 Solution Share Posted May 16 The site margin on you website on mobile is 6vw, your iframe width is set to 100vw so you get an overflow, you could change the width to 100vw-6vw-6vw i.e. 88vw to accommodate the margins. 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
MCZ558 Posted May 16 Author Share Posted May 16 Thank you so much! I was playing around with the Squarespace code so much I couldn't see how it wouldn't change. Turns out it's the iframe itself! Ziggy 1 Link to comment
Ziggy Posted May 16 Share Posted May 16 19 minutes ago, MCZ558 said: Turns out it's the iframe itself! Yes, iFrames are often the problem in these cases since they don't respond to your website like other blocks. 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
MCZ558 Posted June 3 Author Share Posted June 3 I am back with a further question. Unfortunately changing the margins on the iFrame itself breaks the iFrame. Is there a way to remove the margin on the page? I can't find a way to do it. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment