Home Forums WoodMart support forum Buy Buttons CSS

Buy Buttons CSS

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #40052

    brawtrade
    Participant

    how can I change the background colors, borders colors, font colors and the loading image on the buy buttons (also on hover state)

    #40058

    Artem Temos
    Keymaster

    Hello,

    In general, you can customize all buttons on the website globally via Theme Settings -> Style & Colors -> Buttons.
    Loading icon is not an image and is made with CSS code so you can’t simply replace it with your image icon.

    Regards

    #40067

    brawtrade
    Participant

    How can I change the color of the cart icon that appear on hover? And How I change the loading icon inside the button?

    #40070

    Artem Temos
    Keymaster

    Could you please provide us a screenshot what color do you want to change?

    As we said, loading icon is not an image and is made with CSS code so you can’t simply replace it with your image icon.

    #40076

    brawtrade
    Participant

    The background is transparent. I need to change de colors of the icons inside the button. (CSS classes)

    #40078

    brawtrade
    Participant
    #40080

    Artem Temos
    Keymaster

    Use this CSS code

    div.woodmart-hover-standard .btn-add>a:before {
    	color: black;
    }
    #40083

    brawtrade
    Participant

    Thank you. Now i need the code for the loading icon.

    #40084

    Artem Temos
    Keymaster

    How do you want to change the loading icon?

    #40088

    brawtrade
    Participant

    Change the color.

    #40099

    Artem Temos
    Keymaster

    Try this snippet

    div.woodmart-hover-standard .btn-add>a:after {
    	border-color: rgba(0,0,0,0.4);
    	border-left-color: rgba(0,0,0,1);
    }
    
    #40108

    brawtrade
    Participant

    Thanks!

    #40122

    brawtrade
    Participant

    This code:

    div.woodmart-hover-standard .btn-add>a:after {
    border-color: rgba(0,0,0,0.4);
    border-left-color: rgba(0,0,0,1);
    }

    Worked for products grid on shop page but in the product page the loading icon (inside the button) is not appearing when i click on buy button

    #40126

    Artem Temos
    Keymaster

    Use this also

    button.loading.single_add_to_cart_button:after {
    border-color: rgba(0,0,0,0.4);
    border-left-color: rgba(0,0,0,1);
    }
Viewing 14 posts - 1 through 14 (of 14 total)