New Landing How can we help? Themeforest Theme Support Dante Change Color of Products New Badge

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #34247
    maike
    Member
    Post count: 81

    Hi Ed,

    I tried to change the background color of the “New Badge” with this:

    /*New Badge*/
    .woocommerce .wc-new-badge {
    background-color: #ea4c89!important;
    }

    But it doesn’t work. Something wrong in this?

    Regards
    Maike

    #34313
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Try this instead:

    /*New Badge*/
    .woocommerce .wc-new-badge {
    background: #ea4c89!important;
    }
    

    That should do it 🙂

    – Ed

    #199102
    designlandia
    Member
    Post count: 1

    How can I completely remove the background color and replace it with an image?

    #199150
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Try the code below, you should provide the full path of the image in the rule below.

    /*New Badge*/
    .woocommerce .wc-new-badge {
    background: transparent url("http://www.yoursite.com/bk.jpg") no-repeat fixed center; 
    }

    -Rui

Viewing 4 posts - 1 through 4 (of 4 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