Jimmy-smarlling Posted December 27, 2023 Share Posted December 27, 2023 Hi guys, I'm currently working on my website's home page, and I'm having a bit of trouble achieving a consistent full-width video display on both desktop and mobile views for the main hero's banner. On desktop, the video looks great, but on mobile, it doesn't seem to stretch to the full width. I was wondering if anyone has experience with this and could offer some advice or guidance on how to ensure the video maintains its full width on both desktop and mobile views. Appreciate any help or insights you can provide. Thank you in advance! Here is the link to the website: https://www.harbourresidence.com/ Link to comment
tuanphan Posted December 29, 2023 Share Posted December 29, 2023 You can add this code to Website Tools (under Not Linked/Hidden) > Custom CSS to resize video on mobile @media screen and (max-width:767px) { [data-section-id="656ecc9a48461b5c3450f067"] { min-height: unset !important; height: 30vh; margin-top: 15vh; } } 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!) 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