diff --git a/functions.php b/functions.php index a8fd589d..28620e25 100644 --- a/functions.php +++ b/functions.php @@ -333,14 +333,14 @@ function colormag_content_width() { function colormag_maybe_enable_builder() { if ( get_option( 'colormag_builder_migration' ) ) { - return true; + return false; } if ( get_option( 'colormag_free_major_update_customizer_migration_v1' ) || get_option( 'colormag_top_bar_options_migrate' ) || get_option( 'colormag_breadcrumb_options_migrate' ) || get_option( 'colormag_transfer' ) || get_option( 'colormag_social_icons_control_migrate' ) ) { return false; } - return true; + return false; } /** diff --git a/inc/customizer/assets/js/cm-customize-preview.js b/inc/customizer/assets/js/cm-customize-preview.js index 0d465146..0c62eda7 100644 --- a/inc/customizer/assets/js/cm-customize-preview.js +++ b/inc/customizer/assets/js/cm-customize-preview.js @@ -296,14 +296,6 @@ ); break; - case "colormag_box_shadow_color": - css = colormagGenerateCommonCSS( - ".cm-posts .post", - "box-shadow", - value, - ); - break; - case "colormag_link_color": css = colormagGenerateCommonCSS(".cm-entry-summary a", "color", value); break; diff --git a/inc/customizer/options/global/colors.php b/inc/customizer/options/global/colors.php index 22e18d71..bef3d323 100644 --- a/inc/customizer/options/global/colors.php +++ b/inc/customizer/options/global/colors.php @@ -116,11 +116,10 @@ 'transport' => 'postMessage', ), 'colormag_box_shadow_color' => array( - 'title' => esc_html__( 'Box Border Color', 'colormag' ), - 'default' => '#E4E4E7', - 'transport' => 'postMessage', - 'type' => 'customind-color', - 'section' => 'colormag_global_colors_section', + 'title' => esc_html__( 'Box Border Color', 'colormag' ), + 'default' => '#E4E4E7', + 'type' => 'customind-color', + 'section' => 'colormag_global_colors_section', ), 'colormag_color_skin_setting' => array( 'default' => 'white',