Remove menu

Latest Reply from Erin Boese at 2013-08-17 07:43:21

Hi again :)

Can I remove the menu right below the logo?

Or, how can I link pages?

Best,
Daniel

Nevermind, I have removed it now :)

Looks good ;) www.nipinitta.info

For those who don't know how, here it is the easy way for it, and if i was able to to do it...anyone can.

- go to onion editor menu
- choose "header.php" file
- look for this code (using ctrl+f keys):
<div id='mainmenu-container'>

<div class='left-side'></div>
<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>
- Replace that code with this one:

</br>
<!--<div id='mainmenu-container'>

<div class='left-side'></div>
<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>-->

That's it.
I dont know if there is a better way, but it worked for me...

What if I want to remove a menu JUST on the inner pages? I have inner pages that I don't want the slider on. When I remove the slider, the vertical menu goes haywire and I just want to remove it from JUST the inner pages. I have spent an hour poring through the .php files and I cannot for the life of me find a way to do this.

nope took away the slider

Leave a reply

Add codeAdd image