Home Forums WoodMart support forum On mobile cart icon want to change to custom bag icon

On mobile cart icon want to change to custom bag icon

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #229550

    Naveedsaeedkhan
    Participant

    On the mobile cart icon want to change to the custom bag image icon the same as I added in the header please see the screenshot. and how I can hide the cart icon on mobile the icon should be visible only on click.
    http://www.rossetticasalinghi.com

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

    Naveedsaeedkhan
    Participant

    How I can change the Cart icon to a custom bag icon image?

    #229685

    Hello,

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

    body .wd-add-btn-replace .add-to-cart-loop:before,
    body .wd-add-btn-replace .add-to-cart-loop:after{
    	  color: transparent;
        content: "";
        width: 40px;
        height: 40px;
        background-image: url(https://www.rossetticasalinghi.com/wp-content/uploads/2020/09/Shopping_Bag-Icon.svg);
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    body .woodmart-hover-quick .woodmart-add-btn > a{
    background-color:transparent; 
    }

    Best Regards

    #229694

    Naveedsaeedkhan
    Participant

    Perfect looks on mobile thanks… And can I use the same code also on the desktop? or there will be different codes. I want to change also on the desktop cart icon.

    #229744

    Hello,

    Yes, sure: add this code to the Theme Settings > Custom CSS > Desktop, or Global if you want to show it on all the devices.

    Best Regards

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