Home Forums WoodMart support forum Woocommerce Add To Cart Button changes

Woocommerce Add To Cart Button changes

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #419633

    paul-2426
    Participant

    I’d like to know if changing the hover state on the store buttons is possible.

    Currently, the button is ‘Check Price’ on default state and then changes to the Cart icon on hover. I would like it to continue to say ‘Check Price’.

    Example images attached

    Attachments:
    You must be logged in to view attached files.
    #419639

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    Could you kindly provide page URL we will check if we can change that with custom CSS.

    Best Regards

    #419924

    paul-2426
    Participant

    I’ve included a link where you can see the issue in a live environment. I’ve also included another screenshot of the mobile view. (that also needs changing from ‘Cart Icon’ to ‘Check Price’ (if possible).

    Attachments:
    You must be logged in to view attached files.
    #420170

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .main-page-wrapper .wd-hover-fw-button .wd-add-btn-replace .add-to-cart-loop:hover:before {
    	transform: translateY(100%);
    }
    
    .main-page-wrapper .wd-hover-fw-button .wd-add-btn-replace .add-to-cart-loop:hover span {
    	transform: none;
    }
    
    @media (max-width: 768.98px) {
    	.main-page-wrapper .wd-hover-fw-button .wd-add-btn-replace .add-to-cart-loop span {
    		font-size: 13px;
    	}
    	
    	.main-page-wrapper .wd-hover-fw-button .wd-add-btn-replace .add-to-cart-loop:before {
    	transform: translateY(100%);
    	}
    }

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)