How to make the product photo full square size in container ?

How to make the product photo full square size in container ?

GArt_2008
Tourist
4 0 1

Hi, I want to make the product full square size in the product container. 

1st product I will make the product with transparent background, so it will show the setting default background color behind. 

however, the 2nd photo is the white solid background together with product, and the default background color also show on it

therefore, I think the product photo is no full size in product container box

I had tried to find any button in customise theme, but there nothing to select....
 

 

GArt_2008_1-1724059319137.png

I am waiting someone help.
Thank you

 

Replies 5 (5)

BSSCommerce-HDL
Shopify Partner
2305 835 908

Hi @GArt_2008 

Can you share your store URL ( with password if needed) so we can find out solution for this

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

BSS-TekLabs
Shopify Partner
2401 695 831

- Here is the solution for you @GArt_2008 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the  theme.liquid file.
- Then add the following code at the before tag </head> and press 'Save' to save it.

.template-product .product__section .box-ratio img {
    padding: 0 !important;
}

- Here is the result you will achieve:

BSSTekLabs_0-1724072563990.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
GArt_2008
Tourist
4 0 1

Hi, after i add before  tag </head> ,
then it become like this :

GArt_2008_1-1724119969332.png

 

 

GArt_2008
Tourist
4 0 1

Hi, I try to add between  here: 

<style>

.template-product .product__section .box-ratio img {
padding: 0 !important;
}
</style>


then it work !

BTW, thanks a lot