KatieEdieChalk Posted June 24, 2022 Share Posted June 24, 2022 Site URL: https://www.vanitybrothers.com Hello, I have pasted the following custom css to prevent my homepage banner video resizing on mobile. I am left, however, with some padding left and right (see screenshot). Does anyone know how I might remove this in order that the video is full width? The site is vanity brothers.com, password 'vanity'. Thank you, Katie @media screen and (max-width: 640px) { body.homepage .Parallax-item:first-child iframe { width: 100% !important; left: 0 !important; height: auto !important; inset: unset !important; top: 0 !important; height: 200px !important; } body.homepage .Parallax-item:first-child figure.Index-page-image.loaded { transform: unset !important; bottom: 0 !important; height: 200px !important; } section#vanity-brothers-showreel { height: 200px !important; }} Link to comment
tuanphan Posted June 26, 2022 Share Posted June 26, 2022 Edit this code body.homepage .Parallax-item:first-child iframe { width: 100% !important; left: 0 !important; height: auto !important; inset: unset !important; top: 0 !important; height: 200px !important; } to this new code body.homepage .Parallax-item:first-child iframe { width: 100% !important; left: 0 !important; height: auto !important; inset: unset !important; top: 0 !important; height: 200px !important; transform: scale(1.5); } (I added transform scale) 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
KatieEdieChalk Posted June 27, 2022 Author Share Posted June 27, 2022 It's fixed. I am extremely grateful. Thank you. 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