minnieosc123 Posted November 30, 2022 Share Posted November 30, 2022 Hi, I want to have a different image on mobile as the space between the content on the homepage banner and the menu on mobile is too large (alwaysajt.com) I'm happy with how it looks on desktop. Thanks Jessica Link to comment
Beyondspace Posted November 30, 2022 Share Posted November 30, 2022 (edited) 16 minutes ago, minnieosc123 said: Hi, I want to have a different image on mobile as the space between the content on the homepage banner and the menu on mobile is too large (alwaysajt.com) I'm happy with how it looks on desktop. Thanks Jessica We can add 2 sections/images and use css code to hide the appropriate element based on the media query of device. You can add 1 more and share the direct link to this page so I can give the css code Edited November 30, 2022 by Beyondspace Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
minnieosc123 Posted November 30, 2022 Author Share Posted November 30, 2022 37 minutes ago, Beyondspace said: We can add 2 sections/images and use css code to hide the appropriate element based on the media query of device. You can add 1 more and share the direct link to this page so I can give the css code Thanks, yes please. It's alwaysajt.com Link to comment
minnieosc123 Posted December 6, 2022 Author Share Posted December 6, 2022 On 11/30/2022 at 9:07 PM, Beyondspace said: We can add 2 sections/images and use css code to hide the appropriate element based on the media query of device. You can add 1 more and share the direct link to this page so I can give the css code Thank you. I've added the extra pic on the homepage for mobile. So the 2nd image is for mobile. its alwaysajt.com Link to comment
tuanphan Posted December 10, 2022 Share Posted December 10, 2022 On 12/6/2022 at 6:12 PM, minnieosc123 said: Thank you. I've added the extra pic on the homepage for mobile. So the 2nd image is for mobile. its alwaysajt.com Add to Design > Custom CSS /* Hide second image on desktop */ @media screen and (min-width:768px) { [data-section-id="638f231256b39b511b209bfa"] { display: none; } } /* hide top image on mobile */ @media screen and (max-width:767px) { [data-section-id="633c240afe2c8c221626920e"] { display: none; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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