Edit File by line
/home/barbar84/www/wp-conte.../themes/Divi
File: functions.php
.et_header_style_centered.et_hide_primary_logo #main-header:not(.et-fixed-header) .logo_container, .et_header_style_centered.et_hide_fixed_logo #main-header.et-fixed-header .logo_container { height: <?php echo esc_html( $menu_height * .18 ); ?>px; }
[6000] Fix | Delete
<?php } ?>
[6001] Fix | Delete
<?php if ( 40 !== $fixed_menu_height ) { ?>
[6002] Fix | Delete
.et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_split .et-fixed-header #et-top-navigation { padding: <?php echo esc_html( intval( round( $fixed_menu_height / 2 ) ) ); ?>px 0 0 0; }
[6003] Fix | Delete
.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a, .et_header_style_split .et-fixed-header #et-top-navigation nav > ul > li > a { padding-bottom: <?php echo esc_html( round( $fixed_menu_height / 2 ) ); ?>px; }
[6004] Fix | Delete
.et_header_style_centered header#main-header.et-fixed-header .logo_container { height: <?php echo esc_html( $fixed_menu_height ); ?>px; }
[6005] Fix | Delete
.et_header_style_split #main-header.et-fixed-header .centered-inline-logo-wrap { width: <?php echo esc_html( $fixed_menu_height ); ?>px; margin: -<?php echo esc_html( $fixed_menu_height ); ?>px 0; }
[6006] Fix | Delete
.et_header_style_split .et-fixed-header .centered-inline-logo-wrap #logo { max-height: <?php echo esc_html( $fixed_menu_height ); ?>px; }
[6007] Fix | Delete
.et_pb_svg_logo.et_header_style_split .et-fixed-header .centered-inline-logo-wrap #logo { height: <?php echo esc_html( $fixed_menu_height ); ?>px; }
[6008] Fix | Delete
.et_header_style_slide .et-fixed-header #et-top-navigation, .et_header_style_fullscreen .et-fixed-header #et-top-navigation { padding: <?php echo esc_html( round( ( $fixed_menu_height - 18 ) / 2 ) ); ?>px 0 <?php echo esc_html( round( ( $fixed_menu_height - 18 ) / 2 ) ); ?>px 0 !important; }
[6009] Fix | Delete
<?php } ?>
[6010] Fix | Delete
<?php if ( 54 !== $logo_height && 'split' === $header_style ) { ?>
[6011] Fix | Delete
.et_header_style_split #main-header .centered-inline-logo-wrap { width: auto; height: <?php echo esc_html( ( ( intval( $menu_height ) / 100 ) * $logo_height ) + 14 ); ?>px; }
[6012] Fix | Delete
.et_header_style_split #main-header.et-fixed-header .centered-inline-logo-wrap { width: auto; height: <?php echo esc_html( ( ( intval( $fixed_menu_height ) / 100 ) * $logo_height ) + 14 ); ?>px; }
[6013] Fix | Delete
.et_header_style_split .centered-inline-logo-wrap #logo,
[6014] Fix | Delete
.et_header_style_split .et-fixed-header .centered-inline-logo-wrap #logo { height: auto; max-height: 100%; }
[6015] Fix | Delete
[6016] Fix | Delete
<?php } ?>
[6017] Fix | Delete
<?php if ( $fixed_secondary_nav_bg !== '#2ea3f2' ) { ?>
[6018] Fix | Delete
.et-fixed-header#top-header, .et-fixed-header#top-header #et-secondary-nav li ul { background-color: <?php echo esc_html( $fixed_secondary_nav_bg ); ?>; }
[6019] Fix | Delete
<?php } ?>
[6020] Fix | Delete
<?php if ( $fixed_primary_nav_bg !== $primary_nav_bg ) { ?>
[6021] Fix | Delete
.et-fixed-header#main-header, .et-fixed-header#main-header .nav li ul, .et-fixed-header .et-search-form { background-color: <?php echo esc_html( $fixed_primary_nav_bg ); ?>; }
[6022] Fix | Delete
<?php } ?>
[6023] Fix | Delete
<?php if ( $fixed_primary_nav_font_size !== $primary_nav_font_size ) { ?>
[6024] Fix | Delete
.et-fixed-header #top-menu li a { font-size: <?php echo esc_html( $fixed_primary_nav_font_size ); ?>px; }
[6025] Fix | Delete
<?php } ?>
[6026] Fix | Delete
<?php if ( $fixed_menu_link !== 'rgba(0,0,0,0.6)' ) { ?>
[6027] Fix | Delete
.et-fixed-header #top-menu a, .et-fixed-header #et_search_icon:before, .et-fixed-header #et_top_search .et-search-form input, .et-fixed-header .et_search_form_container input, .et-fixed-header .et_close_search_field:after, .et-fixed-header #et-top-navigation .et-cart-info { color: <?php echo esc_html( $fixed_menu_link ); ?> !important; }
[6028] Fix | Delete
.et-fixed-header .et_search_form_container input::-moz-placeholder { color: <?php echo esc_html( $fixed_menu_link ); ?> !important; }
[6029] Fix | Delete
.et-fixed-header .et_search_form_container input::-webkit-input-placeholder { color: <?php echo esc_html( $fixed_menu_link ); ?> !important; }
[6030] Fix | Delete
.et-fixed-header .et_search_form_container input:-ms-input-placeholder { color: <?php echo esc_html( $fixed_menu_link ); ?> !important; }
[6031] Fix | Delete
<?php } ?>
[6032] Fix | Delete
<?php if ( $fixed_menu_link_active !== '#2ea3f2' ) { ?>
[6033] Fix | Delete
.et-fixed-header #top-menu li.current-menu-ancestor > a,
[6034] Fix | Delete
.et-fixed-header #top-menu li.current-menu-item > a,
[6035] Fix | Delete
.et-fixed-header #top-menu li.current_page_item > a { color: <?php echo esc_html( $fixed_menu_link_active ); ?> !important; }
[6036] Fix | Delete
<?php } ?>
[6037] Fix | Delete
<?php if ( '#ffffff' !== $fixed_secondary_menu_link ) { ?>
[6038] Fix | Delete
.et-fixed-header#top-header a { color: <?php echo esc_html( $fixed_secondary_menu_link ); ?>; }
[6039] Fix | Delete
<?php } ?>
[6040] Fix | Delete
[6041] Fix | Delete
<?php
[6042] Fix | Delete
/* Blog Meta & Title */
[6043] Fix | Delete
et_pb_print_styles_css( array(
[6044] Fix | Delete
array(
[6045] Fix | Delete
'key' => 'post_meta_font_size',
[6046] Fix | Delete
'type' => 'font-size',
[6047] Fix | Delete
'default' => 14,
[6048] Fix | Delete
'selector' => $et_pb_print_selectors_post_meta,
[6049] Fix | Delete
),
[6050] Fix | Delete
array(
[6051] Fix | Delete
'key' => 'post_header_font_size',
[6052] Fix | Delete
'type' => 'font-size-post-header',
[6053] Fix | Delete
'default' => 30,
[6054] Fix | Delete
'selector' => '',
[6055] Fix | Delete
),
[6056] Fix | Delete
) );
[6057] Fix | Delete
?>
[6058] Fix | Delete
}
[6059] Fix | Delete
[6060] Fix | Delete
@media only screen and ( min-width: <?php echo esc_html( $large_content_width ); ?>px) {
[6061] Fix | Delete
<?php echo $css( '.et_pb_row', false ); ?> { padding: <?php echo esc_html( intval( $large_content_width * $row_padding / 100 ) ); ?>px 0; }
[6062] Fix | Delete
<?php echo $css( '.et_pb_section', false ); ?> { padding: <?php echo esc_html( intval( $large_content_width * $section_padding / 100 ) ); ?>px 0; }
[6063] Fix | Delete
.single.et_pb_pagebuilder_layout.et_full_width_page .et_post_meta_wrapper { padding-top: <?php echo esc_html( intval( $large_content_width * $row_padding / 100 * 3 ) ); ?>px; }
[6064] Fix | Delete
<?php echo $css( '.et_pb_fullwidth_section', false ); ?> { padding: 0; }
[6065] Fix | Delete
}
[6066] Fix | Delete
[6067] Fix | Delete
<?php if ( 30 !== $body_header_size ) { ?>
[6068] Fix | Delete
<?php echo $css( 'h1' ); ?>,
[6069] Fix | Delete
<?php echo $css( 'h1.et_pb_contact_main_title' ); ?>,
[6070] Fix | Delete
<?php echo $css( '.et_pb_title_container h1' ); ?> {
[6071] Fix | Delete
font-size: <?php echo esc_html( $body_header_size ); ?>px;
[6072] Fix | Delete
}
[6073] Fix | Delete
<?php echo $css( 'h2' ); ?>,
[6074] Fix | Delete
<?php echo $css( '.product .related h2' ); ?>,
[6075] Fix | Delete
<?php echo $css( '.et_pb_column_1_2 .et_quote_content blockquote p', false ); ?> {
[6076] Fix | Delete
font-size: <?php echo esc_html( intval( $body_header_size * .86 ) ) ; ?>px;
[6077] Fix | Delete
}
[6078] Fix | Delete
<?php echo $css( 'h3' ); ?> {
[6079] Fix | Delete
font-size: <?php echo esc_html( intval( $body_header_size * .73 ) ); ?>px;
[6080] Fix | Delete
}
[6081] Fix | Delete
<?php echo $css( 'h4' ); ?>,
[6082] Fix | Delete
<?php echo $css( '.et_pb_circle_counter h3', false ); ?>,
[6083] Fix | Delete
<?php echo $css( '.et_pb_number_counter h3', false ); ?>,
[6084] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_pb_post h2', false ); ?>,
[6085] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_pb_post h2', false ); ?>,
[6086] Fix | Delete
<?php echo $css( '.et_pb_blog_grid h2', false ); ?>,
[6087] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_quote_content blockquote p', false ); ?>,
[6088] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_quote_content blockquote p', false ); ?>,
[6089] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_quote_content blockquote p', false ); ?>,
[6090] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_quote_content blockquote p', false ); ?>,
[6091] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_link_content h2', false ); ?>,
[6092] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_link_content h2', false ); ?>,
[6093] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_link_content h2', false ); ?>,
[6094] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_link_content h2', false ); ?>,
[6095] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_audio_content h2', false ); ?>,
[6096] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_audio_content h2', false ); ?>,
[6097] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_audio_content h2', false ); ?>,
[6098] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_audio_content h2', false ); ?>,
[6099] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_pb_audio_module_content h2', false ); ?>,
[6100] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_pb_audio_module_content h2', false ); ?>,
[6101] Fix | Delete
<?php echo $css( '.et_pb_gallery_grid .et_pb_gallery_item h3', false ); ?>,
[6102] Fix | Delete
<?php echo $css( '.et_pb_portfolio_grid .et_pb_portfolio_item h2', false ); ?>,
[6103] Fix | Delete
<?php echo $css( '.et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2', false ); ?> {
[6104] Fix | Delete
font-size: <?php echo esc_html( intval( $body_header_size * .6 ) ); ?>px;
[6105] Fix | Delete
}
[6106] Fix | Delete
<?php echo $css( 'h5' ); ?> {
[6107] Fix | Delete
font-size: <?php echo esc_html( intval( $body_header_size * .53 ) ); ?>px;
[6108] Fix | Delete
}
[6109] Fix | Delete
<?php echo $css( 'h6' ); ?> {
[6110] Fix | Delete
font-size: <?php echo esc_html( intval( $body_header_size * .47 ) ); ?>px;
[6111] Fix | Delete
}
[6112] Fix | Delete
<?php echo $css( '.et_pb_slide_description .et_pb_slide_title', false ); ?> {
[6113] Fix | Delete
font-size: <?php echo esc_html( intval( $body_header_size * 1.53 ) ); ?>px;
[6114] Fix | Delete
}
[6115] Fix | Delete
<?php echo $css( '.woocommerce', 'ul.products li.product h3' ); ?>,
[6116] Fix | Delete
<?php echo $css( '.woocommerce-page', 'ul.products li.product h3' ); ?>,
[6117] Fix | Delete
<?php echo $css( '.et_pb_gallery_grid .et_pb_gallery_item h3', false ); ?>,
[6118] Fix | Delete
<?php echo $css( '.et_pb_portfolio_grid .et_pb_portfolio_item h2', false ); ?>,
[6119] Fix | Delete
<?php echo $css( '.et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2', false ); ?>,
[6120] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_pb_audio_module_content h2', false ); ?> {
[6121] Fix | Delete
font-size: <?php echo esc_html( intval( $body_header_size * .53 ) ); ?>px;
[6122] Fix | Delete
}
[6123] Fix | Delete
<?php } ?>
[6124] Fix | Delete
[6125] Fix | Delete
@media only screen and ( max-width: 980px ) {
[6126] Fix | Delete
<?php if ( $mobile_primary_nav_bg !== $primary_nav_bg ) { ?>
[6127] Fix | Delete
#main-header, #main-header .nav li ul, .et-search-form, #main-header .et_mobile_menu { background-color: <?php echo esc_html( $mobile_primary_nav_bg ); ?>; }
[6128] Fix | Delete
<?php } ?>
[6129] Fix | Delete
<?php if ( $menu_link !== $mobile_menu_link ) { ?>
[6130] Fix | Delete
.et_header_style_centered .mobile_nav .select_page, .et_header_style_split .mobile_nav .select_page, .et_mobile_menu li a, .mobile_menu_bar:before, .et_nav_text_color_light #top-menu > li > a, .et_nav_text_color_dark #top-menu > li > a, #top-menu a, .et_mobile_menu li a, #et_search_icon:before, #et_top_search .et-search-form input, .et_search_form_container input, #et-top-navigation .et-cart-info { color: <?php echo esc_html( $mobile_menu_link ); ?>; }
[6131] Fix | Delete
.et_close_search_field:after { color: <?php echo esc_html( $mobile_menu_link ); ?> !important; }
[6132] Fix | Delete
.et_search_form_container input::-moz-placeholder { color: <?php echo esc_html( $mobile_menu_link ); ?>; }
[6133] Fix | Delete
.et_search_form_container input::-webkit-input-placeholder { color: <?php echo esc_html( $mobile_menu_link ); ?>; }
[6134] Fix | Delete
.et_search_form_container input:-ms-input-placeholder { color: <?php echo esc_html( $mobile_menu_link ); ?>; }
[6135] Fix | Delete
<?php } ?>
[6136] Fix | Delete
<?php if ( 14 !== $tablet_body_font_size && $body_font_size !== $tablet_body_font_size ) { ?>
[6137] Fix | Delete
<?php echo esc_html( $body_selector_sibling ); ?>
[6138] Fix | Delete
<?php echo esc_html( $body_selector ); ?>,
[6139] Fix | Delete
<?php echo $css( '.et_pb_column_1_2 .et_quote_content blockquote cite', false ); ?>,
[6140] Fix | Delete
<?php echo $css( '.et_pb_column_1_2 .et_link_content a.et_link_main_url', false ); ?>,
[6141] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_quote_content blockquote cite', false ); ?>,
[6142] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_quote_content blockquote cite', false ); ?>,
[6143] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_quote_content blockquote cite', false ); ?>,
[6144] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_quote_content blockquote cite', false ); ?>,
[6145] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_link_content a.et_link_main_url', false ); ?>,
[6146] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_link_content a.et_link_main_url', false ); ?>,
[6147] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_link_content a.et_link_main_url', false ); ?>,
[6148] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_link_content a.et_link_main_url', false ); ?> {
[6149] Fix | Delete
font-size: <?php echo esc_html( $tablet_body_font_size ); ?>px;
[6150] Fix | Delete
}
[6151] Fix | Delete
<?php echo $css( '.et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_content', false ); ?>,
[6152] Fix | Delete
<?php echo $css( '.et_pb_best_value', false ); ?> {
[6153] Fix | Delete
font-size: <?php echo esc_html( intval( $tablet_body_font_size * 1.14 ) ); ?>px;
[6154] Fix | Delete
}
[6155] Fix | Delete
<?php } ?>
[6156] Fix | Delete
<?php if ( 30 !== $tablet_header_font_size && $tablet_header_font_size !== $body_header_size ) { ?>
[6157] Fix | Delete
<?php echo $css( 'h1' ); ?> {
[6158] Fix | Delete
font-size: <?php echo esc_html( $tablet_header_font_size ); ?>px;
[6159] Fix | Delete
}
[6160] Fix | Delete
<?php echo $css( 'h2' ); ?>,
[6161] Fix | Delete
<?php echo $css( '.product .related h2' ); ?>,
[6162] Fix | Delete
<?php echo $css( '.et_pb_column_1_2 .et_quote_content blockquote p', false ); ?> {
[6163] Fix | Delete
font-size: <?php echo esc_html( intval( $tablet_header_font_size * .86 ) ) ; ?>px;
[6164] Fix | Delete
}
[6165] Fix | Delete
<?php echo $css( 'h3' ); ?> {
[6166] Fix | Delete
font-size: <?php echo esc_html( intval( $tablet_header_font_size * .73 ) ); ?>px;
[6167] Fix | Delete
}
[6168] Fix | Delete
<?php echo $css( 'h4', false ); ?>,
[6169] Fix | Delete
<?php echo $css( '.et_pb_circle_counter h3', false ); ?>,
[6170] Fix | Delete
<?php echo $css( '.et_pb_number_counter h3', false ); ?>,
[6171] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_pb_post h2', false ); ?>,
[6172] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_pb_post h2', false ); ?>,
[6173] Fix | Delete
<?php echo $css( '.et_pb_blog_grid h2', false ); ?>,
[6174] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_quote_content blockquote p', false ); ?>,
[6175] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_quote_content blockquote p', false ); ?>,
[6176] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_quote_content blockquote p', false ); ?>,
[6177] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_quote_content blockquote p', false ); ?>,
[6178] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_link_content h2', false ); ?>,
[6179] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_link_content h2', false ); ?>,
[6180] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_link_content h2', false ); ?>,
[6181] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_link_content h2', false ); ?>,
[6182] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_audio_content h2', false ); ?>,
[6183] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_audio_content h2', false ); ?>,
[6184] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_audio_content h2', false ); ?>,
[6185] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_audio_content h2', false ); ?>,
[6186] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_pb_audio_module_content h2', false ); ?>,
[6187] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_pb_audio_module_content h2', false ); ?>,
[6188] Fix | Delete
<?php echo $css( '.et_pb_gallery_grid .et_pb_gallery_item h3', false ); ?>,
[6189] Fix | Delete
<?php echo $css( '.et_pb_portfolio_grid .et_pb_portfolio_item h2', false ); ?>,
[6190] Fix | Delete
<?php echo $css( '.et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2', false ); ?> {
[6191] Fix | Delete
font-size: <?php echo esc_html( intval( $tablet_header_font_size * .6 ) ); ?>px;
[6192] Fix | Delete
}
[6193] Fix | Delete
<?php echo $css( '.et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_description .et_pb_slide_title', false ); ?> {
[6194] Fix | Delete
font-size: <?php echo esc_html( intval( $tablet_header_font_size * 1.53 ) ); ?>px;
[6195] Fix | Delete
}
[6196] Fix | Delete
<?php echo $css( '.woocommerce', 'ul.products li.product h3' ); ?>,
[6197] Fix | Delete
<?php echo $css( '.woocommerce-page', 'ul.products li.product h3' ); ?>,
[6198] Fix | Delete
<?php echo $css( '.et_pb_gallery_grid .et_pb_gallery_item h3', false ); ?>,
[6199] Fix | Delete
<?php echo $css( '.et_pb_portfolio_grid .et_pb_portfolio_item h2', false ); ?>,
[6200] Fix | Delete
<?php echo $css( '.et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2', false ); ?>,
[6201] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_pb_audio_module_content h2', false ); ?> {
[6202] Fix | Delete
font-size: <?php echo esc_html( intval( $tablet_header_font_size * .53 ) ); ?>px;
[6203] Fix | Delete
}
[6204] Fix | Delete
<?php echo $css( 'h5' ); ?> {
[6205] Fix | Delete
font-size: <?php echo esc_html( intval( $tablet_header_font_size * .53 ) ); ?>px;
[6206] Fix | Delete
}
[6207] Fix | Delete
<?php echo $css( 'h6' ); ?> {
[6208] Fix | Delete
font-size: <?php echo esc_html( intval( $tablet_header_font_size * .47 ) ); ?>px;
[6209] Fix | Delete
}
[6210] Fix | Delete
<?php } ?>
[6211] Fix | Delete
<?php if ( 50 !== $tablet_section_height ) { ?>
[6212] Fix | Delete
<?php echo $css( '.et_pb_section', false ); ?> {
[6213] Fix | Delete
padding: <?php echo esc_html( $tablet_section_height ); ?>px 0;
[6214] Fix | Delete
}
[6215] Fix | Delete
<?php echo $css( '.et_pb_section.et_pb_fullwidth_section', false ); ?> {
[6216] Fix | Delete
padding: 0;
[6217] Fix | Delete
}
[6218] Fix | Delete
<?php } ?>
[6219] Fix | Delete
<?php if ( 30 !== $tablet_row_height ) { ?>
[6220] Fix | Delete
<?php echo $css( '.et_pb_row', false ); ?>,
[6221] Fix | Delete
<?php echo $css( '.et_pb_column .et_pb_row_inner', false ); ?> {
[6222] Fix | Delete
padding: <?php echo esc_html( $tablet_row_height ); ?>px 0;
[6223] Fix | Delete
}
[6224] Fix | Delete
<?php } ?>
[6225] Fix | Delete
}
[6226] Fix | Delete
@media only screen and ( max-width: 767px ) {
[6227] Fix | Delete
<?php if ( 14 !== $phone_body_font_size && $phone_body_font_size !== $tablet_body_font_size ) { ?>
[6228] Fix | Delete
<?php echo esc_html( $body_selector_sibling ); ?>
[6229] Fix | Delete
<?php echo esc_html( $body_selector ); ?>,
[6230] Fix | Delete
<?php echo $css( '.et_pb_column_1_2 .et_quote_content blockquote cite', false ); ?>,
[6231] Fix | Delete
<?php echo $css( '.et_pb_column_1_2 .et_link_content a.et_link_main_url', false ); ?>,
[6232] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_quote_content blockquote cite', false ); ?>,
[6233] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_quote_content blockquote cite', false ); ?>,
[6234] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_quote_content blockquote cite', false ); ?>,
[6235] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_quote_content blockquote cite', false ); ?>,
[6236] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_link_content a.et_link_main_url', false ); ?>,
[6237] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_link_content a.et_link_main_url', false ); ?>,
[6238] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_link_content a.et_link_main_url', false ); ?>,
[6239] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_link_content a.et_link_main_url', false ); ?> {
[6240] Fix | Delete
font-size: <?php echo esc_html( $phone_body_font_size ); ?>px;
[6241] Fix | Delete
}
[6242] Fix | Delete
<?php echo $css( '.et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_content', false ); ?>,
[6243] Fix | Delete
<?php echo $css( '.et_pb_best_value', false ); ?> {
[6244] Fix | Delete
font-size: <?php echo esc_html( intval( $phone_body_font_size * 1.14 ) ); ?>px;
[6245] Fix | Delete
}
[6246] Fix | Delete
<?php } ?>
[6247] Fix | Delete
<?php if ( 30 !== $phone_header_font_size && $tablet_header_font_size !== $phone_header_font_size ) { ?>
[6248] Fix | Delete
<?php echo $css( 'h1' ); ?> {
[6249] Fix | Delete
font-size: <?php echo esc_html( $phone_header_font_size ); ?>px;
[6250] Fix | Delete
}
[6251] Fix | Delete
<?php echo $css( 'h2' ); ?>,
[6252] Fix | Delete
<?php echo $css( '.product .related h2' ); ?>,
[6253] Fix | Delete
<?php echo $css( '.et_pb_column_1_2 .et_quote_content blockquote p', false ); ?> {
[6254] Fix | Delete
font-size: <?php echo esc_html( intval( $phone_header_font_size * .86 ) ) ; ?>px;
[6255] Fix | Delete
}
[6256] Fix | Delete
<?php echo $css( 'h3' ); ?> {
[6257] Fix | Delete
font-size: <?php echo esc_html( intval( $phone_header_font_size * .73 ) ); ?>px;
[6258] Fix | Delete
}
[6259] Fix | Delete
<?php echo $css( 'h4' ); ?>,
[6260] Fix | Delete
<?php echo $css( '.et_pb_circle_counter h3', false ); ?>,
[6261] Fix | Delete
<?php echo $css( '.et_pb_number_counter h3', false ); ?>,
[6262] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_pb_post h2', false ); ?>,
[6263] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_pb_post h2', false ); ?>,
[6264] Fix | Delete
<?php echo $css( '.et_pb_blog_grid h2', false ); ?>,
[6265] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_quote_content blockquote p', false ); ?>,
[6266] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_quote_content blockquote p', false ); ?>,
[6267] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_quote_content blockquote p', false ); ?>,
[6268] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_quote_content blockquote p', false ); ?>,
[6269] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_link_content h2', false ); ?>,
[6270] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_link_content h2', false ); ?>,
[6271] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_link_content h2', false ); ?>,
[6272] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_link_content h2', false ); ?>,
[6273] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_audio_content h2', false ); ?>,
[6274] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_audio_content h2', false ); ?>,
[6275] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_audio_content h2', false ); ?>,
[6276] Fix | Delete
<?php echo $css( '.et_pb_blog_grid .et_audio_content h2', false ); ?>,
[6277] Fix | Delete
<?php echo $css( '.et_pb_column_3_8 .et_pb_audio_module_content h2', false ); ?>,
[6278] Fix | Delete
<?php echo $css( '.et_pb_column_1_3 .et_pb_audio_module_content h2', false ); ?>,
[6279] Fix | Delete
<?php echo $css( '.et_pb_gallery_grid .et_pb_gallery_item h3', false ); ?>,
[6280] Fix | Delete
<?php echo $css( '.et_pb_portfolio_grid .et_pb_portfolio_item h2', false ); ?>,
[6281] Fix | Delete
<?php echo $css( '.et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2', false ); ?> {
[6282] Fix | Delete
font-size: <?php echo esc_html( intval( $phone_header_font_size * .6 ) ); ?>px;
[6283] Fix | Delete
}
[6284] Fix | Delete
<?php echo $css( '.et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_description .et_pb_slide_title', false ); ?> {
[6285] Fix | Delete
font-size: <?php echo esc_html( intval( $phone_header_font_size * 1.53 ) ); ?>px;
[6286] Fix | Delete
}
[6287] Fix | Delete
<?php echo $css( '.woocommerce', 'ul.products li.product h3' ); ?>,
[6288] Fix | Delete
<?php echo $css( '.woocommerce-page', 'ul.products li.product h3' ); ?>,
[6289] Fix | Delete
<?php echo $css( '.et_pb_gallery_grid .et_pb_gallery_item h3', false ); ?>,
[6290] Fix | Delete
<?php echo $css( '.et_pb_portfolio_grid .et_pb_portfolio_item h2', false ); ?>,
[6291] Fix | Delete
<?php echo $css( '.et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2', false ); ?>,
[6292] Fix | Delete
<?php echo $css( '.et_pb_column_1_4 .et_pb_audio_module_content h2', false ); ?> {
[6293] Fix | Delete
font-size: <?php echo esc_html( intval( $phone_header_font_size * .53 ) ); ?>px;
[6294] Fix | Delete
}
[6295] Fix | Delete
<?php echo $css( 'h5' ); ?> {
[6296] Fix | Delete
font-size: <?php echo esc_html( intval( $phone_header_font_size * .53 ) ) ?>px;
[6297] Fix | Delete
}
[6298] Fix | Delete
<?php echo $css( 'h6' ); ?> {
[6299] Fix | Delete
font-size: <?php echo esc_html( intval( $phone_header_font_size * .47 ) ) ?>px;
[6300] Fix | Delete
}
[6301] Fix | Delete
<?php } ?>
[6302] Fix | Delete
<?php if ( 50 !== $phone_section_height && $tablet_section_height !== $phone_section_height ) { ?>
[6303] Fix | Delete
<?php echo $css( '.et_pb_section', false ); ?> {
[6304] Fix | Delete
padding: <?php echo esc_html( $phone_section_height ); ?>px 0;
[6305] Fix | Delete
}
[6306] Fix | Delete
<?php echo $css( '.et_pb_section.et_pb_fullwidth_section', false ); ?> {
[6307] Fix | Delete
padding: 0;
[6308] Fix | Delete
}
[6309] Fix | Delete
<?php } ?>
[6310] Fix | Delete
<?php if ( 30 !== $phone_row_height && $tablet_row_height !== $phone_row_height ) { ?>
[6311] Fix | Delete
<?php echo $css( '.et_pb_row', false ); ?>,
[6312] Fix | Delete
<?php echo $css( '.et_pb_column .et_pb_row_inner', false ); ?> {
[6313] Fix | Delete
padding: <?php echo esc_html( $phone_row_height ); ?>px 0;
[6314] Fix | Delete
}
[6315] Fix | Delete
<?php } ?>
[6316] Fix | Delete
}
[6317] Fix | Delete
[6318] Fix | Delete
<?php // <<<--------- END THEME CUSTOMIZER CSS --------->>>
[6319] Fix | Delete
[6320] Fix | Delete
/**
[6321] Fix | Delete
* Filter Theme Customizer CSS output.
[6322] Fix | Delete
*
[6323] Fix | Delete
* @since 3.0.51
[6324] Fix | Delete
*
[6325] Fix | Delete
* @param string $theme_customizer_css
[6326] Fix | Delete
*/
[6327] Fix | Delete
$css_output[] = apply_filters( 'et_divi_theme_customizer_css_output', ob_get_clean() );
[6328] Fix | Delete
[6329] Fix | Delete
$et_gf_heading_font = sanitize_text_field( et_pb_get_specific_default_font( et_get_option( 'heading_font', 'none' ) ) );
[6330] Fix | Delete
$et_gf_body_font = sanitize_text_field( et_pb_get_specific_default_font( et_get_option( 'body_font', 'none' ) ) );
[6331] Fix | Delete
$et_gf_buttons_font = sanitize_text_field( et_pb_get_specific_default_font( et_get_option( 'all_buttons_font', 'none' ) ) );
[6332] Fix | Delete
$et_gf_primary_nav_font = sanitize_text_field( et_pb_get_specific_default_font( et_get_option( 'primary_nav_font', 'none' ) ) );
[6333] Fix | Delete
$et_gf_secondary_nav_font = sanitize_text_field( et_pb_get_specific_default_font( et_get_option( 'secondary_nav_font', 'none' ) ) );
[6334] Fix | Delete
$et_gf_slide_nav_font = sanitize_text_field( et_pb_get_specific_default_font( et_get_option( 'slide_nav_font', 'none' ) ) );
[6335] Fix | Delete
[6336] Fix | Delete
/* =========================================
[6337] Fix | Delete
* --------->>> BEGIN FONTS CSS <<<---------
[6338] Fix | Delete
* ========================================= */
[6339] Fix | Delete
ob_start();
[6340] Fix | Delete
[6341] Fix | Delete
if ( ! in_array( $et_gf_heading_font, array( '', 'none' ), true ) || ! in_array( $et_gf_body_font, array( '', 'none' ), true ) || ! in_array( $et_gf_buttons_font, array( '', 'none' ), true ) || ! in_array( $et_gf_primary_nav_font, array( '', 'none' ), true ) || ! in_array( $et_gf_secondary_nav_font, array( '', 'none' ), true ) || ! in_array( $et_gf_slide_nav_font, array( '', 'none' ), true ) ) {
[6342] Fix | Delete
if ( ! in_array( $et_gf_heading_font, array( '', 'none' ) ) ) {
[6343] Fix | Delete
?>
[6344] Fix | Delete
<?php echo $css( 'h1' ); ?>,
[6345] Fix | Delete
<?php echo $css( 'h2' ); ?>,
[6346] Fix | Delete
<?php echo $css( 'h3' ); ?>,
[6347] Fix | Delete
<?php echo $css( 'h4' ); ?>,
[6348] Fix | Delete
<?php echo $css( 'h5' ); ?>,
[6349] Fix | Delete
<?php echo $css( 'h6' ); ?> {
[6350] Fix | Delete
<?php echo sanitize_text_field( et_builder_get_font_family( $et_gf_heading_font ) ); ?>
[6351] Fix | Delete
}
[6352] Fix | Delete
<?php }
[6353] Fix | Delete
[6354] Fix | Delete
if ( ! in_array( $et_gf_body_font, array( '', 'none' ) ) ) { ?>
[6355] Fix | Delete
body,
[6356] Fix | Delete
<?php echo $css( 'input' ); ?>,
[6357] Fix | Delete
<?php echo $css( 'textarea' ); ?>,
[6358] Fix | Delete
<?php echo $css( 'select' ); ?> {
[6359] Fix | Delete
<?php echo sanitize_text_field( et_builder_get_font_family( $et_gf_body_font ) ); ?>
[6360] Fix | Delete
}
[6361] Fix | Delete
<?php }
[6362] Fix | Delete
[6363] Fix | Delete
if ( ! in_array( $et_gf_buttons_font, array( '', 'none' ) ) ) { ?>
[6364] Fix | Delete
<?php echo $css( '.et_pb_button', false ); ?> {
[6365] Fix | Delete
<?php echo sanitize_text_field( et_builder_get_font_family( $et_gf_buttons_font ) ); ?>
[6366] Fix | Delete
}
[6367] Fix | Delete
<?php }
[6368] Fix | Delete
[6369] Fix | Delete
if ( ! in_array( $et_gf_primary_nav_font, array( '', 'none' ) ) ) { ?>
[6370] Fix | Delete
#main-header,
[6371] Fix | Delete
#et-top-navigation {
[6372] Fix | Delete
<?php echo sanitize_text_field( et_builder_get_font_family( $et_gf_primary_nav_font ) ); ?>
[6373] Fix | Delete
}
[6374] Fix | Delete
<?php }
[6375] Fix | Delete
[6376] Fix | Delete
if ( ! in_array( $et_gf_secondary_nav_font, array( '', 'none' ) ) ) { ?>
[6377] Fix | Delete
#top-header .container {
[6378] Fix | Delete
<?php echo sanitize_text_field( et_builder_get_font_family( $et_gf_secondary_nav_font ) ); ?>
[6379] Fix | Delete
}
[6380] Fix | Delete
<?php }
[6381] Fix | Delete
[6382] Fix | Delete
if ( ! in_array( $et_gf_slide_nav_font, array( '', 'none' ) ) ) { ?>
[6383] Fix | Delete
.et_slide_in_menu_container, .et_slide_in_menu_container .et-search-field{
[6384] Fix | Delete
<?php echo sanitize_text_field( et_builder_get_font_family( $et_gf_slide_nav_font ) ); ?>
[6385] Fix | Delete
}
[6386] Fix | Delete
<?php }
[6387] Fix | Delete
} // <<<--------- END FONTS CSS --------->>>
[6388] Fix | Delete
[6389] Fix | Delete
/**
[6390] Fix | Delete
* Filter fonts CSS output.
[6391] Fix | Delete
*
[6392] Fix | Delete
* @since 3.0.51
[6393] Fix | Delete
*
[6394] Fix | Delete
* @param string $css_output
[6395] Fix | Delete
*/
[6396] Fix | Delete
$css_output[] = apply_filters( 'et_divi_fonts_css_output', ob_get_clean() );
[6397] Fix | Delete
[6398] Fix | Delete
/**
[6399] Fix | Delete
* use_sidebar_width might invalidate the use of sidebar_width.
[6400] Fix | Delete
* It is placed outside other customizer style so live preview
[6401] Fix | Delete
* can invalidate and revalidate it for smoother experience
[6402] Fix | Delete
*/
[6403] Fix | Delete
if ( $use_sidebar_width && 21 !== $sidebar_width && 19 <= $sidebar_width && 33 >= $sidebar_width ) {
[6404] Fix | Delete
$content_width = 100 - $sidebar_width;
[6405] Fix | Delete
$content_width_percentage = $content_width . '%';
[6406] Fix | Delete
$sidebar_width_percentage = $sidebar_width . '%';
[6407] Fix | Delete
$sidebar_width_css = sprintf(
[6408] Fix | Delete
'body #page-container #sidebar { width:%2$s; }
[6409] Fix | Delete
body #page-container #left-area { width:%1$s; }
[6410] Fix | Delete
.et_right_sidebar #main-content .container:before { right:%2$s !important; }
[6411] Fix | Delete
.et_left_sidebar #main-content .container:before { left:%2$s !important; }',
[6412] Fix | Delete
esc_html( $content_width_percentage ),
[6413] Fix | Delete
esc_html( $sidebar_width_percentage )
[6414] Fix | Delete
);
[6415] Fix | Delete
[6416] Fix | Delete
/**
[6417] Fix | Delete
* Filter sidebar width CSS output.
[6418] Fix | Delete
*
[6419] Fix | Delete
* @since 3.0.51
[6420] Fix | Delete
*
[6421] Fix | Delete
* @param string $sidebar_width_css
[6422] Fix | Delete
*/
[6423] Fix | Delete
$css_output[] = apply_filters( 'et_divi_sidebar_width_css_output', $sidebar_width_css );
[6424] Fix | Delete
}
[6425] Fix | Delete
[6426] Fix | Delete
/* ====================================================
[6427] Fix | Delete
* --------->>> BEGIN MODULE CUSTOMIZER CSS <<<--------
[6428] Fix | Delete
* ==================================================== */
[6429] Fix | Delete
[6430] Fix | Delete
/**
[6431] Fix | Delete
* @since ??
[6432] Fix | Delete
*
[6433] Fix | Delete
* Module Customizer contains only CSS responsible for the font size options.
[6434] Fix | Delete
* The CSS is printed only if website has an unmigrated Module Customizer font size values into the
[6435] Fix | Delete
* new Global Defaults system. The values suppose to be migrated at the first time when Global Defaults
[6436] Fix | Delete
* changes are saved.
[6437] Fix | Delete
*/
[6438] Fix | Delete
[6439] Fix | Delete
$custom_defaults_unmigrated = et_get_option( 'builder_custom_defaults_unmigrated', false );
[6440] Fix | Delete
[6441] Fix | Delete
// Module customizer should only be printed if current page uses builder to avoid module
[6442] Fix | Delete
// customizer styling being cached on `et-divi-customizer-global-*css` file which is only
[6443] Fix | Delete
// served on non-builder page
[6444] Fix | Delete
if ( et_core_is_builder_used_on_current_request() && $custom_defaults_unmigrated ) {
[6445] Fix | Delete
[6446] Fix | Delete
ob_start();
[6447] Fix | Delete
[6448] Fix | Delete
/* Gallery */
[6449] Fix | Delete
et_pb_print_module_styles_css( 'et_pb_gallery', array(
[6450] Fix | Delete
array(
[6451] Fix | Delete
'type' => 'font-size',
[6452] Fix | Delete
'key' => 'title_font_size',
[6453] Fix | Delete
'selector' => '.et_pb_gallery_grid .et_pb_gallery_item .et_pb_gallery_title',
[6454] Fix | Delete
),
[6455] Fix | Delete
array(
[6456] Fix | Delete
'type' => 'font-size',
[6457] Fix | Delete
'key' => 'caption_font_size',
[6458] Fix | Delete
'selector' => '.et_pb_gallery .et_pb_gallery_item .et_pb_gallery_caption',
[6459] Fix | Delete
),
[6460] Fix | Delete
) );
[6461] Fix | Delete
[6462] Fix | Delete
/* Blurb */
[6463] Fix | Delete
et_pb_print_module_styles_css( 'et_pb_blurb', array(
[6464] Fix | Delete
array(
[6465] Fix | Delete
'type' => 'font-size',
[6466] Fix | Delete
'key' => 'header_font_size',
[6467] Fix | Delete
'selector' => '.et_pb_blurb h4',
[6468] Fix | Delete
),
[6469] Fix | Delete
) );
[6470] Fix | Delete
[6471] Fix | Delete
/* Tabs */
[6472] Fix | Delete
et_pb_print_module_styles_css( 'et_pb_tabs', array(
[6473] Fix | Delete
array(
[6474] Fix | Delete
'type' => 'font-size',
[6475] Fix | Delete
'key' => 'title_font_size',
[6476] Fix | Delete
'selector' => '.et_pb_tabs_controls li',
[6477] Fix | Delete
),
[6478] Fix | Delete
array(
[6479] Fix | Delete
'type' => 'padding-tabs',
[6480] Fix | Delete
'key' => 'padding',
[6481] Fix | Delete
'selector' => '',
[6482] Fix | Delete
),
[6483] Fix | Delete
) );
[6484] Fix | Delete
[6485] Fix | Delete
/* Slider */
[6486] Fix | Delete
et_pb_print_module_styles_css( 'et_pb_slider', array(
[6487] Fix | Delete
array(
[6488] Fix | Delete
'type' => 'font-size',
[6489] Fix | Delete
'key' => 'header_font_size',
[6490] Fix | Delete
'selector' => '.et_pb_slider_fullwidth_off .et_pb_slide_description .et_pb_slide_title',
[6491] Fix | Delete
),
[6492] Fix | Delete
array(
[6493] Fix | Delete
'type' => 'font-size',
[6494] Fix | Delete
'key' => 'body_font_size',
[6495] Fix | Delete
'selector' => '.et_pb_slider_fullwidth_off .et_pb_slide_content',
[6496] Fix | Delete
),
[6497] Fix | Delete
array(
[6498] Fix | Delete
'type' => 'padding-slider',
[6499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function