How to center align the price and variant option on product page in Impulse theme

Hello!

Needing some assistance here. I updated the theme to the newest version and just going back through everything now.

The price and colour variant choice is defaulting to left align and not sure where to change it to center align.

Any tips or help would be greatly appreciated. :slightly_smiling_face:

Hello,
Please share your site url.
So that i can check and let you know the exact solution here.

Thank you

https://www.woodandwonder.ca

Password is currently sola2020love

Any help would be much appreciated :slightly_smiling_face:

Add this css at the bottom of
Online Store->Theme->Edit code->Assets->theme.css.liquid

.product-single__meta .product__price {
    text-align: center;
    display: block;
}
.product-single__meta .variant-wrapper.variant-wrapper--button.js {
    text-align: center;
}
2 Likes

Amazing thank you so much that worked! Is there anyway to have the title center aligned as well?

Add this css

.product-single__meta .h2.product-single__title {
    text-align: center;
}

Perfect! Worked beautifully thanks so much.

Hi there!!!

Sorry to bother you again! Anyway you can guide me on the code to add to the CSS to center the quantity selector field?

I added like as below!

.product__quantity.product__quantity–button {
text-align: center;
}

1 Like
 I did the solution by myself.
thank you so much for trying to help

I did the solution by myself.
thank you so much for trying to help