Linn-Sofia Posted February 27 Share Posted February 27 Hi everyone! I would like to hide the header image on mobile (and only display the background colour on mobile version to make the text easier to read). I tried some of the examples I found here on the forum, but I can't seem to find the right id for the image? Could someone please help? 🙂 Link to comment
Ziggy Posted February 27 Share Posted February 27 Can you share your website URL? 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
Linn-Sofia Posted February 27 Author Share Posted February 27 (edited) Sorry, I thought I did! It's https://swan-sunfish-y4db.squarespace.com/ Edited February 27 by Linn-Sofia Link to comment
Ziggy Posted February 27 Share Posted February 27 Try this Custom CSS: @media only screen and (max-width:767px) { section[data-section-id="65ccab80de3f6e051a0d2bfe"] { .section-background { display:none; } } } Linn-Sofia 1 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
Linn-Sofia Posted February 27 Author Share Posted February 27 Worked perfectly. Thank you so much!! Ziggy 1 Link to comment
Ziggy Posted February 27 Share Posted February 27 5 hours ago, Linn-Sofia said: Worked perfectly. Thank you so much!! You're welcome! Linn-Sofia 1 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
Linn-Sofia Posted March 26 Author Share Posted March 26 (edited) Unfortunately. I've heard this solution isn't working for everyone. I can't understand why. On some people's iphones it still shows the desktop-image. Does anyone know why and how to fix it? Could the script be blocked somehow? The site is now launched at https://arbetasmart.nu Edited March 26 by Linn-Sofia Link to comment
tuanphan Posted March 29 Share Posted March 29 On 3/26/2024 at 10:51 PM, Linn-Sofia said: Unfortunately. I've heard this solution isn't working for everyone. I can't understand why. On some people's iphones it still shows the desktop-image. Does anyone know why and how to fix it? Could the script be blocked somehow? The site is now launched at https://arbetasmart.nu You can change 767 to 991 and check again Linn-Sofia 1 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
Linn-Sofia Posted April 2 Author Share Posted April 2 Thank you! I tried this but it's still not working on my colleague's iphone. Anything else I can try? Link to comment
Ziggy Posted April 2 Share Posted April 2 Try with !important: @media only screen and (max-width:767px) { section[data-section-id="65ccab80de3f6e051a0d2bfe"] { .section-background { display:none !important; } } } 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
Limedrop Posted April 5 Share Posted April 5 This is only to the section? I need the same help but only to an image. Not section. Link to comment
tuanphan Posted April 7 Share Posted April 7 On 4/5/2024 at 7:16 PM, Limedrop said: This is only to the section? I need the same help but only to an image. Not section. With Image, we can use Block ID, if you share link to page where you use Image, I can give you code 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment