rtourville Posted September 8, 2022 Share Posted September 8, 2022 Site URL: https://www.caseygatesrolfing.com/rolfing-modalities Can I get help creating a snippet to have unique images on the mobile version of the website and desktop version? https://www.caseygatesrolfing.com/rolfing-modalities First image block is for mobile, the second image block is for desktop. Thank you! Link to comment
Ziggy Posted September 8, 2022 Share Posted September 8, 2022 You can use a media query to hide and display different image blocks on mobile/desktop, something like this: // Blocks to hide on desktop @media only screen and (min-width:750px) { #block-yui_3_17_2_1_1662597656415_29097 { display:none; } } // Blocks to hide on mobile @media only screen and (max-width:750px) { #block-yui_3_17_2_1_1661988335368_69640 { display:none; } } Add new block IDs separated with commas as you need more instances. 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? 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