Jump to content

Images cropped on mobile

Recommended Posts

On 6/10/2022 at 2:12 PM, Matteo_Ale said:

I noticed it does but the image is loaded, there must be something wrong with the way it should be displayed and I can't manage to understand what...

You try contacting SS Customer Care for this. Then when you fixed it, we will check crop problem

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!)

Link to comment
  • 4 weeks later...
  • Replies 37
  • Views 3.7k
  • Created
  • Last Reply

Top Posters In This Topic

On 6/13/2022 at 1:24 AM, tuanphan said:

You try contacting SS Customer Care for this. Then when you fixed it, we will check crop problem

I am redoing the whole website on SS7.1, I still have the same problem and the code you provided before no longer works.

On laptop this is what I see:

image.thumb.png.6b602569260efa0caf0e9145f40fd452.png

on mobile it becomes:

image.thumb.png.e4d69cbf18a2366a531c5a489f7ee9fa.png

Ideally I'd like the whole image to be visible on mobile as well.

How can I achieve it? I tried putting the code you povided before in the Design/Custom CSS but it doesn't work

Link to comment
18 hours ago, Matteo_Ale said:

I am redoing the whole website on SS7.1, I still have the same problem and the code you provided before no longer works.

On laptop this is what I see:

image.thumb.png.6b602569260efa0caf0e9145f40fd452.png

on mobile it becomes:

image.thumb.png.e4d69cbf18a2366a531c5a489f7ee9fa.png

Ideally I'd like the whole image to be visible on mobile as well.

How can I achieve it? I tried putting the code you povided before in the Design/Custom CSS but it doesn't work

It looks like you solved?

https://spaceverbania.com/

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!)

Link to comment
4 minutes ago, tuanphan said:

It looks like you solved?

https://spaceverbania.com/

I haven't actually.

It's because the new website isn't published yet.

What you are seeing if you go to that url is the old website where the code you provided does work, in the new 7,1 setup I can't manage and I see what I posted in my previous message.

Any way you can help?

can I DM you the url of the unpublished website with the viewer password?

Thanks a lot

 

Link to comment
6 hours ago, Matteo_Ale said:

I haven't actually.

It's because the new website isn't published yet.

What you are seeing if you go to that url is the old website where the code you provided does work, in the new 7,1 setup I can't manage and I see what I posted in my previous message.

Any way you can help?

can I DM you the url of the unpublished website with the viewer password?

Thanks a lot

 

Add to Design > Custom CSS

@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="62c43ea8bc5b851400758cf5"] ul {
    min-height: unset !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!)

Link to comment
On 7/8/2022 at 4:12 PM, tuanphan said:

Add to Design > Custom CSS

@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="62c43ea8bc5b851400758cf5"] ul {
    min-height: unset !important;
}
}

 

Much better but there still is a bit of cropping on the sides, any chance of fixing that as well?

image.png.f7588de1915b47c6f6a68a9217bb0a4c.png

Link to comment
  • 2 weeks later...
15 hours ago, Matteo_Ale said:

Hi @tuanphan

 

Did you see my DM?

In any case the new website is now live on the old address (www.spaceverbania.com).

On mobile, and some screen ratios/def on desktop, the images are still a bit cropped...

How can I fix it?

 

Thanks

Matteo

Hi. Try this new code

@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="62c43ea8bc5b851400758cf5"] ul {
    min-height: unset !important;
}
.user-items-list-item-container[data-section-id="62c43ea8bc5b851400758cf5"] 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!)

Link to comment
On 7/30/2022 at 4:21 AM, tuanphan said:

Hi. Try this new code

@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="62c43ea8bc5b851400758cf5"] ul {
    min-height: unset !important;
}
.user-items-list-item-container[data-section-id="62c43ea8bc5b851400758cf5"] img {
    object-fit: contain !important;
}
}

 

Now it's perfect, thanks a lot!

Link to comment
  • 11 months later...
On 7/20/2023 at 12:02 AM, Evgeniy said:

@tuanphan I'm having the same issue on my website. I have a gallery of 16:9 images that crop heavily in mobile view.  I tried the code that you posted above but it doesn't work for me.

Hi,

Can you share link to page where you use gallery?

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!)

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.