Adjust Product Image Limits

Solved

Adjust Product Image Limits

martujv
Pathfinder
149 2 35

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
1729 518 582

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

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

View solution in original post

Replies 2 (2)

BSSCommerce-B2B
Shopify Partner
1729 518 582

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

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

martujv
Pathfinder
149 2 35

It worked, thank you!