Home Forums WoodMart support forum Change product add to cart icons to a bag

Change product add to cart icons to a bag

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #306694

    newK9
    Participant

    Hi Xtemos,

    I would like to change the icon of a trolley to that of the bag that I can change for cart section in the header to the bag icon.

    I previously used this solution that called a Fontawesome icon, although this wasn’t similar to the cart header bag icon.

    .wd-buttons .wd-add-btn>a:before {
        content: "\f290";
        font-family: fontawesome
    }

    I would prefer not to use a fontawesome icon as I don’t want to preload fontawesome on my site. Is their a way to use the existing cart header bag icon instead? As this is all ready called and built within the theme. It does seem a little odd not to be able to change it.

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

    Hello,

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

    body .wd-add-btn-replace .add-to-cart-loop:before {
        content: "\f126";
        font-family: "woodmart-font";
    }

    Best Regards

    #306771

    newK9
    Participant

    Hi Elise,

    The code doesn’t appear to be doing anything. The trolley icon is still showing sadly

    #306923

    Hello,

    Please, provide your site admin access to the private area.

    Best Regards

    #306924

    newK9
    Participant

    Thank you

    #306976

    Hello,

    Please replace the code with this one:

    body .wd-add-cart-icon>a:before {
        content: "\f126";
    }

    Best Regards

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