Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
charlesstemen

How do I disable product image cropping on Mobile?

Recommended Posts

Site URL: https://art.charlesstemen.com/

I'm selling photo prints.

On mobile my product images are being cropped on the store, product, and fullscreen preview page in a way where the user will never see the full product. Making white bars on the images that get cropped or putting an duplicate image into the additional info were suggestions I got from Squarespage support - so clunky haha, not what I am looking for... I get and am ok with the cropping on the store / product page, but it seems crazy to me that the fullscreen image would be cropped and not just responsively fit any size image to the width of the screen.

Whats frustrating is that if I switch from desktop to mobile while in the fullscreen image preview, it shows the image uncropped! So I can see it how I want it! But does not do this ever when on mobile/clicking into fullscreen preview from mobile, so not very helpful.

Is there some CSS I can add to remove image cropping on mobile/tablets for the fullscreen preview and potentially the product detail page entirely? Alternating between slideshow/stacked/carousel does not affect mobile appearance, and not seeing any other changes within Squarespace that would address this.  

Ive seen some other threads with similar topics, so maybe this is a lost cause..

Screen Shot 2020-05-19 at 4.27.41 PM.png

Screen Shot 2020-05-19 at 4.31.55 PM.png

Share this post


Link to post

It seems you solved with CSS?


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
On 5/21/2020 at 7:13 AM, tuanphan said:

It seems you solved with CSS?

I did solve with CSS eventually, yes. 

 

On 5/22/2020 at 4:25 AM, Argenis said:

May I ask, are you printing the art yourself or using an online service? Thanks a bunch!

I am using an online service.

Share this post


Link to post
5 hours ago, Aerdon said:

Can you please share the CSS you used to solve this?  Thanks!

I see this CSS in above site

@media screen and (max-width: 767px) {
    .tweak-product-basic-item-gallery-aspect-ratio-11-square .ProductItem-gallery-slides:before {
        padding-bottom:0
    }

    .ProductItem-gallery-slides-item {
        position: static;
        height: auto;
        overflow: initial
    }

    .ProductItem-gallery-slides-item.selected .ProductItem-gallery-slides-item-image {
        left: 0 !important;
        top: 0 !important;
        width: auto !important;
        height: auto !important;
        max-width: 100%
    }
}

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...