How to center price product in featured collection in dawn theme

Solved
Souhiiii
Tourist
4 0 2

Hello can you guys give me a solution I use the dawn theme and I have a featured collection and I need the price of the products in this collection to be in center I tried text-align:center but I don't know which file to put it.

Thank you so much for your help guys.

dmwwebartisan
Shopify Partner
9136 2117 2885

@Souhiiii 

Please share your store URL.

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →
Souhiiii
Tourist
4 0 2

https://clubchamfeur.com/

The first collection of tshirt I want to center the price of each t-shirt thank you.

@Souhiiii,

1. In your Shopify Admin go to online store > themes > actions > edit code
2. In your theme.liquid file, find the </body> (press CTRL + F or command + F on Mac)
3. paste this code right above the </body> tag:

<style>
.card-information__wrapper{
    text-align: center;
}
</style>



Kind regards,
Diego

◦ Slideshow section not looking good or cutting off? Try the Slideshow (PRO) section. No apps required.
◦ Replace apps with copy/paste code snippets. Examples here.
◦ In need of coding help? I'm available for hire! ezfycode@gmail.com
0 Likes
dmwwebartisan
Shopify Partner
9136 2117 2885

This is an accepted solution.

@Souhiiii 

Please add the following code at the bottom of your assets CSS file.

.card-information__wrapper{
text-align: center;
}
.card-information__wrapper>.price{
display: block;
}

Hope this works.

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →
Souhiiii
Tourist
4 0 2

@dmwwebartisan hey thank you it was very helpful but what about the title of the same collection how can I center it thank you so much in advance you been great help

0 Likes
dmwwebartisan
Shopify Partner
9136 2117 2885

@Souhiiii 

Please add the following code at the bottom of your assets CSS file.

.card-information__wrapper>* {
    text-align: center !important;
}


.card-information__wrapper>.price {
    color: rgb(var(--color-foreground));
    text-align: center !important;
    display: block !important;
}
If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →
0 Likes