Shopify themes, liquid, logos, and UX
Hello, how do I center align prices for product recommendations? Could you give the code for base.css? Thank you.
Solved! Go to the solution
This is an accepted solution.
Hello @lextui
please open component-card.css inside assets of your theme and paste the below code bottom of the file.
.product-recommendations .price{
text-align: center !important;
margin: 0 auto !important;
display: initial !important;
}
@lextui
Welcome to the Shopify community!
Thanks for your good question.
Please share your store URL.
So that I will check and let you know the exact solution here.
.product-recommendations .price{
text-align: center !important;
margin: 0 auto !important;
}
Add this code in the component-card.css file.
share your store url please
This is an accepted solution.
Hello @lextui
please open component-card.css inside assets of your theme and paste the below code bottom of the file.
.product-recommendations .price{
text-align: center !important;
margin: 0 auto !important;
display: initial !important;
}
@lextui add this code in component-card.css
.card-information{text-align: center;}
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024