/** * Theme customizer binding minified File. * * @package Articled * @since Articled 1.0 * */ (function($) { wp.customize('blogname', function(value) { value.bind(function(newval) { $('.site-title a').text(newval) }) }); wp.customize('blogdescription', function(value) { value.bind(function(newval) { $('.site-description').html(newval) }) }); wp.customize('articled_sitetagline_padding', function(value) { value.bind(function(newval) { $('header .header-logo').css({ 'padding': newval }) }) }); wp.customize('articled_sitetagline_margin', function(value) { value.bind(function(newval) { $('header .header-logo').css({ 'margin': newval }) }) }); wp.customize('articled_sitetagline_color', function(value) { value.bind(function(newval) { $('header .header-logo').css({ 'background-color': newval }) }) }); wp.customize('articled_sitetitle_size', function(value) { value.bind(function(newval) { $('header .site-title').css({ 'font-size': newval }) }) }); wp.customize('articled_sitetitle_size_font_color', function(value) { value.bind(function(newval) { $('header .site-title a ').css({ 'color': newval }) }) }); wp.customize('articled_sitetitle_hover_color', function(value) { value.bind(function(newval) { $('header .site-title a').hover('color', newval) }) }); wp.customize('articled_sitetitle_deco', function(value) { value.bind(function(newval) { $('header .site-title a').css('text-decoration', newval) }) }); wp.customize('articled_sitedesc_size', function(value) { value.bind(function(newval) { $('header .site-description').css({ 'font-size': newval }) }) }); wp.customize('articled_sitedesc_size_font_color', function(value) { value.bind(function(newval) { $('header .site-description').css({ 'color': newval }) }) }); wp.customize('articled_sitedesc_deco', function(value) { value.bind(function(newval) { $('header .site-description').hover('text-decoration', newval) }) }) })(jQuery);