This topic has 13 replies, 3 voices, and was last updated 6 years, 2 months ago ago by Rose Tyler
Hello,
I have a question about the unit price. I adjusted the text using CSS
.price-unit.price {
font-size:14px;}
but when I leave the edit mode, the text is back to the previous size, if I defined it using CSS. Where’s the mistake here?
Hello,
Thanks for contacting us.
Have you added custom css code in Theme Options > Styling > Custom css or in style.css file of child theme?
For example, add this code in Global custom css area via Theme Options:
.content-product .price {
font-size: 16px;
}
Regards
Hello again,
I had stored the code under Design -> Costumizer.
The code you gave me does not change anything.
Hello,
1) Provide, please, screenshot of the price that you want to change. Maybe we are talking about different things.
2) Do you use cache plugin or CDN? Clear both once you made changes. If you use CDN then exclude wp-content/uploads/xstore/options-style.min.css file from caching.
3) If it does not help provide us with temporary Dashboard access.
Regards
Hello again, unfortunately I can’t upload a screenshot here in the forum
Hello here is the link of the Screeshot
https://www.awesomescreenshot.com/image/3578956/ee39d6d8bc36a939923fa55ba39bdc8d
Hello,
Thanks for the reply.
Please provide us with your site URL and temporary wp-admin access.
Regards
Hello
A suitable article to look because of the text would be
Hello,
Please add this code in Theme Options > Styling > Custom css > Global custom css:
.single-product .product-information .price-unit.smaller {
font-size: 14px;
}
.single-product .product-information .woocommerce-price-suffix {
font-size: 12px;
display: inline-block;
width: auto;
}
.single-product .product-information .woocommerce-Price-amount.amount {
display: inline-block;
}
Let me know the result.
Regards
Hello again, thank you very much, the text is now in the right size.
Then I have something else, see screenshot.
Dear @Danielberlin,
I hope this article will be helpful for you https://businessbloomer.com/woocommerce-add-prefix-suffix-product-prices/
Regards
You must be logged in to reply to this topic.Log in/Sign up