jQuery( document ).ready( function() { /* ===

=== */ wp.customize( 'appointment_booking_p_font_color', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo p' ).css( 'color', to ); } ); } ); wp.customize( 'appointment_booking_p_font_family', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo p' ).css( 'font-family', to ); } ); } ); wp.customize( 'appointment_booking_p_font_weight', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo p' ).css( 'font-weight', to ); } ); } ); wp.customize( 'appointment_booking_p_font_style', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo p' ).css( 'font-style', to ); } ); } ); wp.customize( 'appointment_booking_p_font_size', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo p' ).css( 'font-size', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_p_line_height', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo p' ).css( 'line-height', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_p_letter_spacing', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo p' ).css( 'letter-spacing', to + 'px' ); } ); } ); /* === === */ wp.customize( 'appointment_booking_a_font_color', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo a' ).css( 'color', to ); } ); } ); wp.customize( 'appointment_booking_a_font_family', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo a' ).css( 'font-family', to ); } ); } ); wp.customize( 'appointment_booking_a_font_weight', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo a' ).css( 'font-weight', to ); } ); } ); wp.customize( 'appointment_booking_a_font_style', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo a' ).css( 'font-style', to ); } ); } ); wp.customize( 'appointment_booking_a_font_size', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo a' ).css( 'font-size', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_a_line_height', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo a' ).css( 'line-height', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_a_letter_spacing', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo a' ).css( 'letter-spacing', to + 'px' ); } ); } ); /* ===

=== */ wp.customize( 'appointment_booking_h1_font_color', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h1' ).css( 'color', to ); } ); } ); wp.customize( 'appointment_booking_h1_font_family', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h1' ).css( 'font-family', to ); } ); } ); wp.customize( 'appointment_booking_h1_font_weight', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h1' ).css( 'font-weight', to ); } ); } ); wp.customize( 'appointment_booking_h1_font_style', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h1' ).css( 'font-style', to ); } ); } ); wp.customize( 'appointment_booking_h1_font_size', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h1' ).css( 'font-size', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_h1_line_height', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h1' ).css( 'line-height', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_h1_letter_spacing', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h1' ).css( 'letter-spacing', to + 'px' ); } ); } ); /* ===

=== */ wp.customize( 'appointment_booking_h2_font_color', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h2' ).css( 'color', to ); } ); } ); wp.customize( 'appointment_booking_h2_font_family', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h2' ).css( 'font-family', to ); } ); } ); wp.customize( 'appointment_booking_h2_font_weight', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h2' ).css( 'font-weight', to ); } ); } ); wp.customize( 'appointment_booking_h2_font_style', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h2' ).css( 'font-style', to ); } ); } ); wp.customize( 'appointment_booking_h2_font_size', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h2' ).css( 'font-size', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_h2_line_height', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h2' ).css( 'line-height', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_h2_letter_spacing', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h2' ).css( 'letter-spacing', to + 'px' ); } ); } ); /* ===

=== */ wp.customize( 'appointment_booking_h3_font_color', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h3' ).css( 'color', to ); } ); } ); wp.customize( 'appointment_booking_h3_font_family', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h3' ).css( 'font-family', to ); } ); } ); wp.customize( 'appointment_booking_h3_font_weight', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h3' ).css( 'font-weight', to ); } ); } ); wp.customize( 'appointment_booking_h3_font_style', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h3' ).css( 'font-style', to ); } ); } ); wp.customize( 'appointment_booking_h3_font_size', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h3' ).css( 'font-size', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_h3_line_height', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h3' ).css( 'line-height', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_h3_letter_spacing', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h3' ).css( 'letter-spacing', to + 'px' ); } ); } ); /* ===

=== */ wp.customize( 'appointment_booking_h4_font_color', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h4' ).css( 'color', to ); } ); } ); wp.customize( 'appointment_booking_h4_font_family', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h4' ).css( 'font-family', to ); } ); } ); wp.customize( 'appointment_booking_h4_font_weight', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h4' ).css( 'font-weight', to ); } ); } ); wp.customize( 'appointment_booking_h4_font_style', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h4' ).css( 'font-style', to ); } ); } ); wp.customize( 'appointment_booking_appointment_booking_h4_font_size', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h4' ).css( 'font-size', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_appointment_booking_h4_line_height', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h4' ).css( 'line-height', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_appointment_booking_h4_letter_spacing', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h4' ).css( 'letter-spacing', to + 'px' ); } ); } ); /* ===

=== */ wp.customize( 'appointment_booking_appointment_booking_h5_font_color', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h5' ).css( 'color', to ); } ); } ); wp.customize( 'appointment_booking_appointment_booking_h5_font_family', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h5' ).css( 'font-family', to ); } ); } ); wp.customize( 'appointment_booking_h5_font_weight', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h5' ).css( 'font-weight', to ); } ); } ); wp.customize( 'appointment_booking_h5_font_style', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h5' ).css( 'font-style', to ); } ); } ); wp.customize( 'appointment_booking_h5_font_size', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h5' ).css( 'font-size', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_h5_line_height', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h5' ).css( 'line-height', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_h5_letter_spacing', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h5' ).css( 'letter-spacing', to + 'px' ); } ); } ); /* ===
=== */ wp.customize( 'appointment_booking_h6_font_color', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h6' ).css( 'color', to ); } ); } ); wp.customize( 'appointment_booking_h6_font_family', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h6' ).css( 'font-family', to ); } ); } ); wp.customize( 'appointment_booking_h6_font_weight', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h6' ).css( 'font-weight', to ); } ); } ); wp.customize( 'appointment_booking_h6_font_style', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h6' ).css( 'font-style', to ); } ); } ); wp.customize( 'appointment_booking_h6_font_size', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h6' ).css( 'font-size', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_h6_line_height', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h6' ).css( 'line-height', to + 'px' ); } ); } ); wp.customize( 'appointment_booking_h6_letter_spacing', function( value ) { value.bind( function( to ) { jQuery( 'body.ctypo h6' ).css( 'letter-spacing', to + 'px' ); } ); } ); } ); // jQuery( document ).ready