Jump to content

Consistent background scale no matter the content

Recommended Posts

Site URL: https://hen-crocodile-peh3.squarespace.com/

I'm having an issue with the background image of sections scaling inconsistently. 

Example
https://hen-crocodile-peh3.squarespace.com/tattoo-care

https://hen-crocodile-peh3.squarespace.com/robert-vendemmia

What would be the best CSS to control background image scaling.

NOTE: Section height and width are set to Small Height and Medium Width using the widget on all pages.

Link to comment
  • Replies 1
  • Views 289
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 12/30/2021 at 11:00 PM, ShaneGardner said:

Site URL: https://hen-crocodile-peh3.squarespace.com/

I'm having an issue with the background image of sections scaling inconsistently. 

Example
https://hen-crocodile-peh3.squarespace.com/tattoo-care

https://hen-crocodile-peh3.squarespace.com/robert-vendemmia

What would be the best CSS to control background image scaling.

NOTE: Section height and width are set to Small Height and Medium Width using the widget on all pages.

Try

section[data-section-id="61bd18e1a3027163ac3237bd"]  .section-background img {
  height: auto !important;
}

Let me know how it works

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

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.