I'm having difficulty centering the logo and menu in the md and sm view.
I would like to animate the margin of the brand logo and menu items, but using margin auto and position absolute is not working for me.
Using TransformX and col-offset helps with centering, but it's not pixel-perfect. Also, when animating the margin, the logo and menu lose their center alignment.
<nav class="navbar navbar-default navbar-fixed-top container menufix">
<div class="row row-eq-height" id="rowmenu">
<div class="row row-eq-height-resp">
<!-- Brand Logo -->
<div class="col-xs-10 col-sm-12 col-md-12 col-lg-12">
<a class="navbar-brand" id="brand-logo" href="#">
<img alt="BrandLogo" class="brandlogo" src="/wp-content/themes/kdproduction/logo.png">
</a>
</div>
<!-- Brand and toggle - mobile display -->
<div class="col-xs-2 hidden-lg hidden-md hidden-sm">
<button type="button" class="btn-resp-style" data-toggle="collapse" data-target=".navbar-collapse">SVG</button>
</div>
</div>
<!-- Main Top nav -->
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-8" >
<div class="navbar-collapse collapse">
<?php wp_nav_menu( array(
'theme_location' => 'primary',
'container' => false,
'menu_id' => 'kdnavmenulista',
'menu_class' => 'nav navbar-nav navbar-header kdnavmenulista'
));
?>
</div><!-- /.navbar-collapse -->
</div>
</div>
</nav><!-- /.container -->