<?php
/**
 * Add inline css for blog bank theme
 *
 * 
 */
if ( ! function_exists( 'blog_bank_inline_css' ) ) :
function blog_bank_inline_css() {

   $blogbank_header_bgcolor = get_theme_mod('blogbank_header_bgcolor', '#f8f8f8' );
 
	
    
        $style = '';
   
                // archive header style 
        if ($blogbank_header_bgcolor != '#f8f8f8' ){
                $style .= 'header nav.navbar-default{background:'.$blogbank_header_bgcolor.'}';
         }
      


        wp_add_inline_style( 'blog-bank-style', $style );
}
add_action( 'wp_enqueue_scripts', 'blog_bank_inline_css' );
endif;
