Jump to content

Containing section background image

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://www.davisandcointeriors.com.au/full-interior-service

Hi All,

I'm building a website in 7.1 and I'm struggling to contain a section background image OR find a more appropriate solution.

As you can see from the attached image, the items in the image are on the sides.  When viewed on smaller screens, rather than the image being scaled down, the image crops to the point where the items are no longer visible.  This is clearly not what the client wants.  I've tried added custom CSS, but it's just not doing anything.  

 

image.thumb.png.0d4ae20c6ab97111c9c567b9d8d252b3.png

 

Any help would be greatly appreciated.

EN

Link to comment
  • 2 weeks later...
  • Solution

 Hi,

Try adding to Home > design > Custom CSS

@media screen and (max-width:767px) {
[data-section-id="5ec8e536ad76516658cabba2"] .section-background img {
    object-fit: unset !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.