How can I align text to the left on a product page?

Solved

How can I align text to the left on a product page?

TrendBlend
Trailblazer
311 0 33

 Hello I recently centered product title and price on the collection page, but now my price on the product page is also centered and I want it to be to the left. Can someone help me with this?

6DC9FDF4-C609-42AE-853A-F1A7FB465AFA.png

Accepted Solution (1)

ThePixelEdge
Shopify Partner
164 16 18

This is an accepted solution.

Hi @TrendBlend ,

You need to Edit the theme code and open the file section-main-product.css and Paste the below code


.product__info-container .price{
text-align:left;
}


Let me know if you are still facing an issue

If helpful then please Like and Accept Solution .
Buy me A Coffee

Whatsapp :- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications


Connect with Us in Our DMs | teampixeledge@gmail.com

View solution in original post

Replies 2 (2)

ThePixelEdge
Shopify Partner
164 16 18

This is an accepted solution.

Hi @TrendBlend ,

You need to Edit the theme code and open the file section-main-product.css and Paste the below code


.product__info-container .price{
text-align:left;
}


Let me know if you are still facing an issue

If helpful then please Like and Accept Solution .
Buy me A Coffee

Whatsapp :- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications


Connect with Us in Our DMs | teampixeledge@gmail.com
TrendBlend
Trailblazer
311 0 33

Yeah that works, thanks