supersizesocial Posted October 30, 2022 Posted October 30, 2022 Can someone help me to input a code that removes an image from my homepage, but only for mobile version. Check my homepage: supersizesocial.com The first thing you see at the top is our big logo next to the website title / subtitle. This is just a simple image block next to a text block. The image is our logo. It looks great on desktop but on mobile the logo appears underneath the text and doesn't look very good. I think it's best to just remove this logo image on mobile version all together. Can someone provide code on how to do this? When I try to remove it on the mobile version editor, it removes it on both mobile and desktop. Am I doing something wrong?
tuanphan Posted November 4, 2022 Posted November 4, 2022 Add to Design > Custom CSS /* remove image on mobile */ @media screen and (max-width:767px) { div#block-dbbedb097b64bf313fc6 { display: none; } } 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!)
supersizesocial Posted November 16, 2022 Author Posted November 16, 2022 This worked, thanks so much!
CMDesign_RidgeMeadows Posted September 15, 2023 Posted September 15, 2023 Hi there! I tried out this solution and it almost fully worked for me, the issue is that it leaves a big blank space where the photo would be on the mobile view - any suggestions on how to get rid of the blank space too? webpage I am doing this on is: https://www.handleandhone.com/website-copy-audits
tuanphan Posted September 18, 2023 Posted September 18, 2023 You can use this new code @media screen and (max-width:767px) { .fe-block-64e64b84bc41e5560ef18f0f { display: none !important; } .fe-64e64b8401b3833ac9779d8f { grid-template-rows: repeat(7,minmax(24px, auto)) !important; }} CMDesign_RidgeMeadows 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment