Jump to content

How do I remove the hero image on mobile from my home page?

Go to solution Solved by creedon,

Recommended Posts

  • Solution

Add the following to Design > Custom CSS.

@media screen and ( max-width: 767px ) {

  [data-section-id="5f5e8390d7bf523730ec3fc7"] .section-background {
  
    display: none;
    
    }
    
  }

Alternately you can put the code in Page Settings > Advanced > Page Header Code Injection for the page.
 

<style>

  @media screen and ( max-width: 767px ) {
  
    [data-section-id="5f5e8390d7bf523730ec3fc7"] .section-background {
    
      display: none;
      
      }
      
    }
    
  </style>

Let us know how it goes.

Edited by creedon
version 2

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

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.