ResolvedAdd custom icon
Tagged: custom icon, icons, menu, Svg
- This topic has 3 replies, 2 voices, and was last updated 6 months ago by
Althemist.
- AuthorPosts
- November 30, 2022 at 2:03 pm #36440
simhopdesign
ParticipantHi we are offering sallads to our menu, but there isnt any related sallad icon to have in the “menu links” on the first page.
When adding a custom image, the hovering doesnt work correctly doe its a image and not a svg. The Meny allso doesnt allow upploading any svg icons.What is a way around?
December 1, 2022 at 11:10 am #36456Althemist
KeymasterHi simhopdesign,
exactly what do you mean by “the hovering doesnt work correctly”? Please, explain more and if possible give us a link where we can see the problem “live”.
Also, WordPress by default doesn’t allow uploading SVGs. You’d need to use a plugin for this.
December 2, 2022 at 11:46 am #36471simhopdesign
ParticipantHi again, here comes a link:
https://www.christoshamburgare.nu/ on the top right corner you´ll see “sallad” with a image bowl.You cant hover on a image and get the same “hover effect” as if you would hover on a the svg flaticon icons we used on all of the other menu items.
So i would like to know how i can upload a svg icon and use it next to my menu item.
If it requires a solution from the backend im more then happy to play around with litle php and js but atleast guide me 🙂December 5, 2022 at 11:24 am #36476Althemist
KeymasterHi simhopdesign,
Unfortunately, images can’t change colors on hover. With SVG and custom CSS you may be able to achieve it.
We are using this plugin for SVG uploads:
And here you can find different ways of styling SVG images depending on the usage type:
- AuthorPosts
You must be logged in and have valid license to reply to this topic.