Jump to content

Mobile Background Size

Go to solution Solved by rwp,

Recommended Posts

  • Solution
<style>
@media only screen and (max-width: 600px) {
  .section-background {
    background-color: black !important;
  }

  .section-background img {
    height: 50vh !important;
    margin-top: 25vh;
  }
}
</style>

Put this in the code injection for the page you want it to work on.

Edited by rwp
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.