Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1186416

    Hi,

    I believe there is a small bug regarding the navigation menu lay-out when a menu is included via a Widget.

    When including a navigation menu with 2 levels (so also sub pages are included) only the sub menu items of the current active menu item are indented. Any sub menu items of other pages do not have indentation.

    The indentation of the submenu is defined in /enfold/css/avia-snippet-widget.css line 91 -97:

    #top .widget_nav_menu .current-menu-item > ul,
    #top .widget_nav_menu .current_page_item > ul,
    #top .widget_nav_menu .current_page_ancestor > ul,
    #top .widget_nav_menu .current-menu-ancestor > ul {
      display:block;
      padding:0 0 0 13px;
    }

    I believe .menu-item-has-children should be included to indent all sub menus:

    #top .widget_nav_menu .menu-item-has-children > ul,
    #top .widget_nav_menu .current-menu-item > ul,
    #top .widget_nav_menu .current_page_item > ul,
    #top .widget_nav_menu .current_page_ancestor > ul,
    #top .widget_nav_menu .current-menu-ancestor > ul {
      display:block;
      padding:0 0 0 13px;
    }

    Best regards,
    Emazing

    #1187523

    Hey Joris,

    Thank you for the info.

    We’ll report the issue to our channel. Could you provide a link to the page showing the issue? We would like to check it further.

    Best regards,
    Ismael

    #1187654

    Hi Ismael,

    Thanks for your reply.

    I’ve created a few pages at our own site to show the issue: https://emazing.nl/chapter-1/

    I’ve created a navigation menu and added it to a widget area via the ALB to all pages. I’ve also included the navigation menu via the sidebar. Both menus show the same lack of indentation with the submenu when viewing a page which is not part of the current chapter.

    I don’t think it’s really important because the fix is quite ease and also because I hardly ever see a (Enfold) website with this kind of navigation. I ran into this because a client of ours uses a navigation menu in this manner.

    Best regards,
    Joris

    #1188349

    Hi,

    The child ul or items are supposed to be indented, so this is a valid issue. We have already reported the thread to our channel, so the fix should be included in the next patch.

    Thank you for the update.

    Best regards,
    Ismael

    #1188430

    Hi Ismael,

    Great! Topic closed.

    Joris

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Small bug in navigation menu lay-out when included via widget’ is closed to new replies.