jdomw Posted December 7, 2022 Share Posted December 7, 2022 Hi all, Does anyone know how to change the aspect ratio of just one video block? I've managed to change the ratio of all videos with this code: .sqs-native-video .native-video-player { padding-top: 30% !important; } but when I try to direct it at one block (I used #block-83411e5704c79262fddc) it just changes the actual padding and moves the video down the page. Can anyone point out what I'm doing wrong?! I'm trying to change the top video on the page highriselandscapes.org/exhibition-copy to double-widescreen. First screenshot is how it looks now; second one is how I want it to look; third is how the other video on the page goes wrong with the code I tried. Link to comment
Ziggy Posted December 7, 2022 Share Posted December 7, 2022 Can you share your website URL? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
jdomw Posted December 7, 2022 Author Share Posted December 7, 2022 7 minutes ago, Ziggy said: Can you share your website URL? This is the page: https://www.highriselandscapes.org/exhibition-copy Link to comment
Solution Ziggy Posted December 7, 2022 Solution Share Posted December 7, 2022 Try this Custom CSS: section[data-section-id="63909e34884caf2f0c7b2a83"] { .sqs-native-video .native-video-player { padding-top: 30%; } } Let me know if that works! jdomw 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
jdomw Posted December 7, 2022 Author Share Posted December 7, 2022 12 minutes ago, Ziggy said: Try this Custom CSS: section[data-section-id="63909e34884caf2f0c7b2a83"] { .sqs-native-video .native-video-player { padding-top: 30%; } } Let me know if that works! Yep, that's perfect! Thanks so much Ziggy 1 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