Add Top Menu to Mobile Menu

Posted in: Newspaper
Post count: 44

Is there anyway to add the Top Menu to the Mobile Menu other then just adding the CSS from this post to unhide it? Is there no way to add it to the menu-mobile.php??

Could it somehow be added to this:

<div class="td-mobile-content">
<?php
wp_nav_menu(array(
'theme_location' => 'header-menu',
'menu_class'=> '',
'fallback_cb' => 'td_wp_no_mobile_menu'
));

The Header Menu is there, could you just somehow add ‘td-demo-top-menu’ to that same “theme location”? I tried adding it next to ‘header-menu’ but that just broke the site. Adding the CSS the link above works, but it doesn’t look very good. I would rather not go that route if I didn’t have to.

Post count: 22421

Hi,

Unfortunately you cannot add it in php because it is already there. It is hidden with css (with display:none) that is why css is the solution to ‘unhide’ it. If you want to alter the theme files to ‘unhide’ it, the best one to modify would be style.css as the menu is hidden there.

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.