SMThemes Support » FashionStyle
Moving a Menu
11 years ago
kelemvor
Member
This theme is setup with the Category menu above the slider and the page menu up on top by the logo. How can I put the Page menu above the slider and not have a menu up by the logo at all? I want to have the category list in a sidebar widget instead.
Thanks! |
11 years ago
kelemvor
Member
Well, in case anyone else wants to do this, here's what I figured out.
The top menu is controlled by this section: <div id='menu-box'> <div id='secondarymenu'> <?php wp_nav_menu('depth=0&theme_location=sec-menu&container_class=menu-topmenu-container&menu_class=menus menu-topmenu&fallback_cb=block_sec_menu'); ?> </div> </div> The lower menu is controlled by this section: <div id='mainmenu-container'> <div id='mainmenu'> <?php $nav_menu_params=array( 'depth'=>0, 'theme_location'=>'main-menu', 'menu_class'=>'menus menu-primary', 'fallback_cb'=>'block_main_menu' ); wp_nav_menu($nav_menu_params); ?> </div> </div> I deleted the top section completely, and changed the fallback line in the section section to: 'fallback_cb'=>'block_sec_menu' |
11 years ago
temple
Member
and how to remove or add thing to this menu
|
Leave a reply
Search by forum
SMThemes.com Support
-
Categories
- Framework
- Themes
- Affiliate Company
- Sponsorship Useful pages
- How to start using our themes
- Contacts