JasminMunich Posted February 7, 2022 Share Posted February 7, 2022 Site URL: https://diedesignwerkstatt.squarespace.com/ Hi there, I have integrated a video on the home page of my site (+ the plugin background video controls) and uploaded a mobile fallback image. I would like the fallback image to always appear on mobile and not play the video on mobile at all. Site is https://diedesignwerkstatt.squarespace.com/, password: test123 Can anyone help here? Thank you! Jasmin Link to comment
tuanphan Posted February 12, 2022 Share Posted February 12, 2022 I answered your email 2 days ago, not sure you received it yet. Here is the code /* Mobile view */ @media screen and (max-width:767px) { /* top video */ [data-section-id="61eeca1c45abed068a17018b"] .content-fill>*:not(img) { display: none; } [data-section-id="61eeca1c45abed068a17018b"] .is-ready { display: none; } [data-section-id="61eeca1c45abed068a17018b"] img { left: -120% !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
JackMacLeod Posted March 25, 2022 Share Posted March 25, 2022 On 2/12/2022 at 4:32 AM, tuanphan said: I answered your email 2 days ago, not sure you received it yet. Here is the code /* Mobile view */ @media screen and (max-width:767px) { /* top video */ [data-section-id="61eeca1c45abed068a17018b"] .content-fill>*:not(img) { display: none; } [data-section-id="61eeca1c45abed068a17018b"] .is-ready { display: none; } [data-section-id="61eeca1c45abed068a17018b"] img { left: -120% !important; } } Hi Tuanphan, I added this code to my CSS and the video dissapeared from mobile but the image did as well. I would like to still display the image in the banner, just not the video. Did I enter the code wrong? I updated the section IDs above with my unique IDs. Link to comment
tuanphan Posted March 26, 2022 Share Posted March 26, 2022 14 hours ago, JackMacLeod said: Hi Tuanphan, I added this code to my CSS and the video dissapeared from mobile but the image did as well. I would like to still display the image in the banner, just not the video. Did I enter the code wrong? I updated the section IDs above with my unique IDs. What is your site url? We can check easier 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
stefanosg Posted October 12, 2022 Share Posted October 12, 2022 got the same problem https://owl-bluebird-et6t.squarespace.com/ password is 1234 I want some of the videos to never play on mobile Link to comment
tuanphan Posted October 15, 2022 Share Posted October 15, 2022 On 10/12/2022 at 5:47 PM, stefanosg said: got the same problem https://owl-bluebird-et6t.squarespace.com/ password is 1234 I want some of the videos to never play on mobile Hi, Which videos on homepage? 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