- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
July 12, 2016 at 2:26 pm #243570
Historical Forums User
ParticipantI have a sticky menu inside of a bootstrap jumbotron class banner. For some reason when you scroll down and left there is about 20px of white space. Not sure what is going on.
Here is the top of the page where I think the issue is:
<!-- Header and Nav --> <div class="jumbotron"> <header class="navbar navbar-inverse hero" data-spy="affix" data-offset-top="90" role="banner"> <div class="container"> <div class="navbar-header"> <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a href="index.html" class="navbar-brand"> <img src="assets/img/black-cloister-logo.png"> </a> </div> <nav class="collapse navbar-collapse bs-navbar-collapse pull-right " role="navigation"> <ul class="nav navbar-nav"> <li class=""><a href="our-brewery.html">Our Brewery</a></li> <li class=""><a href="our-beers.html">The Beers</a></li> <li class=""><a href="mug-club.html">The Mug Club</a></li> <li class=""><a href="news.html">News</a></li> <li class=""><a href="contact.html">Contact</a></li> </ul> </nav> </div><!-- close container --> </header> <!-- top intro--> <div class="container"> <div class="row intro" > <div class="col-md-12 text-center"> <h1 class="brand-title">Black Cloister Brewing Company</h1> <h2 class="page-slogan">Our Beers</h2> </div> <!-- close col-md-12 --> </div><!-- close row --> </div><!-- close container --> </div> <!-- close jumbotron -->
Here is a live demo:
http://aaronhaas.com/bc/our-beers.htmlJuly 12, 2016 at 2:37 pm #243571bearhead
ParticipantThe extra space issue should go away if you remove this from your css:
.row { margin-right: -15px; margin-left: -15px; }
I’m noticing that the menu links are running off the window though… it seems like there are some larger positioning issues you should address.
July 13, 2016 at 10:11 am #243591Historical Forums User
Participantyep that fixed it. thanks!
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘CSS’ is closed to new topics and replies.