New Landing How can we help? Themeforest Theme Support Neighborhood Add to cart button color

Viewing 7 posts - 1 through 7 (of 7 total)
  • #150602
    lobsterass
    Member
    Post count: 386

    Hola!

    Sorry for probably a stupid question but with all the latest update of Woo, my add to cart button is black on black. I’ve tried to change this in the Appearance menu and with custom CSS. Please tell me where this black background color comes from?

    <3

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

    Hi,

    Add the code below to your custom css option

    
    .woocommerce form.cart button.single_add_to_cart_button, .woocommerce form.cart button.add_to_cart_button{
    background-color:#59C3C4!important;
    }

    -Rui

    #150627
    lobsterass
    Member
    Post count: 386

    Ah! Cool. Worked, Rui. Could you please tell me how ta alter the hover state as well? I did this but it isn’t doing anything for me:

    .woocommerce a.button.alt:hover,
    .woocommerce input.button.alt:hover,
    .woocommerce #respond input#submit.alt:hover {
    color: #fff!important;
    background-color:#0E838C!important;
    }

    #150637
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Try this one

    
    .woocommerce form.cart button.single_add_to_cart_button:hover, .woocommerce form.cart button.add_to_cart_button:hover {
    color: #fff!important;
    background-color: #D00A0A!important;
    }

    -Rui

    #150640
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .woocommerce form.cart button.single_add_to_cart_button:hover, .woocommerce form.cart button.add_to_cart_button:hover{
    background:#0E838C!important;
    }

    Thanks
    Mohammad

    #150920
    lobsterass
    Member
    Post count: 386

    Hola!

    Super duper Rui and Mohammad! Looks awesome now! Thanx!

    For everyone who need to change ADD cart button color regular state + hover, here is the final code that works great:

    .woocommerce form.cart button.single_add_to_cart_button:hover, .woocommerce form.cart button.add_to_cart_button:hover{
    background:#0E838C!important;
    }
    .woocommerce form.cart button.single_add_to_cart_button, .woocommerce form.cart button.add_to_cart_button{
    color: #fff!important;
    background-color:#59C3C4!important;
    }

    #150941
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Thanks 🙂

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