Home Forums WoodMart support forum change cart icon on mobile

change cart icon on mobile

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #142962

    raph7433
    Participant

    Hello,

    Can you help me please to change the cart icon on mobiles ? I am not talking about the one in the header. This is easy to change, and i did it. I am talking about the product picture, with the quick add ton cart. I tried to find the path in css but i did not find where i should upload my own jpeg. See attached file please, it will be easier to understand 🙂

    Thx a lot

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

    Hello,

    Please choose and provide an icon URL which you want to add and I will provide CSS.

    Here is the source https://fontawesome.com/v4.7.0/icons/

    Best Regards

    #142996

    raph7433
    Participant
    #143029

    Hello,

    The icon provided is black and the button is also black, the icon would not be visible, please provide a white image or take icon from here https://fontawesome.com/v4.7.0/icons/

    Best Regards

    #143068

    raph7433
    Participant
    #143113

    Hello,

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

    body .woodmart-add-btn > a::before {
        background-image: url(https://fabyoulousbeauty.com/wp-content/uploads/2019/09/pictoPANIER_white.png);
        content: "" !important;
        background-repeat: no-repeat;
        background-position: center center;
    }

    Best Regards

    #143118

    raph7433
    Participant

    Works fine thx a lot. I just have one last question and and i don’t bother you anymore. The picto is taking all the place, with no margin or padding. I would like to add some space, like 3px all around. I tried but i did not manage to. Can you help me on that please ? For instance, i added “margin : 3px 3px;” but it did not work, still the cart is taking all the square.

    Thx again

    #143119

    raph7433
    Participant

    See attached file if i am not clear 🙂

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

    Hello,

    Please add this line into the provided code: background-size: 90% 90% you can change these two values as per your needs.

    Best Regards

    #143253

    raph7433
    Participant

    Works perfect, thx a lot !

    #143284

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Tagged: , ,

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