get_option( 'header_horizontal_variant' ); $header_content_width = $posterity_a13->get_option( 'header_content_width' ); $header_width = ' ' . $header_content_width; if($header_content_width === 'narrow' && $posterity_a13->get_option( 'header_content_width_narrow_bg') === 'on' ){ $header_width .= ' narrow-header'; } $header_classes = 'to-move a13-horizontal header-type-one_line a13-'.posterity_horizontal_header_color_variant().'-variant header-variant-' . $variant . $header_width; $menu_on = $posterity_a13->get_option( 'header_main_menu' ) === 'on'; $socials = $posterity_a13->get_option( 'header_socials' ) === 'on'; $icons_no = 0; $header_tools = posterity_get_header_toolbar( $icons_no ); if ( ! $icons_no ) { $header_classes .= ' no-tools'; } else { $header_classes .= ' tools-icons-' . $icons_no; //number of icons } //how sticky version will behave $header_classes .= ' '.$posterity_a13->get_option( 'header_horizontal_sticky' ); //hide until it is scrolled to $show_header_at = $posterity_a13->posterity_get_meta('_horizontal_header_show_header_at' ); if(strlen($show_header_at) && $show_header_at > 0){ $header_classes .= ' hide-until-scrolled-to'; } ?>