Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* *****Navigation. Moved from top to the bottom, styled to be sticky ***** **NOTE: the commented out code worked fine except it did not render responsively in tablets **/
- /*div#page .hfeed .site {
- width: 100%!important;
- height: 100%!important;
- position: relative!important;
- }
- #nav-container {
- position: relative;
- min-height: 100%;
- width: 100%;
- }
- .main-navigation {
- background-color: #939274;
- padding-top: 20px;
- padding-bottom: 20px;
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- }
- div.nav-menu > ul {
- border-bottom: 0!important;
- border-top: 0!important;
- text-align: center!important;
- }
- .current_page_item > a, .main-navigation .current_page_ancestor > a {
- color: #fff!important;
- font-weight: normal!important;
- } */
- html, body, #wrap {
- height:100%;
- }
- body > #wrap {
- height: auto;
- min-height: 100%;
- }
- #page {
- padding-bottom: 80px; /* same value as nav height */
- }
- #nav-container {
- margin: -80px auto 0; /* negative value of nav height */
- position: relative;
- height: 80px;
- clear: both;
- width: 100%;
- }
- .main-navigation {
- background-color: #939274;
- padding-top: 20px;
- padding-bottom: 20px;
- bottom: 0;
- left: 0;
- width: 100%;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement