kdiehn Posted December 4, 2023 Share Posted December 4, 2023 I created a banner video that is 1280x200px. I want it to autoplay and loop. As the default layout for a video is a 16:9 format, it's got way too much vertical negative space at top and bottom. I've seen plenty of tutorials on how to extend the video player to be taller (i.e., bump up the bottom padding in the CSS), I have not seen how to make the player SHORTER. Pass is interactive4546 if you want to view. I did export this video as an animated gif and it looked like garbage. The video is just much cleaner. (It was created in Adobe animate and it's not totally done) As you can see from screenshot, I want to eliminate all the rows above and below the actual video. Also, as long as I'm asking, I only want to apply this viewing rule to this particular video. The ID (I think) is yui_3_17_2_1_1701727301187_423. I have a hard time telling if the id tag ends in 420, 421, 422, or 423 as they are all part of the same section. (Any help there would be great too...) TIA for your help! Kerstin Link to comment
Ziggy Posted December 5, 2023 Share Posted December 5, 2023 Can you share your website URL and this page? kdiehn 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
kdiehn Posted December 5, 2023 Author Share Posted December 5, 2023 gerbil-perch-ly7f.squarespace.com pass: interactive4546 Link to comment
Solution Ziggy Posted December 5, 2023 Solution Share Posted December 5, 2023 Try this Custom CSS and then adjust the video on the page: #block-yui_3_17_2_1_1701724494683_1503 .sqs-native-video .native-video-player { padding-top: 15.625%; } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
kdiehn Posted December 5, 2023 Author Share Posted December 5, 2023 THANK YOU! This worked like a charm 🙂 Link to comment
Ziggy Posted December 5, 2023 Share Posted December 5, 2023 4 hours ago, kdiehn said: THANK YOU! This worked like a charm 🙂 No problem, thanks for marking my post as the solution! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Jaimesteiger Posted May 4 Share Posted May 4 Hi there, I'm having the same issue. My video is more narrow than 16:9. Can you advise where I can add that CSS? My site is: https://paddlefish-sturgeon-az7l.squarespace.com/config/pages Link to comment
tuanphan Posted May 5 Share Posted May 5 16 hours ago, Jaimesteiger said: Hi there, I'm having the same issue. My video is more narrow than 16:9. Can you advise where I can add that CSS? My site is: https://paddlefish-sturgeon-az7l.squarespace.com/config/pages The site is private, you can follow this to share url correct way 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
Jaimesteiger Posted May 10 Share Posted May 10 My site is now public - jaimesteiger.com. I'd love to understand how remove the extra negative space that the site ads so I can have equal spacing between videos and other images. Link to comment
tuanphan Posted May 12 Share Posted May 12 On 5/10/2024 at 10:00 PM, Jaimesteiger said: My site is now public - jaimesteiger.com. I'd love to understand how remove the extra negative space that the site ads so I can have equal spacing between videos and other images. Which space are you referring to? I see space on above footer only 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