View CartCheckout
Subtotal: $0.00
This topic contains 12 replies, has 2 voices, and was last updated by yobo Mar '20.
Hi, how can I set different font color for discounted price in product page?
Thank you.
Hi, Go to BO > Theme editor > Color tab, you can change the discount price color. see attached screenshot. Best regards.
0200224112413.png
Hi yobo, I can’t find that option in Theme Editor. I have attached a screenshot for your reference. I’m using Panda theme v2.4.9.
2020-02-24_16-22-40.png
Hi, Please send me your site URL, I will give you a piece of CSS code to change it. Best regards.
Hi, Please add the following code to the “Custom CSS Code” under Theme editor > Custom codes: .st_discounted_price{color:#00f;} Best regards.
.st_discounted_price{color:#00f;}
Hi yobo, Unfortunately that doesn’t work. There is no st_discounted_price class for price in category page. It only works on category page.
Hi, See attached screenshot. Best regards.
00227152606-1.png
Hi yobo, Sorry, what I was trying to say is there is no st_discounted_price class for price in product page.
Hi yobo, Any update?
Hi, Yes, there isn’t the class to change the discount for the product pages only. Best regards.
Hi yobo, So how can I set different font color for discounted price in product page?
Hi, Go to BO > Theme editor > Custom codes, add the following code to the “Custom Javascript code” field and clear the browser cache. jQuery('#product').find('.current-price .regular-price').prev().css('color','#ff0000'); Best regards.
jQuery('#product').find('.current-price .regular-price').prev().css('color','#ff0000');
You must be logged in to reply to this topic.