michaelgsimpson Posted February 29 Share Posted February 29 (edited) Below is my current code. The point of it is to show a different hero video on desktop vs. mobile. It's working well for many iPhones, except for some iPhone 11 and 12. How do I make sure it will cover all devices? @media screen and (max-width: 641px) { section[data-section-id="65e0094f8b572f1293662a84"] { display:none !important; } } @media screen and (min-width: 641px) { section[data-section-id="65de97151bee7e00c709eef9"] { display:none !important; } } Edited February 29 by michaelgsimpson adding more info Link to comment
Ziggy Posted February 29 Share Posted February 29 If you are on the latest version of Squarespace the mobile breakpoint is 767px not 640px, try using that instead as I'm sure some iPhones can be run at higher screen resolution than 640px wide. 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
michaelgsimpson Posted February 29 Author Share Posted February 29 (edited) Thanks I tried that but I'm still getting issues on iPhone 11 (see attached - the hero video doesn't load) Also attached is what the area is supposed to look like Edited February 29 by michaelgsimpson Link to comment
Ziggy Posted March 1 Share Posted March 1 I have no idea why that system isn't loading your video. Does it work on an IRL device? 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
paul2009 Posted March 1 Share Posted March 1 I'm not sure what your video is supposed to look like, but when I viewed the site on a real iPhone (with low power mode disabled, good battery life and high data rates) it looked like this: Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? 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