WordPress.org

Ready to get started?Download WordPress

Forums

Delicacy
[resolved] Multi-level menu (5 posts)

  1. aydblog
    Member
    Posted 1 year ago #

    Hi all,

    Yet another question!

    For the menu in the ribbon, I have categories which drop down to child categories (see here) - but some of these child categories have children themselves, and I'd really like these to appear too, with a bit of an indent. Is this possible at all?

    Thanks!

    Ria

  2. aydblog
    Member
    Posted 1 year ago #

    P.S. Would anyone also know the CSS to change the font of the ribbon and menu?

    Thanks!

    Ria

  3. aydblog
    Member
    Posted 1 year ago #

    I've fixed the font of the menu, but I'm still having the hierarchy issue with the ribbon. Can anyone help?

    Thanks!

  4. vvonthetv
    Member
    Posted 1 year ago #

    I'm having the same issue. The Child category is working but the grandchild categories are not despite it all be structured correctly in Appearances > Menu.
    I'm not working in a child theme so the exact code to change in the Editor would be soooo appreciated.
    Thanks x

  5. alex27
    Member
    Theme Author

    Posted 1 year ago #

    This issue will be fixed in the upcoming update. But meanwhile to show all available levels in the menu, you need to edit header.php. Find this piece of code:

    wp_nav_menu(array(
    'theme_location'=> 'primary-menu',					 	'container'=>'div',
    'container_class'=> 'main-menu',
    'menu_class'=>'sf-menu',
    'depth' => '2'
    ));

    and change depth parameter value to 0 for unlimited menu levels.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.