How do it centre my price in debut theme

Dom2306
Excursionist
39 0 10

https://www.snooze-store.com/products/nike-air-force-1-low-triple-white

 

Please refer to link above. When I add a 'compare price at' the alignment shifted. How do i fix it?

Replies 2 (2)
Zeian_Shahzad
Shopify Partner
432 81 128

@Dom2306,

Add this at the bottom of your theme.scss file.

.price--on-sale .price__sale {
    justify-content: center;
}

 Do let me know if it works.

Zeian Shahzad | Designer | Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Email: shopify.zeian@gmail.com
Cheers!!
Ecommpremium
Shopify Partner
269 22 52

hi @Dom2306 please Go to theme.scss.liquid or base.css and at bottom pase this code to centre prices.

.product__price {

    padding-left: 132px;
}
- Did we solve your issue? Like & Mark As Solution to help the community
- Should you need any direct help: contact@ecommpremium.com
- SKYPE: ahsanaliawan
- shopifyexperts