Braydenn Posted December 29, 2021 Posted December 29, 2021 I have an image optimized for mobile viewing, however I would like it removed for desktop view. I've attached the image of the section I'd like removed. Could anyone please help me? Thank you.
Beyondspace Posted December 31, 2021 Posted December 31, 2021 On 12/29/2021 at 10:18 PM, Braydenn said: I have an image optimized for mobile viewing, however I would like it removed for desktop view. I've attached the image of the section I'd like removed. Could anyone please help me? Thank you. I think we can implement the Css code with the media query for desktop: @media only screen and (min-width: 1025px) { /*your sectionId { display:none; }*/ } Hope that it make sense BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Braydenn Posted January 1, 2022 Author Posted January 1, 2022 Hi! Thanks for replying to me. However, after adding the code and the section ID into the code, it didn't work. The image is still visible on Desktop view. Here's the exact code I've used: @media only screen and (min-width: 1025px) { /61cdc280503cad145085f1c1 { display:none; }*/ } Please help me to check if I've made a mistake. Thank you so so much, have a happy New Year!!
creedon Posted January 1, 2022 Posted January 1, 2022 It should be something like... @media only screen and ( min-width : 1025px ) { [data-section-id="61cdc280503cad145085f1c1"] { display : none; } } Without being able to see your site we are unable to confirm the code works. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment