/** * File customizer.js. * * Theme Customizer enhancements for a better user experience. * * Contains handlers to make Theme Customizer preview reload changes asynchronously. */ (function($) { /*Primary Color For Title Hover Border*/ wp.customize('primary_bg_color', function(value) { // When the value changes. value.bind(function(newval) { // Generate the CSS. var cssContent = `.book-author-template-standard-post__post-title a h2, .book-author-template-standard-post__post-title a h3, ul.recent-post-widget li .recent-widget-content h2{ background-image: linear-gradient(to right, ${newval} 0%, ${newval} 100%) }`; // Check if we already have a '); } // Add the CSS to the '); } // Add the CSS to the '); } // Add the CSS to the '); } // Add the CSS to the