How to change the width of the product page on Craft theme?

Billy_Cheng
Tourist
8 0 2

In Craft theme, when I set the page width to 1600px which looks good for the collection pages, but it's way too large for product pages, and there's no option to adjust the width only for product pages.

So how can I change the width only for product pages? To 1200px for example.

The URL of my site: https://inspirepanda.myshopify.com

@KetanKumar , thanks.

Billy_Cheng_0-1656177519494.png

 

Replies 2 (2)

suyash1
Shopify Partner
9077 1129 1479

@Billy_Cheng - your theme do not have a unique class or id for product pages, you will need to add it first if you want changes for product pages only.

 

Then using css we can set width for product pages.

To build shopify pages use pagefly
You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
paranormal story video using AI
Billy_Cheng
Tourist
8 0 2

@suyash1 , Thanks for your feedback, so what should I do first to make it? I am now just able to copy and past codes into the theme files, and change some values to  do some adjustments, so I don't know what to do exactly according to what you mentioned about "add a class or ld for product pages"?