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;}
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024