0

I am now making my first WordPress theme using bootstrap, and trying to center my brand logo in the middle of my menu. I have looked at different ways to do it, even here on SO, but has been unable to make them work properly.

Here's my HTML:

<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container">
        <div class="row">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                  <span class="icon-bar"></span>
                  <span class="icon-bar"></span>
                  <span class="icon-bar"></span>
                </a>
                <a class="brand" href="<?php echo site_url(); ?>"><?php bloginfo('name'); ?></a>
                <div class="nav-collapse collapse">
                  <ul class="nav">

                      <?php wp_list_pages(array('title_li' => '', 'exclude' => 4)); ?>

                  </ul>
                </div><!--/.nav-collapse -->
        </div>
        </div>
    </div>
  </div>

How can I make this work, and still keep it responsive? Do I have to make two menu fields? Any suggestions is appreciated!

janlindso
  • 1,225
  • 3
  • 16
  • 41

0 Answers0