Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #301233

    Hi guys, I’m trying to move the submenus from the hover-dropdowns to another section underneath the main menu, but above the page title.
    so, from this :
    Image and video hosting by TinyPic
    to this
    Image and video hosting by TinyPic
    In the example, Affiliations, Awards, etc are children of Practice. Ideally, this list should be populated with the children of the current page automatically.

    Normally, i can do these things myself, but Enfold is a lot more complicated than previous themes :)

    Cheers

    • This topic was modified 9 years, 11 months ago by radugidei. Reason: added images
    #301806

    Hi!

    You can use the MegaMenu columns functionality to make the submenus appear horizontally: https://vimeo.com/channels/aviathemes/92503669

    Regards,
    Josue

    #302677

    Thanks Josue, i know of megamenus, used them quite a bit.
    What i wanted is different because i want the submenu to be displayed all the time, not just on hover.
    Essentially adding another <div> between the menu div and the title+breadcrumbs div. Or putting this inside the menu div.

    #302987

    Hi!

    This mod would require a lot of coding and unfortunately that’s something we can’t cover, i’ll provide you the files involved so you can try doing it yourself:

    js/avia.js
    Look for the aviaMegamenu function located in line 894.

    includes/helper-main-menu.php
    If you need to put a empty div to store the submenu items you should do it here, around line 131.

    An idea would be to try to move the submenus to an empty container when hovered via JavaScript + additional style fixes could be handled by CSS.

    Best regards,
    Josue

    #303063

    Great thanks.
    Just had another idea… enfold has this option where for pages that have sub-pages, a sidebar menu is added automatically. Essentially, all i want is to move that menu below the navigation menu. Could you please tell me which files handle that automatic sidebar sub-menu ?

    #303072

    Hey!

    functions-enfold.php file, look for the avia_sidebar_menu function around line 938.

    Regards,
    Josue

    #303085

    That was quick :) Thanks Josue, that’s what i was looking for. It’s lines #820 to #873

    #303342

    You are welcome, always glad to help :)

    Regards,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘submenus above page title, not in dropdowns’ is closed to new replies.