Solved

How to center product page

nilescambridge
Visitor
3 0 2

trying to center the websites product page like this :

Screenshot 2024-01-08 111631.png

 

 

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
5085 1210 1479

This is an accepted solution.

Thanks for the info, check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.product__info-container * {
    text-align: center;
}
quantity-input.quantity, fieldset.js.product-form__input {
    margin: auto;
}

 

And Save.

Result:

Made4uoRibe_0-1704758755279.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
5085 1210 1479

Hi @nilescambridge 

Its for the mobile screen only? Would you mind to share your Store URL website? with password if its unpublish. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


nilescambridge
Visitor
3 0 2

https://evorahq.com/

EvoraTesting

 

Centered for mobile and desktop would be nice

Made4uo-Ribe
Shopify Partner
5085 1210 1479

This is an accepted solution.

Thanks for the info, check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.product__info-container * {
    text-align: center;
}
quantity-input.quantity, fieldset.js.product-form__input {
    margin: auto;
}

 

And Save.

Result:

Made4uoRibe_0-1704758755279.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com