Remove Menu bar below title
-
Hi,
I love this theme! Super slick, and beautiful styling.
I would like to just use the top navigation bar, but I’m not sure how to get rid of the menu bar just below the title and tagline. Is there a simple way to do this using custom css or some other trick?
Thanks for your time!
Here’s my website for reference:
-
Hey there,
In CSS you could do this:
#main-navigation{display:none;}
You could do this in a plugin or a child theme. If you use a child theme then it would be best to just edit a new header.php and remove this around line 67:
<nav id="main-navigation" class="container main-navigation" role="navigation"> <a href="#main-navigation" class="nav-open">Menu</a> <a href="#" class="nav-close">Close</a> <?php wp_nav_menu( array( 'container_class' => 'sf-menu', 'theme_location' => 'main' ) ); ?> <!-- #main-navigation --></nav>
There is a chance that the theme has a CSS field in the options, if not then you can make a child theme:
http://codex.wordpress.org/Child_Themes
http://premium.wpmudev.org/blog/create-wordpress-child-theme/Or you can instead use a plugin if you like:
http://wordpress.org/plugins/imporved-simpler-css/screenshots/
Have a fantastic day! 🙂
Timothy!
That worked! I just used the shorter code you suggested first in a custom css plugin and it worked like a charm.
Some day I will tackle making a child theme. I tried one but it messed a bunch of settings in my header, so I’ll tackle it again once I figure out how to design the site locally on my machine and I can play around with the code more without messing up my blog.
Thanks for your help and enjoy the holiday!
Awesome.
I’d love a holiday, I see it was Labor Day in the US, we don’t have that. 🙂
Hope you had a great one though! 🙂
- The topic ‘Remove Menu bar below title’ is closed to new replies.