pkai Posted January 26, 2023 Share Posted January 26, 2023 Site : www.kaimanbros.com Is there a way to get the homepage video to resize for portrait mode viewing on a mobile device (e.g. iPhone and iPad)? I've reviewed other posts on the same subject but I'm not a coder and I'm not sure if the fixes for other sites is the same for my site. Thanks in advance for any tips. Link to comment
tuanphan Posted January 26, 2023 Share Posted January 26, 2023 Try adding to Design > Custom CSS @media screen and (max-width:900px) { body.homepage div#parallax-images iframe { width: 100% !important; height: auto !important; left: 0 !important; top: 0 !important; } .collection-type-index.first-index-image-fullscreen .title-desc-wrapper.has-main-image.first { min-height: 200px; } } 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
pkai Posted January 30, 2023 Author Share Posted January 30, 2023 Thanks! Your code definitely helped but is there an adjustment I can make to format the video so it fills more of the screen on mobile? The width is great, but the height is off. 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