How to change SVG icons

Hi, Betheme support,

First of all, congratulations for your recent theme updates, specially with the ecommerce improvements, I think that the layout was greatly improved.

I am developing a woocommerce shop, and I had customized the cart and link icons that appears when you go over the products on lists.

With the last theme updates, these icons are now displayed as a SVG icons and I lost my customizations, and I would like to know how would it be possible to change them.

Also, I would like to change the icon that appears when the cart is empty.

Attached you can find screenshots with the icons that I would like to change.

Thanks in advance for your help and support,


Comments

  • Hi,

    Sorry, but what you ask for requires file customization that is not allowed in reference to the Item Support Policy. http://themeforest.net/page/item_support_policy

    So if you want to modify files and don't know how, you should contact your web developer. Item Policy says:

    Item support does not include services to modify or extend the item beyond the original features, style, and functionality described on the item page. For customization services that will help you tailor the item to your specific requirements, we recommend contacting the author to see if they privately offer paid customization services or checking out the great service providers on Envato Studio.


    But I can tell you that the file responsible for the bag icon in the cart page functions/theme-woocommerce.php, and for the bag icon on hover is /functions/builder/class-mfn-builder-woo-helper.php.

    Thanks

  • edited October 2021

    Hi Phil,

    Thank you very much for your quick answer. 

    Maybe I explained myself wrong, when I opened the ticket I was thinking that perhaps I could change the icons through Theme Options or any css trick, but looking at the files responsibles of showing the svg icons, I can see that the svg code is inside the PHP functions.

    Taking this into account, probably I will hide the svg elements and I will use font icons in the ::before element to be able to customize and use my selected icons.

    Thanks again and best regards,

  • Unfortunately, there is no setting in the theme options to change that, but you can do as you mentioned with the before element.


    Thanks

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.