Removing empty ul.sub-sub-menu list
-
Hello,
I want to display in my mega menu sub-categories with sub-sub-categories, it’s working as expected. But then I want to have only sub-category without any sub-sub-categories, the “extra menu list” plugin commits me to add at least one item. If I’m leaving that item empty it creates ul.sub-sub-menu which I don’t need.
The question is how can I handle this? Is it possible to remove these empty sub-sub-menu?
Thanks for help!
Attachments:
You must be
logged in to view attached files.
Hello,
Please provide the admin panel login details of the website to check it myself and help you out accordingly.
Best Regards
Hello,
Please provide the HTML block where you added the Sub menu items to check it myself and help you out accordingly.
Best Regards
this block: [html_block id="718"]
Hello,
Please try re creating the HTML block then check back after clearing the cache.
Best Regards
It’s still the same. I want to display only “Menu parent item” without child elements (list items). Is there any way to remove that empty item? I mean whole
Attachments:
You must be
logged in to view attached files.
Hello,
Sorry but this is how it works by default. You cannot remove them.
Best Regards
That’s sad.. ok. Maybe in the future this will be available? because I think I’m not only one who need that.
Also If I do some changes from code perspective it will be overridden after every theme update?
Hello,
I have marked this as a feature request.
Yes they will be overridden when you update the theme. If you use a child theme for customizations then they will not lose after the theme update.
Best Regards