YumoBennyYang Posted October 3, 2023 Share Posted October 3, 2023 The home page of my website currently has a video as background. What I did was uploading a video asa a block then applying the following css: #block-yui_3_17_2_1_1689789220776_5025{ position: fixed; width: 100vw; height: 100vh; top:50%; left:50%; transform: translate(-50%,-50%); z-index:0; } I want to change the object-fit from "contain" to "cover" so that the video always fills the whole screen, but adding the object-fit line into the chunk above did not solve the problem. Is there another class I need to target? Thank you! Link to comment
Ziggy Posted October 3, 2023 Share Posted October 3, 2023 Can you share your website URL and this page? 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) ☕ Did I help? Buy me a coffee? Link to comment
YumoBennyYang Posted October 3, 2023 Author Share Posted October 3, 2023 1 minute ago, Ziggy said: Can you share your website URL and this page? yumobennyyang.com Thanks! Link to comment
bendthesquare Posted October 16, 2023 Share Posted October 16, 2023 @YumoBennyYang What was your solution? Do you mind sharing? Thank you! Link to comment
tuanphan Posted October 19, 2023 Share Posted October 19, 2023 On 10/17/2023 at 5:22 AM, bendthesquare said: @YumoBennyYang What was your solution? Do you mind sharing? Thank you! If you share link to page where you use video, we can take a look 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
bendthesquare Posted October 23, 2023 Share Posted October 23, 2023 Sure, here you go. Thanks! guava-amphibian-hppt.squarespace.com The password is LindenLeaf Link to comment
tuanphan Posted October 27, 2023 Share Posted October 27, 2023 On 10/23/2023 at 9:52 PM, bendthesquare said: Sure, here you go. Thanks! guava-amphibian-hppt.squarespace.com The password is LindenLeaf I don't see video background & _5025 block on homepage. Can you check it again? 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