( function( jQuery ){ wp.customize( 'theme_mods_business-world[cc_menu_elem_back_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-menu_elem_back_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-menu_elem_back_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_borders_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-borders_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-borders_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_slider_text_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-slider_text_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-slider_text_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_sideb_background_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-sideb_background_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-sideb_background_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_content_post_bg_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-content_post_bg_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-content_post_bg_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_footer_sideb_background_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-footer_sideb_background_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-footer_sideb_background_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_footer_back_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-footer_back_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-footer_back_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_footer_text_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-footer_text_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-footer_text_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_featured_posts_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-featured_posts_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-featured_posts_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_text_headers_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-text_headers_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-text_headers_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_primary_text_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-primary_text_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-primary_text_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_primary_links_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-primary_links_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-primary_links_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_primary_links_hover_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-primary_links_hover_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-primary_links_hover_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_menu_links_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-menu_links_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-menu_links_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_menu_links_hover_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-menu_links_hover_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-menu_links_hover_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_hover_menu_item]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-hover_menu_item-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-hover_menu_item-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_selected_menu_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-selected_menu_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-selected_menu_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_logo_text_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-logo_text_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-logo_text_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_button_background_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-button_background_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-button_background_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_button_text_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-button_text_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-button_text_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); wp.customize( 'theme_mods_business-world[cc_meta_info_color]', function( value ) { value.bind( function( to ) { style = jQuery('#custom-meta_info_color-css'); style.remove(); style = jQuery('\ ').appendTo( 'head' ); } ); if(!(jQuery('#custom-meta_info_color-css').length > 0)){ jQuery('\ ').appendTo( 'head' ); } } ); } )( jQuery );