Change icon on product detail page (Avone Theme)

Hi,

i want to change the paper plane Icon on my product page.

I found this page: https://www.adornthemes.com/optimal-icons/

But when i change with any of the provided icons on the website, it doesn’t work. I’ve tried it in the product-template.liquid.

Any idea how i can change the icon?

Hi @TamaraW ,

It seems you might be using , but it should be . Please make sure to use the correct class for the desired icon.

I checked by this.

Hope! This will helps you.

Hi @TamaraW

The code should be like below to make it works


Sorry, i think my test was misleading.

I want to change the paper plane icon to e.g. at-truck-l

Therefore i’ve opened the product-template-liquid in the code of the theme. Searched the place where the code of the paper plane is and changed it to at-truck-l.

But the only thing which happens is that the icon disappear completely.

It seems like the code is only able to interpret the already existing icon codes. Cause when i change the paper plane to a heart (it’s the icon of the wishlist), the heart icon will be shown.

Here is a screenshot of the section where i want to change the icon.

TamaraW_0-1701428207154.png

And this is what it looks like, when i change the code to the truck:

TamaraW_1-1701428295547.png

And when i change it to the heart which you can see also on the left:

TamaraW_2-1701428351708.png

You should use below code for truck icon.