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
2071 734 921

Hi @GArt_2008 

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

 

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

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
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
2077 613 718

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

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