Make the header fixed to top, with dark background

This commit is contained in:
Kyle Johnson 2015-02-26 10:45:48 -05:00
parent a08e24db57
commit 7a401eb2e9
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
body { padding-top: 70px; }
#footer { #footer {
position: absolute; position: absolute;

View File

@ -1,5 +1,5 @@
<nav class="navbar navbar-default" role="navigation" ng-controller="HeaderController"> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation" ng-controller="HeaderController">
<div class="container-fluid"> <div class="container">
<div class="navbar-header"> <div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mainNav"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mainNav">
<span class="sr-only">Toggle navigation</span> <span class="sr-only">Toggle navigation</span>