- This topic has 4 replies, 3 voices, and was last updated 14 years ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › How to change color of Discount Applied message
Hi there
The current color of the Discount Applied message presented in the shopping cart is nearly illegible on my store. I *THOUGHT* I found where to change it. Looked like it was coming from the eStore_cart.php file.
I amended the color code inside this file but it doesn’t seem to have any effect when I reload the page.
What did I miss?
Thanks… Rick
You changed it on both lines in the file? Could be the CSS in your theme is overriding it.
Yep, changed both lines.
I suppose the CSS could be overriding it. But I used FireBug to inspect the line and it reported the exact color I was seeing as HEX. I scanned the PHP file for that value and saw it listed in the area that is used to present the text, so it would appear that the PHP file controls it. Although changing it doesn’t change the value. Wondering if there is a cache or something to consider?
Cheers… Rick
You need to change in the “wp_eStore1.php” file. Look for the following two strings:
<p style="color: red;">
<p style="color: #30D062;">
The red one is used for errors. The green one is used for success messages.
Ohhh MAN! I was sooo close!
Thanks! That’s perfect!