Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1092253
    WoodWatchCo
    Participant

    Can anyone help me match the button design and hover effect for woocommerce buttons on my site to match the rest of the buttons on my site?

    Examples: Single product pages, Main shop and category collection pages, cart and checkout, etc..

    I would like the same “buy now” buttons as I have on my homepage.

    #1092255
    WoodWatchCo
    Participant
    This reply has been marked as private.
    #1092466
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! You can add this under Custom > CSS in the Customizer.

    
    .single_add_to_cart_button:hover {
        background-color: #ffffff;
        border-color: #000000;
        box-shadow: 0 0.075em 0.075em rgba(0, 0, 0, 0.5);
        color: #000000;
    }
    

    Hope that helps.

    #1092598
    WoodWatchCo
    Participant

    Thank you for the response. I would also like to add this site-wide to include all the buttons such as checkout buttons as well as the buttons on my shop page and category pages.

    #1092946
    Christopher
    Moderator

    Hi there,

    Please add this :

    .product .x-btn:hover, .product .button:hover, .product [type=\\\"submit\\\"]:hover,input#place_order:hover {
        background-color: #ffffff;
        border-color: #000000;
        box-shadow: 0 0.075em 0.075em rgba(0, 0, 0, 0.5);
        color: #000000;
    }

    Hope it helps.

    #1093823
    WoodWatchCo
    Participant

    Great progress, but the “proceed to checkout” button in shopping cart still needs the styling to match.

    #1094151
    Jade
    Moderator

    Hi there,

    Please update the code to:

    .woocommerce .cart-collaterals .checkout-button, 
    .woocommerce-checkout .place-order .button, 
    .shop_table [type=\\\"submit\\\"], .button.wc-backward,
    .product .x-btn:hover, .product .button:hover, 
    .product [type=\\\"submit\\\"]:hover,input#place_order:hover {
        background-color: #ffffff;
        border-color: #000000;
        box-shadow: 0 0.075em 0.075em rgba(0, 0, 0, 0.5);
        color: #000000;
    }
    
    .woocommerce .wc-proceed-to-checkout {
        margin: 50px 0 50px 0;
    }

    Hope this helps.

    #1094182
    WoodWatchCo
    Participant

    That code did not work in styling the checkout button properly in the cart page. I want it to match the rest of the buttons on my site.

    #1094195
    WoodWatchCo
    Participant

    The hover effect is missing.

    #1094723
    Friech
    Moderator

    Hi There,

    Add this on your custom CSS.

    /*Hover style specific to checkout button*/
    .woocommerce-cart .checkout-button:hover {
    	background-color: #ffffff;
        border: 1px solid #000000 !important;
        box-shadow: 0 0.075em 0.075em rgba(0, 0, 0, 0.5);
        color: #000000;
    }

    Thanks.

    #1095284
    WoodWatchCo
    Participant

    Thank you. I have asked you guys a million questions in the past and you always help 🙂

    #1095332
    Joao
    Moderator

    Hi There,

    We are glad it worked.

    We are always here for you 🙂

    Have a great day.

    Joao

  • <script> jQuery(function($){ $("#no-reply-1092253 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>