Jump to content

Remove Homepage Image on Mobile Version only

Recommended Posts

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? 

Link to comment
  • 2 weeks later...
  • 9 months later...

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;
}}

 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.