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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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.