Jump to content

Replace background on mobile view

Recommended Posts

  • Replies 1
  • Views 305
  • Created
  • Last Reply
2 hours ago, folkwisepr said:

Site URL: http://folkwisepr.com

The image I am using for my site background fits when viewing it in Desktop mode, but most of it is cut off when viewing in Mobile mode. Is there a way I can hide the background and display only a solid color in Mobile view only. Does this require customer CSS? If so, could someone please provide that?

Website: folkwisepr.com

Screen Shot 2021-04-10 at 5.09.46 PM.png

Screen Shot 2021-04-10 at 5.11.59 PM.png


@media only screen and (max-width: 640px) {
    section[data-section-id="6005a662b66f945334845a0b"] .section-background img {
      opacity: 0;
    .light .section-background-overlay {
        background-color: #d2def9;
      opacity: 1 !important;


BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!


Link to comment


This topic is now archived and is closed to further replies.

  • 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.