This topic has 8 replies, 3 voices, and was last updated 7 years, 12 months ago ago by Rose Tyler
How to I get my price and product name centered in woocommerce?
I have to create custom.css file in child theme, and add this code there:
.woocommerce .products .product,
.woocommerce .products .product .price
{text-align:center}
But it doesn’t work.
Hello,
Please provide us with link to the site and wp-admin access in Private Content.
Here is the video tutorial how to create custom.css: https://www.youtube.com/watch?v=Qok2zRedRMY&list=PLMqMSqDgPNmD4uhGI1IBhr1iaEy81TMff&feature=share&index=1.
Regards,
Rose Tyler.
Here:
Hello,
You need rename default.custom.css to custom.css in parent theme and add this code:
.product-loop.products-grid .product {
text-align: center;
}
Regards,
Rose Tyler.
Thanks! That worked for the store, but is there way to get it to work also on the front page “featured products” and “new products”?
Hello,
Please use this css code:
.slide-item .product .product-name, .slide-item .product .add-to-container {
text-align: center;
}
Best regards,
Jack Richardson.
Thanks, it’s working!
Hello,
You’re welcome!
Regards,
Rose Tyler.
The issue related to '‘Woocommerce price and name centered’' has been successfully resolved, and the topic is now closed for further responses