New Landing How can we help? Themeforest Theme Support Neighborhood Changing sale banner colour

Viewing 2 posts - 1 through 2 (of 2 total)
  • #179834
    erichercog
    Member
    Post count: 2

    Hello,

    I am trying to change the colour of the sale banner without changing the colour of the price.

    Currently when I go into Appearance > Customise and select Woocommerce > Highlight Color (price labels and sale flashes), I only have to option to change the color for both the banner + prices.

    I’ve tried pasting the following code into Custom CSS however it still shows up as black.
    .woocommerce span.onsale {
    background: #ef3f32;
    color: #fff;
    }

    Could you assist with getting the page to look similar to the attachment?
    Thanks!

    Attachments:
    You must be logged in to view attached files.
    #179996
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Guess just missing the important tag to get some priority over the current rules.
    Try this one

    .woocommerce span.onsale {
    background: #ef3f32!important;
    color: #fff!important;
    }

    -Rui

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register