Napalm Posted May 29, 2022 Share Posted May 29, 2022 Site URL: http://www.nathanpalm.com Hi, I'm having trouble with the video cropping on the mobile version. Is it possible to make the video smaller (it's too vertical and larger than I'd prefer) while also maintaining its original aspect ratio to avoid this really cropped in look? site: nathanpalm.com pw: test Thanks! Link to comment
Web_Solutions Posted May 30, 2022 Share Posted May 30, 2022 Add the Code on Design > Custom CSS @media(max-width: 767px) { #montage{ min-height: 40vh !important; } } Create_Job and Ainul 2 If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible. Link to comment
Napalm Posted May 30, 2022 Author Share Posted May 30, 2022 @Web_Solutions Thanks! The video size looks much better but the video continues to crop even further in. Is there a way to get it back to its original picture without the crop while remaining at this size? Link to comment
tuanphan Posted June 1, 2022 Share Posted June 1, 2022 On 5/30/2022 at 11:07 PM, Napalm said: @Web_Solutions Thanks! The video size looks much better but the video continues to crop even further in. Is there a way to get it back to its original picture without the crop while remaining at this size? Edit this code @media screen and (max-width: 640px) { body.homepage .Parallax-item:first-child iframe { width:100% !important; height: 100% !important; left: 0 !important } body.homepage .Parallax-item:first-child figure { transform: unset !important; bottom: 0 !important; } } to this @media screen and (max-width: 640px) { body.homepage .Parallax-item:first-child iframe { width:100% !important; height: 100% !important; left: 0 !important; } body.homepage .Parallax-item:first-child figure { transform: unset !important; bottom: 0 !important; } section#montage { min-height: 25vh !important; } } Then save & reload the site 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