New Landing How can we help? Themeforest Theme Support Neighborhood Disable hover effect on woocommerce buttons

Viewing 9 posts - 1 through 9 (of 9 total)
  • #53598
    mindofmedia
    Member
    Post count: 13

    Hello,

    I want to disable the hover effect on the button of woocommerce. The problem is when you have edited the colors, so that the “new” banner and the “add to shopping bag” button have the same background color the hover effect gives the same color as the background, causing that the button isn’t readable any more.

    See the screenshots below.
    You see when you hover a button the text of the color gets the same color as of that of the band. But because the color of the band and the background of add to shopping bag is the same the text disappears.

    You can check the website on:
    http://www.foudelyse.be/preview/

    #53796
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hey, you can use this custom css:

    .woocommerce form.cart button.single_add_to_cart_button:hover {
    color: white!important;
    }

    Cheers!

    #53932
    mindofmedia
    Member
    Post count: 13

    Thank you that worked.
    However it didn’t work for the add to shopping bag button on the homepage products.

    #53961
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You need to also add this:

    .woocommerce ul.products li.product figure figcaption .shop-actions > a:hover {
      color: #FFFFFF;
    }

    – Kyle

    #53980
    mindofmedia
    Member
    Post count: 13

    Hello,

    Sorry that didn’t work.
    I mean this section. Where you can add product directly to you shopping bag from the front page.

    #53987
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    The css I gave you should work, I’ve double checked it. If not then add !important to it and it should work.

    – Kyle

    #53989
    mindofmedia
    Member
    Post count: 13

    !important worked. Thank you.

    #53998
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Great, cheers Kyle!

    – Ed

    #53999
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok great! No problem 🙂

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