Edit File by line
/home/barbar84/www/wp-conte.../themes/Divi
File: functions.php
<span class="customize-control-title">{{{ data.label }}}</span>
[5000] Fix | Delete
<# } #>
[5001] Fix | Delete
<# if ( data.description ) { #>
[5002] Fix | Delete
<span class="description customize-control-description">{{{ data.description }}}</span>
[5003] Fix | Delete
<# } #>
[5004] Fix | Delete
<div class="customize-control-content">
[5005] Fix | Delete
<input class="color-picker-hex" data-alpha="true" type="text" maxlength="30" placeholder="<?php esc_attr_e( 'Hex Value', 'Divi' ); ?>" {{ defaultValue }} />
[5006] Fix | Delete
</div>
[5007] Fix | Delete
</label>
[5008] Fix | Delete
<?php
[5009] Fix | Delete
}
[5010] Fix | Delete
[5011] Fix | Delete
/**
[5012] Fix | Delete
* Ensure saved value to be printed in lowercase.
[5013] Fix | Delete
* Mismatched case causes broken 4.7 in Customizer. Color Alpha control only saves string.
[5014] Fix | Delete
* @param string saved value
[5015] Fix | Delete
* @return string formatted value
[5016] Fix | Delete
*/
[5017] Fix | Delete
public function sanitize_saved_value( $value ) {
[5018] Fix | Delete
return strtolower( $value );
[5019] Fix | Delete
}
[5020] Fix | Delete
}
[5021] Fix | Delete
[5022] Fix | Delete
}
[5023] Fix | Delete
[5024] Fix | Delete
function et_divi_add_customizer_css() {
[5025] Fix | Delete
if ( wp_doing_ajax() || wp_doing_cron() || ( is_admin() && ! is_customize_preview() ) ) {
[5026] Fix | Delete
return;
[5027] Fix | Delete
}
[5028] Fix | Delete
[5029] Fix | Delete
/** @see ET_Core_SupportCenter::toggle_safe_mode */
[5030] Fix | Delete
if ( et_core_is_safe_mode_active() ) {
[5031] Fix | Delete
return;
[5032] Fix | Delete
}
[5033] Fix | Delete
[5034] Fix | Delete
$post_id = et_core_page_resource_get_the_ID();
[5035] Fix | Delete
$is_preview = is_preview() || isset( $_GET['et_pb_preview_nonce'] ) || is_customize_preview();
[5036] Fix | Delete
$is_singular = et_core_page_resource_is_singular();
[5037] Fix | Delete
$is_cpt = et_builder_is_custom_post_type_archive() || ( et_builder_post_is_of_custom_post_type( $post_id ) && et_pb_is_pagebuilder_used( $post_id ) );
[5038] Fix | Delete
[5039] Fix | Delete
$disabled_global = 'off' === et_get_option( 'et_pb_static_css_file', 'on' );
[5040] Fix | Delete
$disabled_post = $disabled_global || ( $is_singular && 'off' === get_post_meta( $post_id, '_et_pb_static_css_file', true ) );
[5041] Fix | Delete
[5042] Fix | Delete
$forced_inline = $is_preview || $disabled_global || $disabled_post || post_password_required();
[5043] Fix | Delete
$builder_in_footer = 'on' === et_get_option( 'et_pb_css_in_footer', 'off' );
[5044] Fix | Delete
[5045] Fix | Delete
$unified_styles = $is_singular && ! $forced_inline && ! $builder_in_footer && et_core_is_builder_used_on_current_request();
[5046] Fix | Delete
$resource_owner = $unified_styles ? 'core' : 'divi';
[5047] Fix | Delete
$resource_slug = $unified_styles ? 'unified' : 'customizer';
[5048] Fix | Delete
$resource_slug .= $is_cpt ? '-cpt' : '';
[5049] Fix | Delete
$css = 'et_builder_maybe_wrap_css_selector';
[5050] Fix | Delete
[5051] Fix | Delete
if ( $is_preview ) {
[5052] Fix | Delete
// Don't let previews cause existing saved static css files to be modified.
[5053] Fix | Delete
$resource_slug .= '-preview';
[5054] Fix | Delete
}
[5055] Fix | Delete
[5056] Fix | Delete
if ( function_exists( 'et_fb_is_enabled' ) && et_fb_is_enabled() ) {
[5057] Fix | Delete
$resource_slug .= '-vb';
[5058] Fix | Delete
}
[5059] Fix | Delete
[5060] Fix | Delete
if ( ! $unified_styles ) {
[5061] Fix | Delete
$post_id = 'global';
[5062] Fix | Delete
}
[5063] Fix | Delete
[5064] Fix | Delete
$resource_slug = et_theme_builder_decorate_page_resource_slug( $post_id, $resource_slug );
[5065] Fix | Delete
$styles_manager = et_core_page_resource_get( $resource_owner, $resource_slug, $post_id );
[5066] Fix | Delete
[5067] Fix | Delete
$styles_manager->forced_inline = $forced_inline;
[5068] Fix | Delete
[5069] Fix | Delete
if ( ! $styles_manager->forced_inline && $styles_manager->has_file() ) {
[5070] Fix | Delete
// Static resource has already been created. No need to continue here.
[5071] Fix | Delete
return;
[5072] Fix | Delete
}
[5073] Fix | Delete
[5074] Fix | Delete
$css_output = array();
[5075] Fix | Delete
[5076] Fix | Delete
// Detect legacy settings
[5077] Fix | Delete
$detect_legacy_secondary_nav_color = et_get_option( 'secondary_nav_text_color', 'Light' );
[5078] Fix | Delete
$detect_legacy_primary_nav_color = et_get_option( 'primary_nav_text_color', 'Dark' );
[5079] Fix | Delete
[5080] Fix | Delete
if ( $detect_legacy_primary_nav_color == 'Light' ) {
[5081] Fix | Delete
$legacy_primary_nav_color = '#ffffff';
[5082] Fix | Delete
} else {
[5083] Fix | Delete
$legacy_primary_nav_color = 'rgba(0,0,0,0.6)';
[5084] Fix | Delete
}
[5085] Fix | Delete
[5086] Fix | Delete
if ( $detect_legacy_secondary_nav_color == 'Light' ) {
[5087] Fix | Delete
$legacy_secondary_nav_color = '#ffffff';
[5088] Fix | Delete
} else {
[5089] Fix | Delete
$legacy_secondary_nav_color = 'rgba(0,0,0,0.7)';
[5090] Fix | Delete
}
[5091] Fix | Delete
[5092] Fix | Delete
$body_font_size = absint( et_get_option( 'body_font_size', '14' ) );
[5093] Fix | Delete
$body_font_height = floatval( et_get_option( 'body_font_height', '1.7' ) );
[5094] Fix | Delete
$body_header_size = absint( et_get_option( 'body_header_size', '30' ) );
[5095] Fix | Delete
$body_header_style = et_get_option( 'body_header_style', '', '', true );
[5096] Fix | Delete
$body_header_spacing = intval( et_get_option( 'body_header_spacing', '0' ) );
[5097] Fix | Delete
$body_header_height = floatval( et_get_option( 'body_header_height', '1' ) );
[5098] Fix | Delete
$body_font_color = et_get_option( 'font_color', '#666666' );
[5099] Fix | Delete
$body_header_color = et_get_option( 'header_color', '#666666' );
[5100] Fix | Delete
[5101] Fix | Delete
$accent_color = et_get_option( 'accent_color', '#2ea3f2' );
[5102] Fix | Delete
$link_color = et_get_option( 'link_color', $accent_color );
[5103] Fix | Delete
[5104] Fix | Delete
$content_width = absint( et_get_option( 'content_width', '1080' ) );
[5105] Fix | Delete
$large_content_width = intval ( $content_width * 1.25 );
[5106] Fix | Delete
$use_sidebar_width = et_get_option( 'use_sidebar_width', false );
[5107] Fix | Delete
$sidebar_width = intval( et_get_option( 'sidebar_width', 21 ) );
[5108] Fix | Delete
$section_padding = absint( et_get_option( 'section_padding', '4' ) );
[5109] Fix | Delete
$row_padding = absint( et_get_option( 'row_padding', '2' ) );
[5110] Fix | Delete
[5111] Fix | Delete
$tablet_header_font_size = absint( et_get_option( 'tablet_header_font_size', '30' ) );
[5112] Fix | Delete
$tablet_body_font_size = absint( et_get_option( 'tablet_body_font_size', '14' ) );
[5113] Fix | Delete
$tablet_section_height = absint( et_get_option( 'tablet_section_height', '50' ) );
[5114] Fix | Delete
$tablet_row_height = absint( et_get_option( 'tablet_row_height', '30' ) );
[5115] Fix | Delete
[5116] Fix | Delete
$phone_header_font_size = absint( et_get_option( 'phone_header_font_size', $tablet_header_font_size ) );
[5117] Fix | Delete
$phone_body_font_size = absint( et_get_option( 'phone_body_font_size', $tablet_body_font_size ) );
[5118] Fix | Delete
$phone_section_height = absint( et_get_option( 'phone_section_height', $tablet_section_height ) );
[5119] Fix | Delete
$phone_row_height = absint( et_get_option( 'phone_row_height', $tablet_row_height ) );
[5120] Fix | Delete
[5121] Fix | Delete
$header_style = et_get_option( 'header_style', 'left' );
[5122] Fix | Delete
$menu_height = absint( et_get_option( 'menu_height', '66' ) );
[5123] Fix | Delete
$logo_height = absint( et_get_option( 'logo_height', '54' ) );
[5124] Fix | Delete
$menu_margin_top = absint( et_get_option( 'menu_margin_top', '0' ) );
[5125] Fix | Delete
$menu_link = et_get_option( 'menu_link', $legacy_primary_nav_color );
[5126] Fix | Delete
$menu_link_active = et_get_option( 'menu_link_active', '#2ea3f2' );
[5127] Fix | Delete
$vertical_nav = et_get_option( 'vertical_nav', false );
[5128] Fix | Delete
[5129] Fix | Delete
$hide_primary_logo = et_get_option( 'hide_primary_logo', 'false' );
[5130] Fix | Delete
$hide_fixed_logo = et_get_option( 'hide_fixed_logo', 'false' );
[5131] Fix | Delete
[5132] Fix | Delete
$default_primary_nav_font_size = 14;
[5133] Fix | Delete
$primary_nav_font_size = absint( et_get_option( 'primary_nav_font_size', $default_primary_nav_font_size ) );
[5134] Fix | Delete
$primary_nav_font_spacing = intval( et_get_option( 'primary_nav_font_spacing', '0' ) );
[5135] Fix | Delete
$primary_nav_bg = et_get_option( 'primary_nav_bg', '#ffffff' );
[5136] Fix | Delete
$primary_nav_font_style = et_get_option( 'primary_nav_font_style', '', '', true );
[5137] Fix | Delete
$primary_nav_dropdown_bg = et_get_option( 'primary_nav_dropdown_bg', $primary_nav_bg );
[5138] Fix | Delete
$primary_nav_dropdown_link_color = et_get_option( 'primary_nav_dropdown_link_color', $menu_link );
[5139] Fix | Delete
$primary_nav_dropdown_line_color = et_get_option( 'primary_nav_dropdown_line_color', $accent_color );
[5140] Fix | Delete
[5141] Fix | Delete
$mobile_menu_link = et_get_option( 'mobile_menu_link', $menu_link );
[5142] Fix | Delete
$mobile_primary_nav_bg = et_get_option( 'mobile_primary_nav_bg', $primary_nav_bg );
[5143] Fix | Delete
[5144] Fix | Delete
$secondary_nav_font_size = absint( et_get_option( 'secondary_nav_font_size', '12' ) );
[5145] Fix | Delete
$secondary_nav_font_spacing = intval( et_get_option( 'secondary_nav_font_spacing', '0' ) );
[5146] Fix | Delete
$secondary_nav_font_style = et_get_option( 'secondary_nav_font_style', '', '', true );
[5147] Fix | Delete
$secondary_nav_text_color_new = et_get_option( 'secondary_nav_text_color_new', $legacy_secondary_nav_color );
[5148] Fix | Delete
$secondary_nav_bg = et_get_option( 'secondary_nav_bg', et_get_option( 'accent_color', '#2ea3f2' ) );
[5149] Fix | Delete
$secondary_nav_dropdown_bg = et_get_option( 'secondary_nav_dropdown_bg', $secondary_nav_bg );
[5150] Fix | Delete
$secondary_nav_dropdown_link_color = et_get_option( 'secondary_nav_dropdown_link_color', $secondary_nav_text_color_new );
[5151] Fix | Delete
[5152] Fix | Delete
$fixed_primary_nav_font_size = absint( et_get_option( 'fixed_primary_nav_font_size', $primary_nav_font_size ) );
[5153] Fix | Delete
$fixed_primary_nav_bg = et_get_option( 'fixed_primary_nav_bg', $primary_nav_bg );
[5154] Fix | Delete
$fixed_secondary_nav_bg = et_get_option( 'fixed_secondary_nav_bg', $secondary_nav_bg );
[5155] Fix | Delete
$fixed_menu_height = absint( et_get_option( 'minimized_menu_height', '40' ) );
[5156] Fix | Delete
$fixed_menu_link = et_get_option( 'fixed_menu_link', $menu_link );
[5157] Fix | Delete
$fixed_menu_link_active = et_get_option( 'fixed_menu_link_active', $menu_link_active );
[5158] Fix | Delete
$fixed_secondary_menu_link = et_get_option( 'fixed_secondary_menu_link', $secondary_nav_text_color_new );
[5159] Fix | Delete
[5160] Fix | Delete
$footer_bg = et_get_option( 'footer_bg', '#222222' );
[5161] Fix | Delete
$footer_widget_link_color = et_get_option( 'footer_widget_link_color', '#fff' );
[5162] Fix | Delete
$footer_widget_text_color = et_get_option( 'footer_widget_text_color', '#fff' );
[5163] Fix | Delete
$footer_widget_header_color = et_get_option( 'footer_widget_header_color', $accent_color );
[5164] Fix | Delete
$footer_widget_bullet_color = et_get_option( 'footer_widget_bullet_color', $accent_color );
[5165] Fix | Delete
[5166] Fix | Delete
$widget_header_font_size = intval( et_get_option( 'widget_header_font_size', $body_header_size * .6 ) );
[5167] Fix | Delete
$widget_body_font_size = absint( et_get_option( 'widget_body_font_size', $body_font_size ) );
[5168] Fix | Delete
$widget_body_line_height = floatval( et_get_option( 'widget_body_line_height', '1.7' ) );
[5169] Fix | Delete
[5170] Fix | Delete
$button_text_size = absint( et_get_option( 'all_buttons_font_size', '20' ) );
[5171] Fix | Delete
$button_text_color = et_get_option( 'all_buttons_text_color', '' );
[5172] Fix | Delete
$button_bg_color = et_get_option( 'all_buttons_bg_color', 'rgba(0,0,0,0)' );
[5173] Fix | Delete
$button_border_width = absint( et_get_option( 'all_buttons_border_width', '2' ) );
[5174] Fix | Delete
$button_border_color = et_get_option( 'all_buttons_border_color', '#ffffff' );
[5175] Fix | Delete
$button_border_radius = absint( et_get_option( 'all_buttons_border_radius', '3' ) );
[5176] Fix | Delete
$button_text_style = et_get_option( 'all_buttons_font_style', '', '', true );
[5177] Fix | Delete
$button_icon = et_get_option( 'all_buttons_selected_icon', '5' );
[5178] Fix | Delete
$button_spacing = intval( et_get_option( 'all_buttons_spacing', '0' ) );
[5179] Fix | Delete
$button_icon_color = et_get_option( 'all_buttons_icon_color', '#ffffff' );
[5180] Fix | Delete
$button_text_color_hover = et_get_option( 'all_buttons_text_color_hover', '' );
[5181] Fix | Delete
$button_bg_color_hover = et_get_option( 'all_buttons_bg_color_hover', 'rgba(255,255,255,0.2)' );
[5182] Fix | Delete
$button_border_color_hover = et_get_option( 'all_buttons_border_color_hover', 'rgba(0,0,0,0)' );
[5183] Fix | Delete
$button_border_radius_hover = absint( et_get_option( 'all_buttons_border_radius_hover', '3' ) );
[5184] Fix | Delete
$button_spacing_hover = intval( et_get_option( 'all_buttons_spacing_hover', '0' ) );
[5185] Fix | Delete
$button_icon_size = 1.6 * intval( $button_text_size );
[5186] Fix | Delete
[5187] Fix | Delete
$slide_nav_show_top_bar = et_get_option( 'slide_nav_show_top_bar', true );
[5188] Fix | Delete
$slide_nav_bg = et_get_option( 'slide_nav_bg', $accent_color );
[5189] Fix | Delete
$slide_nav_links_color = et_get_option( 'slide_nav_links_color', '#ffffff' );
[5190] Fix | Delete
$slide_nav_links_color_active = et_get_option( 'slide_nav_links_color_active', '#ffffff' );
[5191] Fix | Delete
$slide_nav_top_color = et_get_option( 'slide_nav_top_color', 'rgba(255,255,255,0.6)' );
[5192] Fix | Delete
$slide_nav_search = et_get_option( 'slide_nav_search', 'rgba(255,255,255,0.6)' );
[5193] Fix | Delete
$slide_nav_search_bg = et_get_option( 'slide_nav_search_bg', 'rgba(0,0,0,0.2)' );
[5194] Fix | Delete
$slide_nav_width = intval( et_get_option( 'slide_nav_width', '320' ) );
[5195] Fix | Delete
$slide_nav_font_style = et_get_option( 'slide_nav_font_style', '', '', true );
[5196] Fix | Delete
$slide_nav_font_size = intval( et_get_option( 'slide_nav_font_size', '14' ) );
[5197] Fix | Delete
$slide_nav_top_font_size = intval( et_get_option( 'slide_nav_top_font_size', '14' ) );
[5198] Fix | Delete
$slide_nav_font_spacing = et_get_option( 'slide_nav_font_spacing', '0' );
[5199] Fix | Delete
$fullscreen_nav_font_size = intval( et_get_option( 'fullscreen_nav_font_size', '30' ) );
[5200] Fix | Delete
$fullscreen_nav_top_font_size = intval( et_get_option( 'fullscreen_nav_top_font_size', '18' ) );
[5201] Fix | Delete
[5202] Fix | Delete
// use different selector for the styles applied directly to body tag while in Visual Builder. Otherwise unwanted styles applied to the Builder interface.
[5203] Fix | Delete
$body_selector = empty( $_GET['et_fb'] ) ? 'body' : 'body .et-fb-post-content';
[5204] Fix | Delete
$body_selector_sibling = empty( $_GET['et_fb'] ) ? '' : 'body .et-fb-root-ancestor-sibling, ';
[5205] Fix | Delete
[5206] Fix | Delete
/* ====================================================
[5207] Fix | Delete
* --------->>> BEGIN THEME CUSTOMIZER CSS <<<---------
[5208] Fix | Delete
* ==================================================== */
[5209] Fix | Delete
ob_start();
[5210] Fix | Delete
[5211] Fix | Delete
if ( 14 !== $body_font_size ) { ?>
[5212] Fix | Delete
<?php echo esc_html( $body_selector_sibling ); ?>
[5213] Fix | Delete
<?php echo esc_html( $body_selector ); ?>,
[5214] Fix | Delete
<?php echo $css( '.et_pb_column_1_2 .et_quote_content blockquote cite', false ); ?>,
[5215] Fix | Delete
<?php echo $css( '.et_pb_column_1_2 .et_link_content a.et_link_main_url', false ); ?>,
[5216] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_quote_content blockquote cite', false ); ?>,
[5217] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_quote_content blockquote cite', false ); ?>,
[5218] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_quote_content blockquote cite', false ); ?>,
[5219] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_quote_content blockquote cite', false ); ?>,
[5220] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_link_content a.et_link_main_url', false ); ?>,
[5221] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_link_content a.et_link_main_url', false ); ?>,
[5222] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_link_content a.et_link_main_url', false ); ?>,
[5223] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_link_content a.et_link_main_url', false ); ?>,
[5224] Fix | Delete
<?php echo $css( 'body', '.et_pb_bg_layout_light .et_pb_post p', false ); ?>,
[5225] Fix | Delete
<?php echo $css( 'body', '.et_pb_bg_layout_dark .et_pb_post p', false ); ?> {
[5226] Fix | Delete
font-size: <?php echo esc_html( $body_font_size ); ?>px;
[5227] Fix | Delete
}
[5228] Fix | Delete
<?php echo $css( '.et_pb_slide_content', false ); ?>,
[5229] Fix | Delete
<?php echo $css( '.et_pb_best_value', false ); ?> {
[5230] Fix | Delete
font-size: <?php echo esc_html( intval( $body_font_size * 1.14 ) ); ?>px;
[5231] Fix | Delete
}
[5232] Fix | Delete
<?php } ?>
[5233] Fix | Delete
<?php if ( '#666666' !== $body_font_color) { ?>
[5234] Fix | Delete
<?php echo esc_html( $body_selector_sibling ); ?>
[5235] Fix | Delete
<?php echo esc_html( $body_selector ); ?> {
[5236] Fix | Delete
color: <?php echo esc_html( $body_font_color ); ?>;
[5237] Fix | Delete
}
[5238] Fix | Delete
<?php } ?>
[5239] Fix | Delete
<?php if ( '#666666' !== $body_header_color ) { ?>
[5240] Fix | Delete
<?php echo $css( 'h1' ); ?>,
[5241] Fix | Delete
<?php echo $css( 'h2' ); ?>,
[5242] Fix | Delete
<?php echo $css( 'h3' ); ?>,
[5243] Fix | Delete
<?php echo $css( 'h4' ); ?>,
[5244] Fix | Delete
<?php echo $css( 'h5' ); ?>,
[5245] Fix | Delete
<?php echo $css( 'h6' ); ?> {
[5246] Fix | Delete
color: <?php echo esc_html( $body_header_color ); ?>;
[5247] Fix | Delete
}
[5248] Fix | Delete
<?php } ?>
[5249] Fix | Delete
<?php if ( 1.7 !== $body_font_height ) { ?>
[5250] Fix | Delete
<?php echo esc_html( $body_selector_sibling ); ?>
[5251] Fix | Delete
<?php echo esc_html( $body_selector ); ?> {
[5252] Fix | Delete
line-height: <?php echo esc_html( $body_font_height ); ?>em;
[5253] Fix | Delete
}
[5254] Fix | Delete
<?php } ?>
[5255] Fix | Delete
<?php if ( $accent_color !== '#2ea3f2' ) { ?>
[5256] Fix | Delete
.woocommerce #respond input#submit,
[5257] Fix | Delete
.woocommerce-page #respond input#submit,
[5258] Fix | Delete
.woocommerce #content input.button,
[5259] Fix | Delete
.woocommerce-page #content input.button,
[5260] Fix | Delete
.woocommerce-message,
[5261] Fix | Delete
.woocommerce-error,
[5262] Fix | Delete
.woocommerce-info {
[5263] Fix | Delete
background: <?php echo esc_html( $accent_color ); ?> !important;
[5264] Fix | Delete
}
[5265] Fix | Delete
#et_search_icon:hover,
[5266] Fix | Delete
.mobile_menu_bar:before,
[5267] Fix | Delete
.mobile_menu_bar:after,
[5268] Fix | Delete
.et_toggle_slide_menu:after,
[5269] Fix | Delete
.et-social-icon a:hover,
[5270] Fix | Delete
<?php echo $css( '.et_pb_sum' ); ?>,
[5271] Fix | Delete
<?php echo $css( '.et_pb_pricing li a', false ); ?>,
[5272] Fix | Delete
<?php echo $css( '.et_pb_pricing_table_button', false ); ?>,
[5273] Fix | Delete
<?php echo $css( '.et_overlay:before' ); ?>,
[5274] Fix | Delete
<?php echo $css( '.entry-summary p.price ins' ); ?>,
[5275] Fix | Delete
.woocommerce div.product span.price,
[5276] Fix | Delete
.woocommerce-page div.product span.price,
[5277] Fix | Delete
.woocommerce #content div.product span.price,
[5278] Fix | Delete
.woocommerce-page #content div.product span.price,
[5279] Fix | Delete
.woocommerce div.product p.price,
[5280] Fix | Delete
.woocommerce-page div.product p.price,
[5281] Fix | Delete
.woocommerce #content div.product p.price,
[5282] Fix | Delete
.woocommerce-page #content div.product p.price,
[5283] Fix | Delete
<?php echo $css( '.et_pb_member_social_links a:hover', false ); ?>,
[5284] Fix | Delete
.woocommerce .star-rating span:before,
[5285] Fix | Delete
.woocommerce-page .star-rating span:before,
[5286] Fix | Delete
<?php echo $css( '.et_pb_widget li a:hover' ); ?>,
[5287] Fix | Delete
<?php echo $css( '.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active', false ); ?>,
[5288] Fix | Delete
<?php echo $css( '.et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active', false ); ?>,
[5289] Fix | Delete
<?php echo $css( '.et_pb_gallery .et_pb_gallery_pagination ul li a.active', false ); ?>,
[5290] Fix | Delete
.wp-pagenavi span.current,
[5291] Fix | Delete
.wp-pagenavi a:hover,
[5292] Fix | Delete
<?php echo $css( '.nav-single a' ); ?>,
[5293] Fix | Delete
<?php echo $css( '.tagged_as a' ); ?>,
[5294] Fix | Delete
<?php echo $css( '.posted_in a' ); ?> {
[5295] Fix | Delete
color: <?php echo esc_html( $accent_color ); ?>;
[5296] Fix | Delete
}
[5297] Fix | Delete
<?php echo $css( '.et_pb_contact_submit', false ); ?>,
[5298] Fix | Delete
<?php echo $css( '.et_password_protected_form .et_submit_button', false ); ?>,
[5299] Fix | Delete
<?php echo $css( '.et_pb_bg_layout_light .et_pb_newsletter_button', false ); ?>,
[5300] Fix | Delete
<?php echo $css( '.comment-reply-link', false ); ?>,
[5301] Fix | Delete
<?php echo $css( '.form-submit .et_pb_button', false ); ?>,
[5302] Fix | Delete
<?php echo $css( '.et_pb_bg_layout_light .et_pb_promo_button', false ); ?>,
[5303] Fix | Delete
<?php echo $css( '.et_pb_bg_layout_light .et_pb_more_button', false ); ?>,
[5304] Fix | Delete
<?php echo $css( '.woocommerce', 'a.button.alt' ); ?>,
[5305] Fix | Delete
<?php echo $css( '.woocommerce-page', 'a.button.alt' ); ?>,
[5306] Fix | Delete
<?php echo $css( '.woocommerce', 'button.button.alt' ); ?>,
[5307] Fix | Delete
<?php echo $css( '.woocommerce', 'button.button.alt.disabled' ); ?>,
[5308] Fix | Delete
<?php echo $css( '.woocommerce-page', 'button.button.alt' ); ?>,
[5309] Fix | Delete
<?php echo $css( '.woocommerce-page', 'button.button.alt.disabled' ); ?>,
[5310] Fix | Delete
<?php echo $css( '.woocommerce', 'input.button.alt' ); ?>,
[5311] Fix | Delete
<?php echo $css( '.woocommerce-page', 'input.button.alt' ); ?>,
[5312] Fix | Delete
.woocommerce #respond input#submit.alt,
[5313] Fix | Delete
.woocommerce-page #respond input#submit.alt,
[5314] Fix | Delete
<?php echo $css( '.woocommerce #content', 'input.button.alt' ); ?>,
[5315] Fix | Delete
<?php echo $css( '.woocommerce-page #content', 'input.button.alt' ); ?>,
[5316] Fix | Delete
<?php echo $css( '.woocommerce', 'a.button' ); ?>,
[5317] Fix | Delete
<?php echo $css( '.woocommerce-page', 'a.button' ); ?>,
[5318] Fix | Delete
<?php echo $css( '.woocommerce', 'button.button' ); ?>,
[5319] Fix | Delete
<?php echo $css( '.woocommerce-page', 'button.button' ); ?>,
[5320] Fix | Delete
<?php echo $css( '.woocommerce', 'input.button' ); ?>,
[5321] Fix | Delete
<?php echo $css( '.woocommerce-page', 'input.button' ); ?>,
[5322] Fix | Delete
<?php echo $css( '.et_pb_contact p input[type="checkbox"]:checked + label i:before', false ); ?>,
[5323] Fix | Delete
<?php echo $css( '.et_pb_bg_layout_light.et_pb_module.et_pb_button', false ); ?> {
[5324] Fix | Delete
color: <?php echo esc_html( $accent_color ); ?>;
[5325] Fix | Delete
}
[5326] Fix | Delete
<?php echo $css( '.footer-widget h4' ); ?> {
[5327] Fix | Delete
color: <?php echo esc_html( $accent_color ); ?>;
[5328] Fix | Delete
}
[5329] Fix | Delete
<?php echo $css( '.et-search-form' ); ?>,
[5330] Fix | Delete
<?php echo $css( '.nav li ul' ); ?>,
[5331] Fix | Delete
<?php echo $css( '.et_mobile_menu' ); ?>,
[5332] Fix | Delete
<?php echo $css( '.footer-widget li:before' ); ?>,
[5333] Fix | Delete
<?php echo $css( '.et_pb_pricing li:before', false ); ?>,
[5334] Fix | Delete
<?php echo $css( 'blockquote' ); ?> {
[5335] Fix | Delete
border-color: <?php echo esc_html( $accent_color ); ?>;
[5336] Fix | Delete
}
[5337] Fix | Delete
<?php echo $css( '.et_pb_counter_amount', false ); ?>,
[5338] Fix | Delete
<?php echo $css( '.et_pb_featured_table .et_pb_pricing_heading', false ); ?>,
[5339] Fix | Delete
<?php echo $css( '.et_quote_content' ); ?>,
[5340] Fix | Delete
<?php echo $css( '.et_link_content' ); ?>,
[5341] Fix | Delete
<?php echo $css( '.et_audio_content' ); ?>,
[5342] Fix | Delete
<?php echo $css( '.et_pb_post_slider.et_pb_bg_layout_dark', false ); ?>,
[5343] Fix | Delete
<?php echo $css( '.et_slide_in_menu_container' ); ?>,
[5344] Fix | Delete
<?php echo $css( '.et_pb_contact p input[type="radio"]:checked + label i:before', false ); ?> {
[5345] Fix | Delete
background-color: <?php echo esc_html( $accent_color ); ?>;
[5346] Fix | Delete
}
[5347] Fix | Delete
<?php } ?>
[5348] Fix | Delete
<?php if ( 1080 !== $content_width ) { ?>
[5349] Fix | Delete
<?php echo $css( '.container' ); ?>,
[5350] Fix | Delete
<?php echo $css( '.et_pb_row', false ); ?>,
[5351] Fix | Delete
<?php echo $css( '.et_pb_slider .et_pb_container', false ); ?>,
[5352] Fix | Delete
<?php echo $css( '.et_pb_fullwidth_section .et_pb_title_container', false ); ?>,
[5353] Fix | Delete
<?php echo $css( '.et_pb_fullwidth_section .et_pb_title_featured_container', false ); ?>,
[5354] Fix | Delete
<?php echo $css( '.et_pb_fullwidth_header:not(.et_pb_fullscreen) .et_pb_fullwidth_header_container', false ); ?> {
[5355] Fix | Delete
max-width: <?php echo esc_html( $content_width ); ?>px;
[5356] Fix | Delete
}
[5357] Fix | Delete
.et_boxed_layout #page-container,
[5358] Fix | Delete
.et_boxed_layout.et_non_fixed_nav.et_transparent_nav #page-container #top-header,
[5359] Fix | Delete
.et_boxed_layout.et_non_fixed_nav.et_transparent_nav #page-container #main-header,
[5360] Fix | Delete
.et_fixed_nav.et_boxed_layout #page-container #top-header,
[5361] Fix | Delete
.et_fixed_nav.et_boxed_layout #page-container #main-header,
[5362] Fix | Delete
.et_boxed_layout #page-container .container,
[5363] Fix | Delete
<?php echo $css( '.et_boxed_layout', '#page-container .et_pb_row', false ); ?> {
[5364] Fix | Delete
max-width: <?php echo esc_html( intval( et_get_option( 'content_width', '1080' ) ) + 160 ); ?>px;
[5365] Fix | Delete
}
[5366] Fix | Delete
<?php } ?>
[5367] Fix | Delete
<?php if ( $link_color !== '#2ea3f2' ) { ?>
[5368] Fix | Delete
<?php echo $css( 'a' ); ?> { color: <?php echo esc_html( $link_color ); ?>; }
[5369] Fix | Delete
<?php } ?>
[5370] Fix | Delete
<?php if ( $primary_nav_bg !== '#ffffff' ) { ?>
[5371] Fix | Delete
#main-header,
[5372] Fix | Delete
#main-header .nav li ul,
[5373] Fix | Delete
.et-search-form,
[5374] Fix | Delete
#main-header .et_mobile_menu { background-color: <?php echo esc_html( $primary_nav_bg ); ?>; }
[5375] Fix | Delete
<?php } ?>
[5376] Fix | Delete
<?php if ( $primary_nav_dropdown_bg !== $primary_nav_bg ) { ?>
[5377] Fix | Delete
#main-header .nav li ul { background-color: <?php echo esc_html( $primary_nav_dropdown_bg ); ?>; }
[5378] Fix | Delete
<?php } ?>
[5379] Fix | Delete
<?php if ( $primary_nav_dropdown_line_color !== $accent_color ) { ?>
[5380] Fix | Delete
<?php echo $css( '.nav li ul' ); ?> { border-color: <?php echo esc_html( $primary_nav_dropdown_line_color ); ?>; }
[5381] Fix | Delete
<?php } ?>
[5382] Fix | Delete
<?php if ( $secondary_nav_bg !== '#2ea3f2' ) { ?>
[5383] Fix | Delete
#top-header,
[5384] Fix | Delete
#et-secondary-nav li ul { background-color: <?php echo esc_html( $secondary_nav_bg ); ?>; }
[5385] Fix | Delete
<?php } ?>
[5386] Fix | Delete
<?php if ( $secondary_nav_dropdown_bg !== $secondary_nav_bg ) { ?>
[5387] Fix | Delete
#et-secondary-nav li ul { background-color: <?php echo esc_html( $secondary_nav_dropdown_bg ); ?>; }
[5388] Fix | Delete
<?php } ?>
[5389] Fix | Delete
<?php if ( $secondary_nav_text_color_new !== '#ffffff' ) { ?>
[5390] Fix | Delete
#top-header,
[5391] Fix | Delete
#top-header a { color: <?php echo esc_html( $secondary_nav_text_color_new ); ?>; }
[5392] Fix | Delete
<?php } ?>
[5393] Fix | Delete
<?php if ( $secondary_nav_dropdown_link_color !== $secondary_nav_text_color_new ) { ?>
[5394] Fix | Delete
#et-secondary-nav li ul a { color: <?php echo esc_html( $secondary_nav_dropdown_link_color ); ?>; }
[5395] Fix | Delete
<?php } ?>
[5396] Fix | Delete
<?php if ( $menu_link !== 'rgba(0,0,0,0.6)' ) { ?>
[5397] Fix | Delete
.et_header_style_centered .mobile_nav .select_page,
[5398] Fix | Delete
.et_header_style_split .mobile_nav .select_page,
[5399] Fix | Delete
.et_nav_text_color_light #top-menu > li > a,
[5400] Fix | Delete
.et_nav_text_color_dark #top-menu > li > a,
[5401] Fix | Delete
#top-menu a,
[5402] Fix | Delete
<?php echo $css( '.et_mobile_menu li a' ); ?>,
[5403] Fix | Delete
<?php echo $css( '.et_nav_text_color_light .et_mobile_menu li a' ); ?>,
[5404] Fix | Delete
<?php echo $css( '.et_nav_text_color_dark .et_mobile_menu li a' ); ?>,
[5405] Fix | Delete
#et_search_icon:before,
[5406] Fix | Delete
.et_search_form_container input,
[5407] Fix | Delete
span.et_close_search_field:after,
[5408] Fix | Delete
#et-top-navigation .et-cart-info { color: <?php echo esc_html( $menu_link ); ?>; }
[5409] Fix | Delete
.et_search_form_container input::-moz-placeholder { color: <?php echo esc_html( $menu_link ); ?>; }
[5410] Fix | Delete
.et_search_form_container input::-webkit-input-placeholder { color: <?php echo esc_html( $menu_link ); ?>; }
[5411] Fix | Delete
.et_search_form_container input:-ms-input-placeholder { color: <?php echo esc_html( $menu_link ); ?>; }
[5412] Fix | Delete
<?php } ?>
[5413] Fix | Delete
<?php if ( $primary_nav_dropdown_link_color !== $menu_link ) { ?>
[5414] Fix | Delete
#main-header .nav li ul a { color: <?php echo esc_html( $primary_nav_dropdown_link_color ); ?>; }
[5415] Fix | Delete
<?php } ?>
[5416] Fix | Delete
<?php if ( 12 !== $secondary_nav_font_size || '' !== $secondary_nav_font_style || 0 !== $secondary_nav_font_spacing ) { ?>
[5417] Fix | Delete
#top-header,
[5418] Fix | Delete
#top-header a,
[5419] Fix | Delete
#et-secondary-nav li li a,
[5420] Fix | Delete
#top-header .et-social-icon a:before {
[5421] Fix | Delete
<?php if ( 12 !== $secondary_nav_font_size ) { ?>
[5422] Fix | Delete
font-size: <?php echo esc_html( $secondary_nav_font_size ); ?>px;
[5423] Fix | Delete
<?php } ?>
[5424] Fix | Delete
<?php if ( '' !== $secondary_nav_font_style ) { ?>
[5425] Fix | Delete
<?php echo esc_html( et_pb_print_font_style( $secondary_nav_font_style ) ); ?>
[5426] Fix | Delete
<?php } ?>
[5427] Fix | Delete
<?php if ( 0 !== $secondary_nav_font_spacing ) { ?>
[5428] Fix | Delete
letter-spacing: <?php echo esc_html( $secondary_nav_font_spacing ); ?>px;
[5429] Fix | Delete
<?php } ?>
[5430] Fix | Delete
}
[5431] Fix | Delete
<?php } ?>
[5432] Fix | Delete
<?php if ( $primary_nav_font_size !== $default_primary_nav_font_size ) { ?>
[5433] Fix | Delete
#top-menu li a { font-size: <?php echo esc_html( $primary_nav_font_size ); ?>px; }
[5434] Fix | Delete
body.et_vertical_nav .container.et_search_form_container .et-search-form input { font-size: <?php echo esc_html( $primary_nav_font_size ); ?>px !important; }
[5435] Fix | Delete
<?php } ?>
[5436] Fix | Delete
[5437] Fix | Delete
<?php if ( 0 !== $primary_nav_font_spacing || '' !== $primary_nav_font_style ) { ?>
[5438] Fix | Delete
#top-menu li a,
[5439] Fix | Delete
.et_search_form_container input {
[5440] Fix | Delete
<?php if ( '' !== $primary_nav_font_style ) { ?>
[5441] Fix | Delete
<?php echo esc_html( et_pb_print_font_style( $primary_nav_font_style ) ); ?>
[5442] Fix | Delete
<?php } ?>
[5443] Fix | Delete
<?php if ( 0 !== $primary_nav_font_spacing ) { ?>
[5444] Fix | Delete
letter-spacing: <?php echo esc_html( $primary_nav_font_spacing ); ?>px;
[5445] Fix | Delete
<?php } ?>
[5446] Fix | Delete
}
[5447] Fix | Delete
.et_search_form_container input::-moz-placeholder {
[5448] Fix | Delete
<?php if ( '' !== $primary_nav_font_style ) { ?>
[5449] Fix | Delete
<?php echo esc_html( et_pb_print_font_style( $primary_nav_font_style ) ); ?>
[5450] Fix | Delete
<?php } ?>
[5451] Fix | Delete
<?php if ( 0 !== $primary_nav_font_spacing ) { ?>
[5452] Fix | Delete
letter-spacing: <?php echo esc_html( $primary_nav_font_spacing ); ?>px;
[5453] Fix | Delete
<?php } ?>
[5454] Fix | Delete
}
[5455] Fix | Delete
.et_search_form_container input::-webkit-input-placeholder {
[5456] Fix | Delete
<?php if ( '' !== $primary_nav_font_style ) { ?>
[5457] Fix | Delete
<?php echo esc_html( et_pb_print_font_style( $primary_nav_font_style ) ); ?>
[5458] Fix | Delete
<?php } ?>
[5459] Fix | Delete
<?php if ( 0 !== $primary_nav_font_spacing ) { ?>
[5460] Fix | Delete
letter-spacing: <?php echo esc_html( $primary_nav_font_spacing ); ?>px;
[5461] Fix | Delete
<?php } ?>
[5462] Fix | Delete
}
[5463] Fix | Delete
.et_search_form_container input:-ms-input-placeholder {
[5464] Fix | Delete
<?php if ( '' !== $primary_nav_font_style ) { ?>
[5465] Fix | Delete
<?php echo esc_html( et_pb_print_font_style( $primary_nav_font_style ) ); ?>
[5466] Fix | Delete
<?php } ?>
[5467] Fix | Delete
<?php if ( 0 !== $primary_nav_font_spacing ) { ?>
[5468] Fix | Delete
letter-spacing: <?php echo esc_html( $primary_nav_font_spacing ); ?>px;
[5469] Fix | Delete
<?php } ?>
[5470] Fix | Delete
}
[5471] Fix | Delete
<?php } ?>
[5472] Fix | Delete
[5473] Fix | Delete
<?php if ( $menu_link_active !== '#2ea3f2' ) { ?>
[5474] Fix | Delete
#top-menu li.current-menu-ancestor > a,
[5475] Fix | Delete
#top-menu li.current-menu-item > a,
[5476] Fix | Delete
#top-menu li.current_page_item > a,
[5477] Fix | Delete
.et_color_scheme_red #top-menu li.current-menu-ancestor > a,
[5478] Fix | Delete
.et_color_scheme_red #top-menu li.current-menu-item > a,
[5479] Fix | Delete
.et_color_scheme_red #top-menu li.current_page_item > a,
[5480] Fix | Delete
.et_color_scheme_pink #top-menu li.current-menu-ancestor > a,
[5481] Fix | Delete
.et_color_scheme_pink #top-menu li.current-menu-item > a,
[5482] Fix | Delete
.et_color_scheme_pink #top-menu li.current_page_item> a,
[5483] Fix | Delete
.et_color_scheme_orange #top-menu li.current-menu-ancestor > a,
[5484] Fix | Delete
.et_color_scheme_orange #top-menu li.current-menu-item > a,
[5485] Fix | Delete
.et_color_scheme_orange #top-menu li.current_page_item > a,
[5486] Fix | Delete
.et_color_scheme_green #top-menu li.current-menu-ancestor > a,
[5487] Fix | Delete
.et_color_scheme_green #top-menu li.current-menu-item > a,
[5488] Fix | Delete
.et_color_scheme_green #top-menu li.current_page_item > a { color: <?php echo esc_html( $menu_link_active ); ?>; }
[5489] Fix | Delete
<?php } ?>
[5490] Fix | Delete
<?php if ( $footer_bg !== '#222222' ) { ?>
[5491] Fix | Delete
#main-footer { background-color: <?php echo esc_html( $footer_bg ); ?>; }
[5492] Fix | Delete
<?php } ?>
[5493] Fix | Delete
<?php if ( $footer_widget_link_color !== '#fff' ) { ?>
[5494] Fix | Delete
#footer-widgets .footer-widget a,
[5495] Fix | Delete
#footer-widgets .footer-widget li a,
[5496] Fix | Delete
#footer-widgets .footer-widget li a:hover { color: <?php echo esc_html( $footer_widget_link_color ); ?>; }
[5497] Fix | Delete
<?php } ?>
[5498] Fix | Delete
<?php if ( $footer_widget_text_color !== '#fff' ) { ?>
[5499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function