How to use icons in my javascript?

I don’t understand where I should add all those lines
On my server, I can’t find where my theme directory is.

2 Likes

Hello and welcome @Apocal :slight_smile:

Are you trying to add an icon to a theme component, or similar?

2 Likes

yes, i try upload my *.svg costum icon with category icon component and i see like this.

i use my costum theme, from github.

my settings in Category components:

in my theme /assets direcotry upluad home-svgrepo-com.svg icon.

2 Likes

Are you trying to add a custom icon to use in Category Icons? Would you be able to add it through the theme UI rather than a custom theme component?

5 Likes

Thanks for the help. I fixed everything and everything works.

3 Likes