• Hi,

    Does anyone know how I can change the header icons (cart icons mainly) for this theme I use on WordPress? Can I upload my own svg and replace somewhere? I have some code knowledge but I would still need some guidance here, I don’t want to ruin the header icons.

    Thank you

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @emilena,

    I am sorry for the delay in response for I was stuck in draft.

    1. Add this PHP class to your child theme’s functions.
    2. Find the icon-cart line. And replace the value with your own SVG code.

    <svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.5 21.75a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM17.25 21.75a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 3a.75.75 0 01.75-.75h1.577A1.5 1.5 0 013.77 3.338L4.53 6h16.256a.75.75 0 01.72.956l-2.474 8.662a2.25 2.25 0 01-2.163 1.632H7.88a2.25 2.25 0 01-2.163-1.632l-2.47-8.645a.738.738 0 01-.01-.033l-.91-3.19H.75A.75.75 0 010 3zm4.959 4.5l2.201 7.706a.75.75 0 00.721.544h8.988a.75.75 0 00.72-.544L19.792 7.5H4.96z"/></svg>

    Hope that helps.
    Regards,
    Kharis

Viewing 1 replies (of 1 total)

The topic ‘Botiga header icons’ is closed to new replies.