WordPress.org

Ready to get started?Download WordPress

Forums

Tonic
[resolved] Empty Box "No Categories" in Header (4 posts)

  1. michaelhhv
    Member
    Posted 9 months ago #

    I remove the the menu in Customize to where it is just sitting on -Select- and instead of nothing appearing in the header I have a black box that says no categories. Can someone tell me how to remove this so there is no primary menu in the header please? I have then avigation I want to use in the sidebar and don't need it cluttering up the header with the jumbo call to action already there. Thank you!

  2. michaelhhv
    Member
    Posted 9 months ago #

    Well I went into the header.php file and removed this line of code that did the trick:

    <div class="right-header fr">
    					<nav id="site-navigation" class="navbar navbar-inverse" role="navigation">
    						<h3 class="assistive-text"><?php _e( 'Main menu', 'tonic' ); ?></h3>
    						<a class="assistive-text" href="#primary" title="<?php esc_attr_e( 'Skip to content', 'tonic' ); ?>"><?php _e( 'Skip to content', 'tonic' ); ?></a>
    						<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'navbar-inner', 'menu_class' => 'nav', 'fallback_cb' => 'bavotasan_default_menu' ) ); ?>
    					</nav><!-- #site-navigation -->
    				</div>
  3. c.bavota
    Member
    Theme Author

    Posted 8 months ago #

    You can easily just use this CSS:

    #site-navigation {
       display: none;
    }
  4. noogie_filmore
    Member
    Posted 8 months ago #

    Hi there c.bavota-

    Where exactly should that CSS go to remove the header categories?

    Also, where should I look to change the Title font in the header?

    Thank you for taking the time.

Reply

You must log in to post.

About this Theme

About this Topic