How can I resize the product image on my product page?

Hi ,thanks a lot in advance for trying to help mw..Please give me some good advices..,look on the photo I attach there, the image of the product on product page start it is too big ,I mean you dont see title ,price,nothing, i want it somehow better idk ,pls help

drop here your website link.

Hi, @sao .

Kindly share your store URL and password.

Hi @sao ,

Please follow these steps:

Online store → Themes → Edit code → theme-m.css:

Copy this code to the end of the file:

@media only screen and (max-width: 765px) {
    .product-gallery.product-gallery--autoinit,
    .product-gallery__main_slider .product-gallery__main_item .rimage__img {
        max-height: 100vw;
    }
}

You will get this:

Hope it helps @sao

Thanks for help Mate! Happy New Year! Also if u can let me a feedback on my product page it will be awesome ,thanks!

IT is working! Thanks! Please let me know what you think about my shop,im already in shopify from 3 years or more

https://www.aiciavem.ro/products/joc-risk-junior-cadou-pereche-de-ochelari-vr-3d

Hello,

Check this is good for you, you want to change column on mobile devices.

I resolve this problem with @BSS-Commerce css code,thanks..Now I have one more problem,I want having the collection description at the bottom of the page,not on the top..

Single thing, I want to cancel the empty space from the top of the product image

You can do this, main-collection-banner.liquid.

Cut this description code.

{%- if section.settings.show_collection_description -%}
        {{ collection.description }}

      {%- endif -%}

and add this code at the end of main-collection-product-grid.liquid file, like this.


{%- if section.settings.show_collection_description -%}
        
{{ collection.description }}

      {%- endif -%}

I dont have main-collection-banner.liquid.

So you give me the access on your theme then I check where it’s come from. my email address is my signature,

The blank space at the top of the photo is because your photo has a white background, so if you want to remove it, you must process the photo before adding it to the store.