Wozza Posted May 19, 2023 Posted May 19, 2023 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?
tuanphan Posted May 22, 2023 Posted May 22, 2023 Hi, Try adding this to Design > Custom CSS .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!)
Wozza Posted May 24, 2023 Author Posted May 24, 2023 This fixes the issue on the desktop, but it causes the mobile version to have a very strange layout.
tuanphan Posted May 25, 2023 Posted May 25, 2023 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment