Home Forums WoodMart support forum Removing empty ul.sub-sub-menu list

Removing empty ul.sub-sub-menu list

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #399768

    mikrf
    Participant

    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.
    #399799

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Please provide the admin panel login details of the website to check it myself and help you out accordingly.

    Best Regards

    #399807

    mikrf
    Participant

    Ok, Thanks!

    #399880

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Please provide the HTML block where you added the Sub menu items to check it myself and help you out accordingly.

    Best Regards

    #399973

    mikrf
    Participant

    this block: [html_block id="718"]

    #400147

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Please try re creating the HTML block then check back after clearing the cache.

    Best Regards

    #400273

    mikrf
    Participant

    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

      list.
    Attachments:
    You must be logged in to view attached files.
    #400371

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Sorry but this is how it works by default. You cannot remove them.

    Best Regards

    #400478

    mikrf
    Participant

    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?

    #400581

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    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

Viewing 10 posts - 1 through 10 (of 10 total)