[Theme Responsive] Remove Menu Bar
-
How can I remove the menu bar from Responsive theme. I have already created a child theme.
-
Would you like to make it blend with the background, or do you want to just completely get rid of navigation?
open up the header.php document
find this exactly and delete. it will remove the main menu at the top of the page on every page. save a copy of that just incase you change your mind, of the header or of the code 🙂
start here ———- >
<?php wp_nav_menu(array(
‘container’ => ”,
‘theme_location’ => ‘header-menu’)
);
?><?php if (has_nav_menu(‘sub-header-menu’, ‘responsive’)) { ?>
<?php wp_nav_menu(array(
‘container’ => ”,
‘menu_class’ => ‘sub-header-menu’,
‘theme_location’ => ‘sub-header-menu’)
);
?>
<?php } ?></div><!– end of #header –>
end here ————->
No, don’t do that, no header.php editing please. All you need to do is to add this in your style.css
.menu { display:none; }or better yet, simply add this to Appearance > Theme Options > Custom CSS Styles
Please never edit Theme files, not only that you can break stuff, but also as soon as Theme is updated everything will be deleted and you will be on square one. Always work with a Child Theme http://themeid.com/forum/topic/505/child-theme-example/
Also feel free to visit Responsive Support Forum at http://themeid.com/forum
EmilThanks Emil, Ziv and Fixedentropy for your help.
I have edited the style.css as suggested by Emil, worked like a charm.
Thanks again.
Emil
It worked for dekstop and Tablets, but when viewed from Mobile, it is still there, any ideas?.menu { display:none; }open your style.css and you’ll see Media Queries at the bottom, make sure that .menu and .tinynav are both display:none as well.
Emil
Thanks Emil
My website is http://ca-in-delhi.ankhurana.in/. I have set up a favicon in header.php. But it hasn’t worked. I know I could use a plugin to do this but just want to know what is happening here.
Let me know if you want me to start a new topic for this.
I can see it just fine: http://cl.ly/0t3m3F0L2d3Q2p3Q192B IE and Chrome do delays this sometimes and also have troubles displaying it, not much we can do.
Emil
Now, see it. Thanks a lot Emil.
how to change menu look for mobiles and other devices ? I do not want select method
Hi regulatu, please post your question on http://themeid.com/forum/
Thanks,
EmilThanks Emile, I found solution for me at link you told.
Cheers.Hi Emil, could you help me with displaying the sub-header menu on one page only? That would be great, thanks!
@nick Latreille,
You can discuss that on Responsive Theme’s forums.
The topic ‘[Theme Responsive] Remove Menu Bar’ is closed to new replies.