Jump to content

Images don't fit the slider.

Recommended Posts

Posted

The slider on my home page is quite large, but for some reason one of the files doesn't crop well, and cuts the top off. 

warners-stores.co.uk 

It's the one that plays 2nd in the slide show - 'Special Offers'. Please can you advise how I can this to show correctly? 

image.thumb.png.d76f395bd902a3972f1be130eb72d8b1.png

  • Replies 3
  • Views 464
  • Created
  • Last Reply

Top Posters In This Topic

Posted

This fixes the issue oimage.thumb.png.bfed6270c4198552a111ed8775346a8b.pngn the desktop, but it causes the mobile version to have a very strange layout. 

Posted
On 5/22/2023 at 1:35 PM, tuanphan said:

Hi,

Try adding this to Design > Custom CSS

.user-items-list-item-container[data-section-id="60dde22e324b715e6ee4b124"] img {
    object-fit: contain !important;
}

 

Change to this code

@media screen and (min-width:992px) {
.user-items-list-item-container[data-section-id="60dde22e324b715e6ee4b124"] img {
    object-fit: contain !important;
}
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.