Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1431582

    Hi,

    I want to add a custom icon to my submenus. How I can add? I already did icon design for my menu. How can I them to the submenu?

    Thanks

    #1431642

    Hey karacafer,
    You can add your icon with css, first you would determine the menu ID for the menu item, in this example it is #menu-item-3059
    then use that ID in this css and the URL to your icon:

    #menu-item-3059 span.avia-menu-text:before {
      content: url(https://img.icons8.com/color/17/wordpress.png);
        display: inline;
        padding-right: 10px;
        vertical-align: sub;
    }
    

    This is how this example worked:
    Enfold_Support_4555.jpeg
    Then repeat this for each menu item.

    Best regards,
    Mike

    #1431791

    Hi,

    Thanks for your message. I have a question. The icon and page name don’t look in the same line. How can adjust the icon?

    #1431804

    Hi,
    Please link to your page so we can examine the elements and advise.

    Best regards,
    Mike

    #1431818

    Hi,

    I added my test page login info to private content. Please check.

    You can add the code in the Customize css part.

    Thanks

    #1431847

    Hi,

    Thank you for the info.

    You can add the top css property to the previous css code to adjust the vertical position of the icon.

    #menu-item-39 span.avia-menu-text:before {
        content: url(https://img.icons8.com/color/17/wordpress.png);
        display: inline;
        padding-right: 10px;
        vertical-align: sub;
        top: 1px;
        position: relative;
    }
    

    We tried to apply this modification to the site but the account above is not an admin.

    Best regards,
    Ismael

    #1431933

    It worked, thanks

    #1431934

    Hi,
    Glad Ismael could 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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Submenu Custom Icon’ is closed to new replies.