/**
 * Add and remove body_class() classes
 */
function roots_body_class($classes)
{
    // Always add ac-theme
    $classes[] = 'ac-theme';
    // Add 'top-navbar' or 'bottom-navabr' class if using Bootstrap's Navbar
    // Used to add styling to account for the WordPress admin bar
    if (current_theme_supports('bootstrap-top-navbar') && shoestrap_getVariable('navbar_fixed') == 1 && shoestrap_getVariable('navbar_fixed_position') != 1) {
        $classes[] = 'top-navbar';
    } elseif (current_theme_supports('bootstrap-top-navbar') && shoestrap_getVariable('navbar_fixed') == 1 && shoestrap_getVariable('navbar_fixed_position') == 1) {
        $classes[] = 'bottom-navbar';
    }
    if (ac_navbar_start_transparent()) {
        $classes[] = ' ac-transparent-navbar-body ';
    }
    return $classes;
}
 function shoestrap_navbar_class($navbar = 'main')
 {
     $fixed = shoestrap_getVariable('navbar_fixed');
     $fixedpos = shoestrap_getVariable('navbar_fixed_position');
     $style = shoestrap_getVariable('navbar_style');
     $transparent = ac_navbar_start_transparent();
     if ($fixed != 1) {
         $class = 'navbar navbar-static-top';
     } else {
         $class = $fixedpos == 1 ? 'navbar navbar-fixed-bottom' : 'navbar navbar-fixed-top';
         if (ac_navbar_start_transparent()) {
             $class .= ' ac-transparent-navbar ';
         }
     }
     if ($navbar != 'secondary') {
         return $class . ' ' . $style;
     } else {
         return 'navbar ' . $style;
     }
 }