Edit file File name : customizer-preview.min.js Content :!function(e){wp.customize("astra-settings[edd-archive-product-align]",function(d){d.bind(function(d){var t=e(document).find(".ast-edd-archive-article, .edd_download");t.removeClass("align-left align-right align-center"),t.addClass(d)})}),wp.customize("astra-settings[edd-archive-product-shadow]",function(d){d.bind(function(d){var t=e(document).find(".ast-edd-archive-article, .edd_download");d=5<d?5:d<0?0:d,t.removeClass("box-shadow-0 box-shadow-1 box-shadow-2 box-shadow-3 box-shadow-4 box-shadow-5"),t.addClass("box-shadow-"+d)})}),wp.customize("astra-settings[edd-archive-product-shadow-hover]",function(d){d.bind(function(d){var t=e(document).find(".ast-edd-archive-article, .edd_download");d=5<d?5:d<0?0:d,t.removeClass("box-shadow-0-hover box-shadow-1-hover box-shadow-2-hover box-shadow-3-hover box-shadow-4-hover box-shadow-5-hover"),t.addClass("box-shadow-"+d+"-hover")})}),wp.customize("astra-settings[edd-archive-button-v-padding]",function(d){d.bind(function(d){var t=(t=(t="")+".ast-edd-archive-block-wrap .edd-add-to-cart, .ast-edd-archive-block-wrap .edd_go_to_checkout, .ast-edd-archive-block-wrap .ast-edd-variable-btn, .edd_downloads_list .edd-add-to-cart, .edd_downloads_list .edd_go_to_checkout, .edd_downloads_list .ast-edd-variable-btn{"+("padding-top:"+d+"px;"))+("padding-bottom:"+d+"px;")+"}";astra_add_dynamic_css("edd-archive-button-v-padding",t)})}),wp.customize("astra-settings[edd-archive-button-h-padding]",function(d){d.bind(function(d){var t=(t=(t="")+".ast-edd-archive-block-wrap .edd-add-to-cart, .ast-edd-archive-block-wrap .edd_go_to_checkout, .ast-edd-archive-block-wrap .ast-edd-variable-btn, .edd_downloads_list .edd-add-to-cart, .edd_downloads_list .edd_go_to_checkout, .edd_downloads_list .ast-edd-variable-btn{"+("padding-left:"+d+"px;"))+("padding-right:"+d+"px;")+"}";astra_add_dynamic_css("edd-archive-button-h-padding",t)})}),wp.customize("astra-settings[edd-checkout-content-max-width]",function(d){d.bind(function(d){var t=(t="@media all and ( min-width: 769px ) {")+(".edd-checkout #edd_checkout_wrap{ max-width: "+parseInt(d)+"px; margin: 0 auto; } ")+"}";astra_add_dynamic_css("edd-checkout-content-max-width",t)})}),wp.customize("astra-settings[edd-header-cart-icon-style]",function(d){d.bind(function(d){var t=e(document).find(".ast-edd-site-header-cart");t.removeClass("ast-edd-menu-cart-fill ast-edd-menu-cart-outline"),t.addClass("ast-edd-menu-cart-"+d);astra_add_dynamic_css("edd-header-cart-icon-style",".ast-edd-site-header-cart a, .ast-edd-site-header-cart a *{ transition: all 0s; } ")})}),wp.customize("astra-settings[edd-header-cart-product-count-color]",function(d){d.bind(function(d){astra_add_dynamic_css("edd-header-cart-product-count-color",".ast-edd-site-header-cart .ast-addon-cart-wrap span.astra-icon:after { color: "+d+"; } ")})}),wp.customize("astra-settings[edd-header-cart-icon-color]",function(d){d.bind(function(d){""!=d&&(d=jQuery(".ast-edd-site-header-cart").hasClass("ast-edd-menu-cart-outline")?".ast-edd-menu-cart-outline .ast-addon-cart-wrap { border: 1px solid "+d+"; color: "+d+"; background: #ffffff;}":".ast-edd-site-header-cart.ast-edd-menu-cart-fill .ast-edd-cart-menu-wrap .count, .ast-edd-menu-cart-fill .ast-addon-cart-wrap, .ast-edd-menu-cart-fill .ast-addon-cart-wrap .ast-edd-header-cart-info-wrap, .ast-edd-menu-cart-fill .ast-addon-cart-wrap .ast-icon-shopping-cart { background-color: "+d+"; color: #ffffff }",astra_add_dynamic_css("primary-toggle-button-color",d)),wp.customize.preview.send("refresh")})}),astra_css("astra-settings[edd-header-cart-border-width]","border-width",".ast-edd-menu-cart-outline .ast-addon-cart-wrap, .ast-theme-transparent-header .ast-edd-menu-cart-outline .ast-addon-cart-wrap","px"),wp.customize("astra-settings[edd-header-cart-icon-radius]",function(d){d.bind(function(d){d=".ast-edd-site-header-cart.ast-edd-menu-cart-outline .ast-addon-cart-wrap, .ast-edd-site-header-cart.ast-edd-menu-cart-fill .ast-addon-cart-wrap{ border-radius: "+parseInt(d)+"px } ";astra_add_dynamic_css("edd-header-cart-icon-radius",d)})}),wp.customize("astra-settings[edd-checkout-content-width]",function(d){d.bind(function(d){var t="",e=wp.customize("astra-settings[edd-checkout-content-max-width]").get();"custom"===d&&void 0!==astAddonTabletBreakpoint.value&&(t=(t=t+("@media (min-width: "+astAddonTabletBreakpoint.value)+"px) {.edd-checkout #edd_checkout_wrap {")+"max-width: "+e+"px;margin: 0 auto;} } "),astra_add_dynamic_css("edd-checkout-content-width",t)})}),astra_generate_outside_font_family_css("astra-settings[font-family-edd-product-title]",".single-download .entry-title"),astra_css("astra-settings[font-weight-edd-product-title]","font-weight",".single-download .entry-title"),astra_responsive_font_size("astra-settings[font-size-edd-product-title]",".single-download .entry-title"),astra_font_extras_css("font-extras-edd-product-title",".single-download .entry-title"),astra_generate_outside_font_family_css("astra-settings[font-family-edd-product-content]",".single-download .entry-content"),astra_css("astra-settings[font-weight-edd-product-content]","font-weight",".single-download .entry-content"),astra_responsive_font_size("astra-settings[font-size-edd-product-content]",".single-download .entry-content"),astra_font_extras_css("font-extras-edd-product-content",".single-download .entry-content"),astra_generate_outside_font_family_css("astra-settings[font-family-edd-archive-product-title]",".ast-edd-archive-block-wrap .edd_download_title a, .edd_downloads_list .edd_download_title a"),astra_css("astra-settings[font-weight-edd-archive-product-title]","font-weight",".ast-edd-archive-block-wrap .edd_download_title a, .edd_downloads_list .edd_download_title a"),astra_responsive_font_size("astra-settings[font-size-edd-archive-product-title]",".ast-edd-archive-block-wrap .edd_download_title a, .edd_downloads_list .edd_download_title a"),astra_font_extras_css("font-extras-edd-archive-product-title",".ast-edd-archive-block-wrap .edd_download_title a, .edd_downloads_list .edd_download_title a"),astra_generate_outside_font_family_css("astra-settings[font-family-edd-archive-product-price]",".ast-edd-archive-block-wrap .edd_price, .edd_downloads_list .edd_price,.ast-edd-archive-block-wrap .edd_price_options, .edd_downloads_list .edd_price_options"),astra_css("astra-settings[font-weight-edd-archive-product-price]","font-weight",".ast-edd-archive-block-wrap .edd_price, .edd_downloads_list .edd_price,.ast-edd-archive-block-wrap .edd_price_options, .edd_downloads_list .edd_price_options"),astra_responsive_font_size("astra-settings[font-size-edd-archive-product-price]",".ast-edd-archive-block-wrap .edd_price, .edd_downloads_list .edd_price,.ast-edd-archive-block-wrap .edd_price_options, .edd_downloads_list .edd_price_options"),astra_font_extras_css("font-extras-edd-archive-product-price",".ast-edd-archive-block-wrap .edd_price, .edd_downloads_list .edd_price,.ast-edd-archive-block-wrap .edd_price_options, .edd_downloads_list .edd_price_options"),astra_generate_outside_font_family_css("astra-settings[font-family-edd-archive-product-content]",".ast-edd-archive-block-wrap .edd_download_excerpt p, .edd_downloads_list .edd_download_excerpt p"),astra_css("astra-settings[font-weight-edd-archive-product-content]","font-weight",".ast-edd-archive-block-wrap .edd_download_excerpt p, .edd_downloads_list .edd_download_excerpt p"),astra_responsive_font_size("astra-settings[font-size-edd-archive-product-content]",".ast-edd-archive-block-wrap .edd_download_excerpt p, .edd_downloads_list .edd_download_excerpt p"),astra_font_extras_css("font-extras-edd-archive-product-content",".ast-edd-archive-block-wrap .edd_download_excerpt p, .edd_downloads_list .edd_download_excerpt p"),astra_css("astra-settings[edd-single-product-title-color]","color",".single-download .entry-title"),astra_css("astra-settings[edd-single-product-content-color]","color",".single-download .entry-content"),astra_css("astra-settings[edd-single-product-navigation-color]","color",".single-download .post-navigation a"),astra_css("astra-settings[edd-archive-product-title-color]","color",".ast-edd-archive-block-wrap .edd_download_title a, .edd_downloads_list .edd_download_title a"),astra_css("astra-settings[edd-archive-product-price-color]","color",".ast-edd-archive-block-wrap .edd_price, .edd_downloads_list .edd_price,.ast-edd-archive-block-wrap .edd_price_options, .edd_downloads_list .edd_price_options"),astra_css("astra-settings[edd-archive-product-content-color]","color",".ast-edd-archive-block-wrap .edd_download_excerpt p, .edd_downloads_list .edd_download_excerpt p")}(jQuery); Save