I'm trying to add a menu div just above the copyright and have it centered on mobile. I've tried to add the following code:
<!-- ####### SOCKET CONTAINER ####### -->
<div class='container_wrap <?php echo $extraClass; ?>' id='socket'>
<div class='container'><div class='footer-nav-div'>
<?php wp_nav_menu( array('menu' => 'Footer')); ?>
</div> <span class='copyright'>© 2003-<?php echo date(Y); ?> '><?php echo get_bloginfo('name');?> LLC</span>
</div>
</div>
<!-- ####### END SOCKET CONTAINER ####### -->
With the following CSS:
.footer-nav-div {
float: right;
padding-right:20px;
display: block;
height: 15px;
background: #000;
margin:0 auto;
}
.footer-nav-div ul {
margin: 0;
padding: 0;
list-style: none;
}
.footer-nav-div li {
float: left;
padding: 0 5px;
}
And then this for the Media Query:
/*bottom footer nav*/
#socket .footer-nav-div {float:none; text-align: center;}
But it still comes out floated to the left.
Any suggestions would be awesome. I'd even buy one of the other themes that have the footer items on both sides, if I had to.
(Mods, I hope I've coded this post the right way, too. If not, delete it.)














