We have a product carousel on our storefront showing 5 closeout products. The regular price has a strike-thru which works. However, I want to change the sale price color to red. I have fooled around in the css and I can get the sale price to red but any other product carousels on the storefront (3 in all) the regular price also shows red. Can anybody point me in the right direction? You can see it here https://horseandkennel.com
Announcement
Collapse
No announcement yet.
Product Carousel Sale Price Color Edit
Collapse
X
-
greggc Unfortunately, the sale price is not controlled by a CSS variable therefore you would need to duplicate the component and update to achieve that feature.
However, the price that has the strike through is controlled by a CSS variable and it is possible to update that color without duplicating the component.
If you activate the mmx-customizations CSS resource within the branch you can add something like this:
Code::root { --mmx-product-additional-price-color: #FF0000; }
Nicholas Adkins
Technical Training Specialist / Miva, Inc.
[email protected]
https://www.miva.com/mivalearn
-
Nicholas Adkins
Technical Training Specialist / Miva, Inc.
[email protected]
https://www.miva.com/mivalearn
Comment
Comment