-
AuthorPosts
-
February 12, 2020 at 5:49 pm #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.
February 18, 2020 at 3:46 am #1185508Hey 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,
IsmaelFebruary 18, 2020 at 10:22 am #1185577Hi 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.February 19, 2020 at 8:10 pm #1186161Hi,
You can execute a shortcode to the menu, so this can be shorted out, wouldnt this work out for you?
Best regards,
BasilisMarch 3, 2020 at 11:16 am #1189685Hi 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?
March 3, 2020 at 11:39 am #1189691you 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
March 4, 2020 at 5:43 am #1189893March 11, 2020 at 11:02 am #1192190Hi Guenni,
I’m happy to say that it works!Thank you!
March 12, 2020 at 12:22 am #1192444 -
AuthorPosts
- The topic ‘Enfold Mega Menu Customization’ is closed to new replies.