We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

how to decrease page width of product page without decreasing page width anywhere else

Solved

how to decrease page width of product page without decreasing page width anywhere else

Kindergo
Tourist
5 0 3

Hello Everbody! 🙂 My website is Shopkindergo.com... I need to decrease the page width of my product page

Screenshot 2024-09-21 211723.png

I want the product page width to be decreased so that all the information including pictures fits into that red circle...

 

I also do not want to change the website page width anywhere else on the website because i like the page width the way it is... I only want to change the product page width.

 

If anybody knows the solution if you could share it with me that would be appreciated if it works I will definitely upvote it and mark as accepted solution. Thanks 🙂

Accepted Solution (1)

Arif_Shopidevs
Shopify Partner
523 44 93

This is an accepted solution.

Hello,

@media screen and (min-width: 750px) {
section#MainProduct-template--22962994774297__main .page-width {
    width: 63% !important;
}
}


IF you use this code in your 
Online Store->edit code-> base.css area, it will only effect in product page as you will notice we select the product page templates.
The global page-width class will change all site page class.

Arif_Shopidevs_0-1726981416009.png

 


Hope this will solve your issues.

Thank you
 

Syncora: Backup & Restore [Free] - Automated real-time store backup with one-click easy restore.
Slider Revolution - Create sliders, theme sections, banners, videos, pages, advanced animation, and social feeds.
Essential Grid Gallery - Create photo galleries, video galleries, portfolio galleries, product gallery, collection gallery, and more.
EasyDisplay: Product Showcase - Easily display collections, related products, discounts, recently viewed items, and best sellers.

View solution in original post

Replies 3 (3)
Kindergo
Tourist
5 0 3

shopkindergo.com

Arif_Shopidevs
Shopify Partner
523 44 93

This is an accepted solution.

Hello,

@media screen and (min-width: 750px) {
section#MainProduct-template--22962994774297__main .page-width {
    width: 63% !important;
}
}


IF you use this code in your 
Online Store->edit code-> base.css area, it will only effect in product page as you will notice we select the product page templates.
The global page-width class will change all site page class.

Arif_Shopidevs_0-1726981416009.png

 


Hope this will solve your issues.

Thank you
 

Syncora: Backup & Restore [Free] - Automated real-time store backup with one-click easy restore.
Slider Revolution - Create sliders, theme sections, banners, videos, pages, advanced animation, and social feeds.
Essential Grid Gallery - Create photo galleries, video galleries, portfolio galleries, product gallery, collection gallery, and more.
EasyDisplay: Product Showcase - Easily display collections, related products, discounts, recently viewed items, and best sellers.

Arif_Shopidevs
Shopify Partner
523 44 93

Hello, If you want to change the product page only the above code will work other wise it will impact your inner page like about us page etc.

Thank you

Syncora: Backup & Restore [Free] - Automated real-time store backup with one-click easy restore.
Slider Revolution - Create sliders, theme sections, banners, videos, pages, advanced animation, and social feeds.
Essential Grid Gallery - Create photo galleries, video galleries, portfolio galleries, product gallery, collection gallery, and more.
EasyDisplay: Product Showcase - Easily display collections, related products, discounts, recently viewed items, and best sellers.