How to change product page alignment from center to left in dawn theme?

How to change product page alignment from center to left in dawn theme?

kb2528
Shopify Partner
7 0 1

I have something like as below picture

kb2528_0-1736962788524.png

I would like as below

kb2528_1-1736962868323.png

 

 

Replies 7 (7)

CodingFifty
Shopify Partner
616 97 116

Hi @kb2528.,

Kindly share the store URL.

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
kb2528
Shopify Partner
7 0 1

url :- https://pgf-dev.myshopify.com/

pass :- brucri

 

CodingFifty
Shopify Partner
616 97 116

Hello @kb2528.,


Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css Add the provided code at the end of the file.

@media screen and (min-width: 750px) {
    product-info .page-width {
        padding: 0px 0rem !important;
        margin-right: 150px !important;
    }
}
Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
kb2528
Shopify Partner
7 0 1

Thank you for your response!

DaisyVo
Shopify Partner
3794 412 499

Hi @kb2528 

 

To complete your requests, please follow these steps:
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.

 

product-info > .page-width {
    max-width: unset !important;
    padding-inline: 0 !important;
}

 

Here is the result: image_720.png

 

I hope this helps

 

Best,

 

Daisy

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
kb2528
Shopify Partner
7 0 1

Thank you Daisy! it worked!

DaisyVo
Shopify Partner
3794 412 499

Hi @kb2528 

 

If it works, I will be really grateful if you can give us a like and mark our answer as Solution

 

Thank you so much

 

Best,

 

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution