Jump to content

7.1 background image won't expand to fit page

Recommended Posts

  • Replies 2
  • Views 310
  • Created
  • Last Reply
11 minutes ago, Brandijoan said:

Site URL: https://www.versionsthebrand.com

Hello,

 I currently have a full bleed background image set as my homepage - it takes up the entire page.

However, I can't get it to expand the same way in the mobile view. 

Thanks in advance!

 

www.versionsthebrand.com

Hi Dear

Please use this snippet in Settings->Design->Custom Css

 

image.thumb.png.5d4f5089151794a37bfa4f9b18ef82c6.png

@media only screen and (max-width: 600px) {
	section[data-section-id="5ef9656ecc68267c5a078fbd"] {
      height: 100vh;
    }
}

 

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

Archived

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.