Expanding the nav bar

  • Author
  • #1241472

    I’m another complete novice to all of this.

    My site is http://www.jetnikoff.com

    I would like the website to expand the page and not sit centred. I recently made a child theme to remove the search bar from my twenty eleven theme.
    I accidentally didn’t comment it out properly and acheived spanning the nav bar across the page and removing the background (which I’m ok with). This is what I had

    // Has the text been hidden?
    if ( ‘blank’ == get_header_textcolor() ) :
    <div class=”only-search<?php if ( $header_image ) : ?> with-image<?php endif; ?>”>
    <?php get_search_form(); ?>
    else :
    <?php get_search_form(); ?>
    <?php endif; ?>–>
    Obviously I forgot to open the comment out properly by omitting the

    But this left me with the search box moved and the nav bar expanding.

    Once I opened the comment out properly, the search bar went and my nav bar went back to being centred and two lines. I’d love to have all the nav on one line.
    I’ve tried moving the commenting out around in the header.php but can’t work out how to replicate it with the search bar gone.
    Any ideas?

    Thanks so much for reading.

    The blog I need help with is jetnikoffbicycleco.com.



    We cannot help you with that site here at all. WordPress.com and WordPress.org are completely separate and have separate logins. We provide support here only for free hosted WordPress.COM blogs and no others. You are posting to the wrong support forums. If you don’t have a username account at WordPress.org click http://wordpress.org/support/ and register one on the top right hand corner of the page that opens, so you can post to the support forums there and receive advice from WordPress.org bloggers.

The topic ‘Expanding the nav bar’ is closed to new replies.