How to add a custom image icon in the menu?

Posted in: Newspaper
Post count: 174

I have a custom image that I want to use instead of font-awesome, how can I do this? Thanks

Post count: 20688

Hi,

That could be done with CSS maybe. For font awesome icons it is easy since all that has to be done is to insert the class and have the plugin active.

Maybe something like this
https://www.screencast.com/t/4PYfzC0k
This is the code I used in the example if you should consider it (change the menu item ID with your own)

.menu-item-1963:before {
content:'';
background: url("");
background-size: 15px 15px; background-repeat: no-repeat;
position: absolute;
width: 15px;
height: 15px;
top: 15px;
}

It may need further modifications to work in other situations. Or maybe you can find another method.

Thanks

Post count: 174

Nice thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.