This topic has 4 replies, 2 voices, and was last updated 6 years, 4 months ago ago by Rose Tyler
Hi, I have used the following code to center the price on single product page.
.single-product-page .product-info .price, .single-product-page .product-info .short-description {
float: none;
text-align: center;
display: block;
But if I put the item on the sale it floats to the left. And goes to the same height of AddToCart Button. How to keep the sale price fixed to the same position? Screens attached.
Thanks
Hello,
Please add this custom css code:
.single-product-page .product-info .price del, .single-product-page .product-info .price ins {
float: none;
text-align: center;
display: inline-block;
}
Regards
Thank you so much, Rose! Have a good one!
You’re welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up