Struggling to make my navigation menu fit properly on mobile devices like iPhones and iPads? Check it out. Here are the CSS properties I've set:
#wrapper{
max-width: 1600px;
min-width: 320px;
width: 100%;
margin: 0 auto;
position: relative;
}
#header{
max-width: 1018px;
min-width: 320px;
width: 100%;
margin: 0 auto;
}
#social-tabs{
display: block;
padding: 4px;
margin: 5px 0px;
}
#nav-menu{
margin: 0 auto;
width: 100%;
max-width: 1018px;
min-width: 320px;
}
I've tried adding a screen resizer to the site, but I'm still facing issues...
function reSize($target){
$target.css('width', $(window).width()+'px');
}
$(document).ready(function(){
$(window).bind('resize', reSize($('#header')));
$(window).trigger('resize');
});
If anyone can help me figure out what's going wrong, I'd really appreciate it!