AllenWroteOn Posted January 18, 2022 Posted January 18, 2022 (edited) Site URL: https://crocodile-terrier-syp9.squarespace.com/video-background EDIT: In case anyone finds this in the future looking for the same solution, here's what I ended up using: section[data-section-id="61dcab2afb782968f35fdb42"]{ iframe{ transform: scale(1.35) !important; } } ORIGINAL QUESTION: I want to use the background video feature in one of my sections. It looks great in full screen on the desktop, but reducing the window size or viewing on mobile adds black bars above and below the video as seen in the sample page images below (or directly at https://crocodile-terrier-syp9.squarespace.com/video-background pw: forum). This bar is NOT part of the video, but some sort of margin or padding added responsively. Is there any way to make sure the video is always 100% of the height of the section (i.e., the height would always be equal to the section height and the width would be cropped)? Edited January 31, 2022 by AllenWroteOn
tuanphan Posted January 19, 2022 Posted January 19, 2022 What is password? 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!)
AllenWroteOn Posted January 19, 2022 Author Posted January 19, 2022 Sorry, I didn't realize there were two passwords. I removed the password from the individual page and the general password for the site is: forum
AllenWroteOn Posted January 21, 2022 Author Posted January 21, 2022 Not sure if topic bumping works/is allowed on here, but I still haven't been able to figure this out. Any help would be much appreciated!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment