Support » Plugins and Hacks » [Resolved] Menu Doesn't Look Right
2 years, 3 months ago
I want to switch to the Twenty Ten theme on tablets and I am very confused about the code I need to add to the functions.php file so that the same menu is used that is used in my primary theme.
My menu locations are “Top Menu” and “Main Menu” and the menu I use for both is ‘ASC/PASC Menu’.
I have put this code at the bottom of the functions.php file and still get an awful looking menu on the tablet using the Twenty Ten theme:
register_nav_menu(‘main-menu’, ‘ASC/PASC Menu’);
register_nav_menu(‘top-menu’, ‘ASC/PASC Menu’);
Is this the code I am supposed to enter in functions.php to get the menu to look right?
Have a look at the FAQ section “How do Menus and Widgets work?!” https://wordpress.org/plugins/device-theme-switcher/faq/