nwaldinger Posted September 14, 2022 Share Posted September 14, 2022 Site URL: https://www.nickwaldinger.com/branding Hello, I have several videos being used on my website (linked from Vimeo), but they don't line up flush with pictures above and below them (see screenshot attached). I would like to adjust the padding on all sides of the video to match the pictures above and below it. Here is a link to the page I am referring to specifically: https://www.nickwaldinger.com/branding Thank you! Link to comment
Solution tuanphan Posted September 16, 2022 Solution Share Posted September 16, 2022 Hi, Add this code to Design > Custom CSS div.video-block { padding-left: 0 !important; padding-right: 0 !important; } 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
nwaldinger Posted September 16, 2022 Author Share Posted September 16, 2022 @tuanphan Worked perfectly, thank you! Link to comment
KatieSSHelp Posted November 21, 2023 Share Posted November 21, 2023 Hi, I'm having a similar problem where I'm getting too much padding below a vimeo video. Here is the link, could you please let me know what I could do fix it? https://www.learnaslead.com/home-3 Thanks so much! Link to comment
tuanphan Posted November 24, 2023 Share Posted November 24, 2023 On 11/21/2023 at 11:14 AM, KatieSSHelp said: Hi, I'm having a similar problem where I'm getting too much padding below a vimeo video. Here is the link, could you please let me know what I could do fix it? https://www.learnaslead.com/home-3 Thanks so much! Try adding this code to Website > Website Tools (under Not Linked) > Custom CSS /* Vimeo padding */ .fe-655c288c15482d39e3555851 { grid-template-rows: repeat(23,minmax(calc(~"var(--container-width) * var(--row-height-scaling-factor)"), auto)) !important; } 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
KatieSSHelp Posted November 24, 2023 Share Posted November 24, 2023 @tuanphan Worked like a charm! Thanks so much for your help! Link to comment
KamilaHypnar Posted April 16 Share Posted April 16 I have the same problem and these are the codes that i used. In the other video's it works, but in this specific video block it won't let me adjust the padding. Link to comment
maboli Posted July 4 Share Posted July 4 (edited) Hi, I want to have no padding around my video, I have tried the above but it doesn't seem to work. I would also like to align the 'Email Address ' text on the Newsletter in the footer to the left of the field? https://helicon-cardioid-tcx8.squarespace.com/about studionh_ap Edited July 4 by maboli Link to comment
tuanphan Posted July 5 Share Posted July 5 22 hours ago, maboli said: Hi, I want to have no padding around my video, I have tried the above but it doesn't seem to work. I would also like to align the 'Email Address ' text on the Newsletter in the footer to the left of the field? https://helicon-cardioid-tcx8.squarespace.com/about studionh_ap You can use this code to Custom CSS footer.sections input.newsletter-form-field-element { padding-left: 0px !important; } 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
maboli Posted July 9 Share Posted July 9 (edited) Thank you, do you have a solution for the video padding at the top and bottom, I have found some old code for the width now. Edited July 9 by maboli Link to comment
tuanphan Posted July 12 Share Posted July 12 On 7/9/2024 at 11:37 PM, maboli said: Thank you, do you have a solution for the video padding at the top and bottom, I have found some old code for the width now. I don't see video now. Can you check it again? https://helicon-cardioid-tcx8.squarespace.com/about 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
tuanphan Posted July 15 Share Posted July 15 studionh_ap https://helicon-cardioid-tcx8.squarespace.com/about Try this CSS code div#block-yui_3_17_2_1_1720091637227_2175 video { object-fit: cover !important; } 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
KBrandStudio Posted July 19 Share Posted July 19 I'm having similar issues here. I don't want any padding (right and left) around my video and I've tried all sorts of code to fix but it just ends up showing at the top of the page and not changing the video margin/padding. Please help! Thank you. https://www.clarethibeau.com/services I tried this: div#block-yui_3_17_2_1_1718914272022_36865 { padding-left: 0 !important; padding-right: 0 !important; } Link to comment
tuanphan Posted July 20 Share Posted July 20 15 hours ago, KBrandStudio said: I'm having similar issues here. I don't want any padding (right and left) around my video and I've tried all sorts of code to fix but it just ends up showing at the top of the page and not changing the video margin/padding. Please help! Thank you. https://www.clarethibeau.com/services I tried this: div#block-yui_3_17_2_1_1718914272022_36865 { padding-left: 0 !important; padding-right: 0 !important; } Try this CSS code div#block-yui_3_17_2_1_1718914272022_36865 video { object-fit: cover !important; } 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
KBrandStudio Posted July 24 Share Posted July 24 (edited) Thank you @tuanphan. I put that code in and it ended up making the video really wide but cropped (video is in iPhone proportions). You can see the video here: https://www.clarethibeau.com/services. See the attached image for the blue area that's around the video. I'd rather have it just fit to the video because then on mobile I can make it bigger. Thanks! Edited July 24 by KBrandStudio Link to comment
tuanphan Posted July 26 Share Posted July 26 On 7/25/2024 at 1:58 AM, KBrandStudio said: Thank you @tuanphan. I put that code in and it ended up making the video really wide but cropped (video is in iPhone proportions). You can see the video here: https://www.clarethibeau.com/services. See the attached image for the blue area that's around the video. I'd rather have it just fit to the video because then on mobile I can make it bigger. Thanks! So you want video fit in blue area, but on desktop 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
KBrandStudio Posted July 29 Share Posted July 29 (edited) Thank you @tuanphan. I'm hoping that the blue area will just fit to the video vs. expanding out past the video. Edited July 30 by KBrandStudio Link to comment
KBrandStudio Posted August 13 Share Posted August 13 @tuanphan or anyone that would be able to clarify this. My client wants zero padding around the video and squarespace is automatically putting a lot of padding on right and left and I can't scale the video up on mobile because of this. My client is also wondering if we can crop vertically on the video so that it isn't so tall. Thanks for any help! I'm really needing to figure this out :). 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