-
AuthorPosts
-
November 28, 2022 at 12:39 am #1374079
Hi guys,
In the top-bar of my site there is an Enfold Secondary menu. What I would like to do is to add a small icon before each item. Like this:
(ICON) +31 26 445 13 02 (ICON) (Email address hidden if logged out) (ICON) Blog
These wil be icons which I designed myself in Illustrator. How can I achieve this?
Thanks in advance.
November 28, 2022 at 1:31 am #1374086Hey dennisnoharemanon,
Thanks for the link to your site, I recommend saving your icons as image files such as png or jpg and then use CSS to add the images, here is an example of what it would look like.#header_meta .sub_menu #menu-item-2545:before { content: url(/blog.png); display: inline-block; padding-right: 10px; height: 10px; width: 10px; } #header_meta .sub_menu #menu-item-2546:before { content: url(/mail.png); display: inline-block; padding-right: 10px; height: 10px; width: 10px; } #header_meta .sub_menu #menu-item-2547:before { content: url(/phone.png); display: inline-block; padding-right: 10px; height: 10px; width: 10px; }Please give this a try and let us know if you have any trouble.
Best regards,
MikeDecember 2, 2022 at 10:33 am #1374740Hi Mike,
Thank you very much. That worked well!
Another question. Hoe can align them so it will become like this:

I tried several things, but it didn’t work.
December 2, 2022 at 1:29 pm #1374767December 5, 2022 at 2:59 pm #1375110Wauw Mike! Thank you. You can close this ticket.
December 5, 2022 at 3:20 pm #1375112Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘How can I add icons to Enfold Secondary Menu items?’ is closed to new replies.

