Skip to content

Commit

Permalink
SB Admin 2 Menu Bugfix
Browse files Browse the repository at this point in the history
Added more top padding for mobile screens and included instructions on
moving to static menu in the page docs.
  • Loading branch information
IronSummitMedia committed Apr 4, 2014
1 parent 2bff759 commit 48fbc78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions sb-admin-v2.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
<ul>
<li>SB Admin 2 is an updated version of the original SB Admin free Bootstrap admin template.</li>
<li>We recommend customizing the admin template beyond the default Bootstrap theme.</li>
<li>If you want to have the menu bar display as static, simply change from <code>navbar-fixed-top</code> to <code>navbar-static-top</code> and remove the <code>padding-top: 50px</code> and <code>padding-top: 100px</code> from both of the <code>body</code> elemends in the <code>sb-admin.css</code> stylesheet.</li>
</ul>
</div>
<div class="col-lg-12">
Expand Down
8 changes: 7 additions & 1 deletion templates/sb-admin-v2/css/sb-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@

body {
background-color: #f8f8f8;
padding-top: 50px;
padding-top: 100px;
}

@media(min-width:768px) {
body {
padding-top: 50px;
}
}

/* Wrappers */
Expand Down

0 comments on commit 48fbc78

Please sign in to comment.