Adjust Product Image Limits

Solved

Adjust Product Image Limits

martujv
Pathfinder
143 2 34

Hello!

 

Basically I want to adjust the limits of the product images on the product page on desktop only.

 

Right now it's reaching around 60% of the screen, starting from the left.

I would like the limit to be at 50% of the screen so it would look symmetrical.

 

I attach 2 images so it's easier to see

 

1. How it's looking right now:

(The red line shows the current image limit)

martujv_0-1723816677776.png

 

 

2. How it should look:

(The blue line shows the image limit at 50% of the screen)

martujv_1-1723816677774.png

 

 

My website is: https://n6ia1fdm0ovh4srq-60150284501.shopifypreview.com and my theme is Stiletto

 

Thanks in advance!!

Accepted Solution (1)

BSSCommerce-B2B
Shopify Partner
1303 339 404

This is an accepted solution.

Hi @martujv ,

Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file theme.css.

Step 3. Add this code to the end of file

.product.animation.animation--product {
  padding-right: 0px!important;
}
@media (min-width: 960px){
    .product__primary{
       grid-gap: 0px!important;
    }
    .product[data-gallery-size="medium"] .product__primary{
      grid-template-columns:50fr 50fr!important;
    }
    .product__details.product__primary-right {
       padding: 0 3vw!important;
     }
}

Result

BSSCommerceB2B_0-1723819722984.png

If it helps you, please like and mark it as the solution.

Best Regards

 

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


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Replies 2 (2)

BSSCommerce-B2B
Shopify Partner
1303 339 404

This is an accepted solution.

Hi @martujv ,

Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file theme.css.

Step 3. Add this code to the end of file

.product.animation.animation--product {
  padding-right: 0px!important;
}
@media (min-width: 960px){
    .product__primary{
       grid-gap: 0px!important;
    }
    .product[data-gallery-size="medium"] .product__primary{
      grid-template-columns:50fr 50fr!important;
    }
    .product__details.product__primary-right {
       padding: 0 3vw!important;
     }
}

Result

BSSCommerceB2B_0-1723819722984.png

If it helps you, please like and mark it as the solution.

Best Regards

 

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


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
martujv
Pathfinder
143 2 34

It worked, thank you!