danielkyne Posted September 23, 2021 Share Posted September 23, 2021 (edited) Site URL: https://opinionx.co I use iframes throughout our Squarespace site to embed interactive product demos, GIFs and videos. On our main landing page (https://opinionx.co), we use an autoplay video with a white background that is intended to blend into the overall site background. For some users, however, Squarespace seems to add a border to 2 of the 4 sides of the iframe. I've tried a few tricks (overflow, frame border) but nothing seems to get rid of it. 4th screenshot is of an embedded stack ranking survey, where the border should all be light grey but that 2 sided dark border pops up again (like on the video iframe). Anyone able to help? Edited September 23, 2021 by danielkyne Link to comment
HoaLT Posted September 23, 2021 Share Posted September 23, 2021 (edited) 1 hour ago, danielkyne said: Site URL: https://opinionx.co I use iframes throughout our Squarespace site to embed interactive product demos, GIFs and videos. On our main landing page (https://opinionx.co), we use an autoplay video with a white background that is intended to blend into the overall site background. For some users, however, Squarespace seems to add a border to 2 of the 4 sides of the iframe. I've tried a few tricks (overflow, frame border) but nothing seems to get rid of it. 4th screenshot is of an embedded stack ranking survey, where the border should all be light grey but that 2 sided dark border pops up again (like on the video iframe). Anyone able to help? you can customize some Css codes in Design > Custom Css Hope it is helpful for you! .w-video-wrapper { background-color: transparent !important; } Edited September 23, 2021 by HoaLT Press 👍 or mark my comment as solution if you find my sharing useful 🆒 Squarespace pinchzoom lightbox plugin (affiliate link) 👁🗨 360 degree photo viewer (affiliate link) Link to comment
danielkyne Posted September 23, 2021 Author Share Posted September 23, 2021 27 minutes ago, HoaLT said: .w-video-wrapper { background-color: transparent !important; } Considering this is an iframe rather than a video embed block from Squarespace, I don't see why that would work? I've tried the same CSS with a few different .tags, such as .iframe and .wistia_responsive_wrapper (as that is what the div is called in this case) but none make any difference. Link to comment
HoaLT Posted September 23, 2021 Share Posted September 23, 2021 6 minutes ago, danielkyne said: Considering this is an iframe rather than a video embed block from Squarespace, I don't see why that would work? I've tried the same CSS with a few different .tags, such as .iframe and .wistia_responsive_wrapper (as that is what the div is called in this case) but none make any difference. Does it work for you? you mean that you are not clear about the way Css code fix your problem? Press 👍 or mark my comment as solution if you find my sharing useful 🆒 Squarespace pinchzoom lightbox plugin (affiliate link) 👁🗨 360 degree photo viewer (affiliate link) 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