New Landing How can we help? Themeforest Theme Support Dante Change Color of Add to Cart and Wishlist Button

Viewing 15 posts - 16 through 30 (of 30 total)
  • Posted in: Dante
  • #60588
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Please provide me with your link so that I can provide you with the exact css

    – Kyle

    #60616
    simonvk
    Member
    Post count: 45
    #60758
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try this custom css:

    .woocommerce p.cart a.single_add_to_cart_button {
      background-color: #1DC6DF !important;
    }

    – Kyle

    #60836
    simonvk
    Member
    Post count: 45

    Awesome, Kyle, thank you for that!
    The background color is perfect now, only thing I’d like it to have the text white, and when hovering over the button, the button goes black (and the text is still white). Actually, exactly like the “Bekijk video” button on my product page, as linked earlier.
    Sorry for being such a pain, hope it’s not too difficult! ๐Ÿ™‚

    #60841
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem, replace it with:

    .woocommerce p.cart a.single_add_to_cart_button {
      background-color: #1DC6DF !important;
      color: #FFFFFF!important;
    }
    .woocommerce p.cart a.single_add_to_cart_button:hover {
      background-color: #2E2E36 !important;
      color: #FFFFFF!important;
    }

    – Kyle

    #60967
    simonvk
    Member
    Post count: 45

    Awesomepants!
    Thanks a lot ๐Ÿ™‚

    #61116
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem! ๐Ÿ™‚

    #78805
    adamf
    Member
    Post count: 39

    I’m trying to do the same thing, variable product, nothing is working – the button style is inline css in the theme, and I cannot find where it is originating from – HALP.

    #78906
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    the !importants should overwrite the inline css

    – Kyle

    #79041
    adamf
    Member
    Post count: 39

    It should, I agree, but it doesn’t. Maddening.

    #79043
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Please can I see your link to check?

    – Kyle

    #79173
    adamf
    Member
    Post count: 39
    This reply has been marked as private.
    #79315
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    @adamf – that code is generated from the styles set in the customiser. If you wish to override on the product page, please use this custom css:

    .woocommerce form.cart button.single_add_to_cart_butto {
      background-color: #1DC6DF !important;
      color: #FFFFFF!important;
    }
    .woocommerce form.cart button.single_add_to_cart_butto:hover {
      background-color: #2E2E36 !important;
      color: #FFFFFF!important;
    }
    .yith-wcwl-add-button a {
      background-color: #1DC6DF !important;
      color: #FFFFFF!important;
    }
    .yith-wcwl-add-button a:hover {
      background-color: #2E2E36 !important;
      color: #FFFFFF!important;
    }

    Hope that helps.

    – Ed

    #80487
    adamf
    Member
    Post count: 39

    Perfect, thanks very much for that.

    #80591
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome. I’m glad that issue resolved. Thanks Ed :-).
    With Best Regards
    Swift Ideas

Viewing 15 posts - 16 through 30 (of 30 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