Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1183952

    Hi Enfold team,
    I’m currently working on a mega menu for my website (which I have pasted below). I want to add a small icon next to each page name in the “Solutions” section. Unfortunately, I’ve only been able to use images so far, however it seems that with images they are warping the mega menu. This can be seen with the “Sales” example I’ve left in the website.

    Is there any way I can have icons added right next to the titles with the appropriate proportions?

    On a separate note, the last page seems to be taking the space of two pages rather than one, as the final page slot is empty. Is there a way to fix this as well?

    I’ve added both the website as well as a temporary account for admin access.

    Thanks

    • This topic was modified 4 years, 10 months ago by Dzammit.
    #1185508

    Hey Dzammit,

    Thank you for the inquiry.

    You can add an icon shortcode beside the name of the menu item in the Navigation Label field. Example:

    [av_font_icon icon='ue804' font='entypo-fontello' style='' caption='' size='40px' position='left' color='' link='' linktarget='' animation='' id='' custom_class='' av_uid='av-k6r822oo' admin_preview_bg=''][/av_font_icon]Menu Item
    

    Best regards,
    Ismael

    #1185577

    Hi Ismael,

    Thank you for your reply. Unfortunately, what I want to achieve has to be done on a MegaMenu, where a Navigation Label is not possible.
    I’ve sent a screenshot here to illustrate this.

    #1186161

    Hi,

    You can execute a shortcode to the menu, so this can be shorted out, wouldnt this work out for you?

    Best regards,
    Basilis

    #1189685

    Hi Basilis,

    Took the time to try this out. Unfortunately, shortcode doesn’t seem to work within a Mega Menu like this, for some reason.

    I’ve attached 2 screenshots showing the issue.

    Any help?

    #1189691

    you can activate the do_shortcode on menu-items by this in child-theme functions.php:

    add_filter('wp_nav_menu_items', 'do_shortcode');

    it works on mega-menu titles and items aswell. Maybe you have to get rid of: avia-bullet

    #1189893

    Hi,

    Thanks for helping out @guenni007, did you try that out @Dzammit?

    Best regards,
    Rikard

    #1192190

    Hi Guenni,
    I’m happy to say that it works!

    Thank you!

    #1192444

    Hi,

    Great! Glad it’s working. We’ll close the thread now.

    Have a nice day.

    Best regards,
    Ismael

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Enfold Mega Menu Customization’ is closed to new replies.