Home Forums WoodMart support forum Change icon in the on the cart panel

Change icon in the on the cart panel

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #247738

    BertranddesmetsWM
    Participant

    Hi,

    Is there an option to change the icon you see on the screenshot attached?
    Thanks for the help!
    Best regards,

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

    Hello,

    Please provide the icon and I will provide the CSS for you.

    Best Regards

    #247936

    BertranddesmetsWM
    Participant

    What format and size should the icon have? Svg?

    Thanks!

    #247983

    Hello,

    There iare no requirements, the SVG should be as per your needs. You can take any demo SVG and make yours on their base.

    Best Regards

    #248110

    BertranddesmetsWM
    Participant

    Hi,

    Ok thanks for the quick answer.
    Please find the image link in the private area.

    Kind regards,

    #248196

    Hello,

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

    body .cart-widget-side .widget_shopping_cart .empty:before {
    content: "";
    width:100%;
    height:100px;
    background-image:url(https://jacptstr.imsc-services.com/wp-content/uploads/2020/10/JUNA_favicon.svg;)
    bacground-size: contain;
    background-position:center center;
    background-repeat: no-repeat;
    }

    Best Regards

    #248501

    BertranddesmetsWM
    Participant

    Hi,

    The code does not work. The image is not showing.
    I also tried with another image with another size.
    Thanks.

    #248565

    Hello,

    Please provide your site admin access to the private area.

    Best Regards

    #248617

    BertranddesmetsWM
    Participant

    Hi,

    Ok. Thanks.
    kind regards.

    #248846

    Hello,

    Please replace the code with this one:

    body .cart-widget-side .widget_shopping_cart .empty:before{
    content: " ";
    	width:64px;
    	height:64px;
    background-image:url(https://jacptstr.imsc-services.com/wp-content/uploads/2020/10/JUNA_favicon.svg);
    background-size: cover;
    background-position:center center;
    background-repeat: no-repeat;
    margin:20px  auto;
    }

    Best Regards

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