How can I change the width of the section or the page width?

Hello there

I made a product page but the product image is appearing way too big on the desktop. On mobile, it looks good.

https://propel-the-world.com/products/vegan-t-shirts-leaf?variant=42288001155269

For the desktop, I want to reduce the width of the image as the screenshot below(the blue line) remaining the ratio of the images.

Can I know how to do this?

Please go to Online store → themes → Edit theme → Assets → base.css and paste this code at the end of this file

.shopify-section.slideshow {
    max-width: 1303px;
    margin: 0 auto;
}

Hey @propel

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Thank you @Moeed . Your solution works but it is also changing the homepage.

And the changed width of the image isn’t the same as the element above. Can you tell me the other solution?

Thanks, @Hardik29418

I can’t find the base.css file. Is there an alternative? Also, I want the change to be adjusted only to the product page. Is this possible?

@propel Yes, Making the adjustment only on the products page is possible.
Please go to Online store → themes → Edit theme → Layout → theme.liquid and paste this code before

{% if template.name == 'product' %}

{% endif %}