Tagged: x
-
AuthorPosts
-
July 14, 2016 at 10:13 am #1086918
cetlincParticipantHi,
I’m trying to change the ‘sale’ price font color. Unfortunately, everything I try either doesn’t work or changes the price font color globally. I’m using X-theme v.4.5.2 and WooCommerce v2.6.2
I’ve tried using the following CSS:
1)
.woocommerce .onsale .amount {
background-color: #FFFFFF;
border-color: #FF0000;
color: #FF0000 !important;
}Which doesn’t do anything.
2)
.woocommerce li.product .entry-header .price .amount,
.woocommerce div.product .summary .price > .amount {
color: #FF0000;
}
Which changes the price globally.I’m also suppressing the sales banner (corner of the sale item image) using the following:
.woocommerce .onsale {
display: none;
color: #FF0000 !important;
}I’ve attached a screen shot of the price I want changed (Circled).What am I doing wrong?
Thanks for any help.
July 14, 2016 at 12:19 pm #1087113
JoaoModeratorThanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
July 14, 2016 at 1:46 pm #1087252
cetlincParticipantOh sorry, the URL is: http://cosmolaneboutique.com/boutique/
If you scroll down a bit you can see the sales products, as pictured in the file I attached.
July 14, 2016 at 6:07 pm #1087575
JadeModeratorHi there,
Please try this code:
.price ins .woocommerce-Price-amount { color: red !important; }Hope this helps.
July 15, 2016 at 8:50 am #1088501
cetlincParticipantThanks! Worked a charm. You’ve been a great help.
July 15, 2016 at 10:43 am #1088657
John EzraMemberOn behalf of Jade and our team you’re most welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1086918 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
