Static top navbar instead of fixed

This change allows us to simplify the code in both
app.css and cleanup.php
This commit is contained in:
Ben Word
2013-02-09 17:41:45 -06:00
parent 3875728c32
commit 8ba19a0155
4 changed files with 6 additions and 19 deletions

View File

@@ -99,12 +99,6 @@ add_filter('style_loader_tag', 'roots_clean_style_tag');
* Add and remove body_class() classes
*/
function roots_body_class($classes) {
// Add 'top-navbar' class if using Bootstrap's Navbar
// Used to add styling to account for the WordPress admin bar
if (current_theme_supports('bootstrap-top-navbar')) {
$classes[] = 'top-navbar';
}
// Add post/page slug
if (is_single() || is_page() && !is_front_page()) {
$classes[] = basename(get_permalink());