Edit File by line
/home/barbar84/www/wp-conte.../themes/Divi
File: functions.php
array(
[2000] Fix | Delete
'default' => et_get_option( 'tablet_header_font_size', '30' ),
[2001] Fix | Delete
'type' => 'option',
[2002] Fix | Delete
'capability' => 'edit_theme_options',
[2003] Fix | Delete
'transport' => 'postMessage',
[2004] Fix | Delete
'sanitize_callback' => 'absint',
[2005] Fix | Delete
)
[2006] Fix | Delete
);
[2007] Fix | Delete
[2008] Fix | Delete
$wp_customize->add_control(
[2009] Fix | Delete
new ET_Divi_Range_Option(
[2010] Fix | Delete
$wp_customize,
[2011] Fix | Delete
'et_divi[phone_header_font_size]',
[2012] Fix | Delete
array(
[2013] Fix | Delete
'label' => esc_html__( 'Header Text Size', 'Divi' ),
[2014] Fix | Delete
'section' => 'et_divi_mobile_phone',
[2015] Fix | Delete
'type' => 'range',
[2016] Fix | Delete
'input_attrs' => array(
[2017] Fix | Delete
'min' => 22,
[2018] Fix | Delete
'max' => 72,
[2019] Fix | Delete
'step' => 1,
[2020] Fix | Delete
),
[2021] Fix | Delete
)
[2022] Fix | Delete
)
[2023] Fix | Delete
);
[2024] Fix | Delete
[2025] Fix | Delete
$wp_customize->add_setting(
[2026] Fix | Delete
'et_divi[tablet_header_font_size]',
[2027] Fix | Delete
array(
[2028] Fix | Delete
'default' => et_get_option( 'body_header_size', '30' ),
[2029] Fix | Delete
'type' => 'option',
[2030] Fix | Delete
'capability' => 'edit_theme_options',
[2031] Fix | Delete
'transport' => 'postMessage',
[2032] Fix | Delete
'sanitize_callback' => 'absint',
[2033] Fix | Delete
)
[2034] Fix | Delete
);
[2035] Fix | Delete
[2036] Fix | Delete
$wp_customize->add_control(
[2037] Fix | Delete
new ET_Divi_Range_Option(
[2038] Fix | Delete
$wp_customize,
[2039] Fix | Delete
'et_divi[tablet_header_font_size]',
[2040] Fix | Delete
array(
[2041] Fix | Delete
'label' => esc_html__( 'Header Text Size', 'Divi' ),
[2042] Fix | Delete
'section' => 'et_divi_mobile_tablet',
[2043] Fix | Delete
'type' => 'range',
[2044] Fix | Delete
'input_attrs' => array(
[2045] Fix | Delete
'min' => 22,
[2046] Fix | Delete
'max' => 72,
[2047] Fix | Delete
'step' => 1,
[2048] Fix | Delete
),
[2049] Fix | Delete
)
[2050] Fix | Delete
)
[2051] Fix | Delete
);
[2052] Fix | Delete
[2053] Fix | Delete
$wp_customize->add_setting(
[2054] Fix | Delete
'et_divi[heading_font]',
[2055] Fix | Delete
array(
[2056] Fix | Delete
'default' => 'none',
[2057] Fix | Delete
'type' => 'option',
[2058] Fix | Delete
'capability' => 'edit_theme_options',
[2059] Fix | Delete
'transport' => 'postMessage',
[2060] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_choices',
[2061] Fix | Delete
)
[2062] Fix | Delete
);
[2063] Fix | Delete
[2064] Fix | Delete
$wp_customize->add_control(
[2065] Fix | Delete
new ET_Divi_Select_Option(
[2066] Fix | Delete
$wp_customize,
[2067] Fix | Delete
'et_divi[heading_font]',
[2068] Fix | Delete
array(
[2069] Fix | Delete
'label' => esc_html__( 'Header Font', 'Divi' ),
[2070] Fix | Delete
'section' => 'et_divi_general_typography',
[2071] Fix | Delete
'settings' => 'et_divi[heading_font]',
[2072] Fix | Delete
'type' => 'select',
[2073] Fix | Delete
'choices' => $font_choices,
[2074] Fix | Delete
)
[2075] Fix | Delete
)
[2076] Fix | Delete
);
[2077] Fix | Delete
[2078] Fix | Delete
$wp_customize->add_setting(
[2079] Fix | Delete
'et_divi[body_font]',
[2080] Fix | Delete
array(
[2081] Fix | Delete
'default' => 'none',
[2082] Fix | Delete
'type' => 'option',
[2083] Fix | Delete
'capability' => 'edit_theme_options',
[2084] Fix | Delete
'transport' => 'postMessage',
[2085] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_choices',
[2086] Fix | Delete
)
[2087] Fix | Delete
);
[2088] Fix | Delete
[2089] Fix | Delete
$wp_customize->add_control(
[2090] Fix | Delete
new ET_Divi_Select_Option(
[2091] Fix | Delete
$wp_customize,
[2092] Fix | Delete
'et_divi[body_font]',
[2093] Fix | Delete
array(
[2094] Fix | Delete
'label' => esc_html__( 'Body Font', 'Divi' ),
[2095] Fix | Delete
'section' => 'et_divi_general_typography',
[2096] Fix | Delete
'settings' => 'et_divi[body_font]',
[2097] Fix | Delete
'type' => 'select',
[2098] Fix | Delete
'choices' => $font_choices,
[2099] Fix | Delete
)
[2100] Fix | Delete
)
[2101] Fix | Delete
);
[2102] Fix | Delete
[2103] Fix | Delete
$wp_customize->add_setting(
[2104] Fix | Delete
'et_divi[link_color]',
[2105] Fix | Delete
array(
[2106] Fix | Delete
'default' => et_get_option( 'accent_color', '#2ea3f2' ),
[2107] Fix | Delete
'type' => 'option',
[2108] Fix | Delete
'capability' => 'edit_theme_options',
[2109] Fix | Delete
'transport' => 'postMessage',
[2110] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2111] Fix | Delete
)
[2112] Fix | Delete
);
[2113] Fix | Delete
[2114] Fix | Delete
$wp_customize->add_control(
[2115] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[2116] Fix | Delete
$wp_customize,
[2117] Fix | Delete
'et_divi[link_color]',
[2118] Fix | Delete
array(
[2119] Fix | Delete
'label' => esc_html__( 'Body Link Color', 'Divi' ),
[2120] Fix | Delete
'section' => 'et_divi_general_typography',
[2121] Fix | Delete
'settings' => 'et_divi[link_color]',
[2122] Fix | Delete
)
[2123] Fix | Delete
)
[2124] Fix | Delete
);
[2125] Fix | Delete
[2126] Fix | Delete
$wp_customize->add_setting(
[2127] Fix | Delete
'et_divi[font_color]',
[2128] Fix | Delete
array(
[2129] Fix | Delete
'default' => '#666666',
[2130] Fix | Delete
'type' => 'option',
[2131] Fix | Delete
'capability' => 'edit_theme_options',
[2132] Fix | Delete
'transport' => 'postMessage',
[2133] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2134] Fix | Delete
)
[2135] Fix | Delete
);
[2136] Fix | Delete
[2137] Fix | Delete
$wp_customize->add_control(
[2138] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[2139] Fix | Delete
$wp_customize,
[2140] Fix | Delete
'et_divi[font_color]',
[2141] Fix | Delete
array(
[2142] Fix | Delete
'label' => esc_html__( 'Body Text Color', 'Divi' ),
[2143] Fix | Delete
'section' => 'et_divi_general_typography',
[2144] Fix | Delete
'settings' => 'et_divi[font_color]',
[2145] Fix | Delete
)
[2146] Fix | Delete
)
[2147] Fix | Delete
);
[2148] Fix | Delete
[2149] Fix | Delete
$wp_customize->add_setting(
[2150] Fix | Delete
'et_divi[header_color]',
[2151] Fix | Delete
array(
[2152] Fix | Delete
'default' => '#666666',
[2153] Fix | Delete
'type' => 'option',
[2154] Fix | Delete
'capability' => 'edit_theme_options',
[2155] Fix | Delete
'transport' => 'postMessage',
[2156] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2157] Fix | Delete
)
[2158] Fix | Delete
);
[2159] Fix | Delete
[2160] Fix | Delete
$wp_customize->add_control(
[2161] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[2162] Fix | Delete
$wp_customize,
[2163] Fix | Delete
'et_divi[header_color]',
[2164] Fix | Delete
array(
[2165] Fix | Delete
'label' => esc_html__( 'Header Text Color', 'Divi' ),
[2166] Fix | Delete
'section' => 'et_divi_general_typography',
[2167] Fix | Delete
'settings' => 'et_divi[header_color]',
[2168] Fix | Delete
)
[2169] Fix | Delete
)
[2170] Fix | Delete
);
[2171] Fix | Delete
[2172] Fix | Delete
$wp_customize->add_setting(
[2173] Fix | Delete
'et_divi[accent_color]',
[2174] Fix | Delete
array(
[2175] Fix | Delete
'default' => '#2ea3f2',
[2176] Fix | Delete
'type' => 'option',
[2177] Fix | Delete
'capability' => 'edit_theme_options',
[2178] Fix | Delete
'transport' => 'postMessage',
[2179] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[2180] Fix | Delete
)
[2181] Fix | Delete
);
[2182] Fix | Delete
[2183] Fix | Delete
$wp_customize->add_control(
[2184] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[2185] Fix | Delete
$wp_customize,
[2186] Fix | Delete
'et_divi[accent_color]',
[2187] Fix | Delete
array(
[2188] Fix | Delete
'label' => esc_html__( 'Theme Accent Color', 'Divi' ),
[2189] Fix | Delete
'section' => 'et_divi_general_layout',
[2190] Fix | Delete
'settings' => 'et_divi[accent_color]',
[2191] Fix | Delete
)
[2192] Fix | Delete
)
[2193] Fix | Delete
);
[2194] Fix | Delete
[2195] Fix | Delete
$wp_customize->add_setting(
[2196] Fix | Delete
'et_divi[color_schemes]',
[2197] Fix | Delete
array(
[2198] Fix | Delete
'default' => 'none',
[2199] Fix | Delete
'type' => 'option',
[2200] Fix | Delete
'capability' => 'edit_theme_options',
[2201] Fix | Delete
'transport' => 'postMessage',
[2202] Fix | Delete
'sanitize_callback' => 'et_sanitize_color_scheme',
[2203] Fix | Delete
)
[2204] Fix | Delete
);
[2205] Fix | Delete
[2206] Fix | Delete
$wp_customize->add_control(
[2207] Fix | Delete
'et_divi[color_schemes]',
[2208] Fix | Delete
array(
[2209] Fix | Delete
'label' => esc_html__( 'Color Schemes', 'Divi' ),
[2210] Fix | Delete
'section' => 'et_color_schemes',
[2211] Fix | Delete
'settings' => 'et_divi[color_schemes]',
[2212] Fix | Delete
'type' => 'select',
[2213] Fix | Delete
'choices' => et_divi_color_scheme_choices(),
[2214] Fix | Delete
)
[2215] Fix | Delete
);
[2216] Fix | Delete
[2217] Fix | Delete
$wp_customize->add_setting(
[2218] Fix | Delete
'et_divi[header_style]',
[2219] Fix | Delete
array(
[2220] Fix | Delete
'default' => 'left',
[2221] Fix | Delete
'type' => 'option',
[2222] Fix | Delete
'capability' => 'edit_theme_options',
[2223] Fix | Delete
'transport' => 'postMessage',
[2224] Fix | Delete
'sanitize_callback' => 'et_sanitize_header_style',
[2225] Fix | Delete
)
[2226] Fix | Delete
);
[2227] Fix | Delete
[2228] Fix | Delete
$wp_customize->add_control(
[2229] Fix | Delete
'et_divi[header_style]',
[2230] Fix | Delete
array(
[2231] Fix | Delete
'label' => esc_html__( 'Header Style', 'Divi' ),
[2232] Fix | Delete
'section' => 'et_divi_header_layout',
[2233] Fix | Delete
'type' => 'select',
[2234] Fix | Delete
'choices' => et_divi_header_style_choices(),
[2235] Fix | Delete
)
[2236] Fix | Delete
);
[2237] Fix | Delete
[2238] Fix | Delete
$wp_customize->add_setting(
[2239] Fix | Delete
'et_divi[vertical_nav]',
[2240] Fix | Delete
array(
[2241] Fix | Delete
'type' => 'option',
[2242] Fix | Delete
'capability' => 'edit_theme_options',
[2243] Fix | Delete
'transport' => 'postMessage',
[2244] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2245] Fix | Delete
)
[2246] Fix | Delete
);
[2247] Fix | Delete
[2248] Fix | Delete
$wp_customize->add_control(
[2249] Fix | Delete
'et_divi[vertical_nav]',
[2250] Fix | Delete
array(
[2251] Fix | Delete
'label' => esc_html__( 'Enable Vertical Navigation', 'Divi' ),
[2252] Fix | Delete
'section' => 'et_divi_header_layout',
[2253] Fix | Delete
'type' => 'checkbox',
[2254] Fix | Delete
)
[2255] Fix | Delete
);
[2256] Fix | Delete
[2257] Fix | Delete
$wp_customize->add_setting(
[2258] Fix | Delete
'et_divi[vertical_nav_orientation]',
[2259] Fix | Delete
array(
[2260] Fix | Delete
'default' => 'left',
[2261] Fix | Delete
'type' => 'option',
[2262] Fix | Delete
'capability' => 'edit_theme_options',
[2263] Fix | Delete
'transport' => 'postMessage',
[2264] Fix | Delete
'sanitize_callback' => 'et_sanitize_left_right',
[2265] Fix | Delete
)
[2266] Fix | Delete
);
[2267] Fix | Delete
[2268] Fix | Delete
$wp_customize->add_control(
[2269] Fix | Delete
'et_divi[vertical_nav_orientation]',
[2270] Fix | Delete
array(
[2271] Fix | Delete
'label' => esc_html__( 'Vertical Menu Orientation', 'Divi' ),
[2272] Fix | Delete
'section' => 'et_divi_header_layout',
[2273] Fix | Delete
'type' => 'select',
[2274] Fix | Delete
'choices' => et_divi_left_right_choices(),
[2275] Fix | Delete
)
[2276] Fix | Delete
);
[2277] Fix | Delete
[2278] Fix | Delete
if ( 'on' === et_get_option( 'divi_fixed_nav', 'on' ) ) {
[2279] Fix | Delete
[2280] Fix | Delete
$wp_customize->add_setting(
[2281] Fix | Delete
'et_divi[hide_nav]',
[2282] Fix | Delete
array(
[2283] Fix | Delete
'type' => 'option',
[2284] Fix | Delete
'capability' => 'edit_theme_options',
[2285] Fix | Delete
'transport' => 'postMessage',
[2286] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2287] Fix | Delete
)
[2288] Fix | Delete
);
[2289] Fix | Delete
[2290] Fix | Delete
$wp_customize->add_control(
[2291] Fix | Delete
'et_divi[hide_nav]',
[2292] Fix | Delete
array(
[2293] Fix | Delete
'label' => esc_html__( 'Hide Navigation Until Scroll', 'Divi' ),
[2294] Fix | Delete
'section' => 'et_divi_header_layout',
[2295] Fix | Delete
'type' => 'checkbox',
[2296] Fix | Delete
)
[2297] Fix | Delete
);
[2298] Fix | Delete
[2299] Fix | Delete
}
[2300] Fix | Delete
[2301] Fix | Delete
$wp_customize->add_setting(
[2302] Fix | Delete
'et_divi[show_header_social_icons]',
[2303] Fix | Delete
array(
[2304] Fix | Delete
'type' => 'option',
[2305] Fix | Delete
'capability' => 'edit_theme_options',
[2306] Fix | Delete
'transport' => 'postMessage',
[2307] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2308] Fix | Delete
)
[2309] Fix | Delete
);
[2310] Fix | Delete
[2311] Fix | Delete
$wp_customize->add_control(
[2312] Fix | Delete
'et_divi[show_header_social_icons]',
[2313] Fix | Delete
array(
[2314] Fix | Delete
'label' => esc_html__( 'Show Social Icons', 'Divi' ),
[2315] Fix | Delete
'section' => 'et_divi_header_information',
[2316] Fix | Delete
'type' => 'checkbox',
[2317] Fix | Delete
)
[2318] Fix | Delete
);
[2319] Fix | Delete
[2320] Fix | Delete
$wp_customize->add_setting(
[2321] Fix | Delete
'et_divi[show_search_icon]',
[2322] Fix | Delete
array(
[2323] Fix | Delete
'default' => 'on',
[2324] Fix | Delete
'type' => 'option',
[2325] Fix | Delete
'capability' => 'edit_theme_options',
[2326] Fix | Delete
'transport' => 'postMessage',
[2327] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2328] Fix | Delete
)
[2329] Fix | Delete
);
[2330] Fix | Delete
[2331] Fix | Delete
$wp_customize->add_control(
[2332] Fix | Delete
'et_divi[show_search_icon]',
[2333] Fix | Delete
array(
[2334] Fix | Delete
'label' => esc_html__( 'Show Search Icon', 'Divi' ),
[2335] Fix | Delete
'section' => 'et_divi_header_information',
[2336] Fix | Delete
'type' => 'checkbox',
[2337] Fix | Delete
)
[2338] Fix | Delete
);
[2339] Fix | Delete
[2340] Fix | Delete
$wp_customize->add_setting(
[2341] Fix | Delete
'et_divi[slide_nav_show_top_bar]',
[2342] Fix | Delete
array(
[2343] Fix | Delete
'default' => 'on',
[2344] Fix | Delete
'type' => 'option',
[2345] Fix | Delete
'capability' => 'edit_theme_options',
[2346] Fix | Delete
'transport' => 'postMessage',
[2347] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[2348] Fix | Delete
)
[2349] Fix | Delete
);
[2350] Fix | Delete
[2351] Fix | Delete
$wp_customize->add_control(
[2352] Fix | Delete
'et_divi[slide_nav_show_top_bar]',
[2353] Fix | Delete
array(
[2354] Fix | Delete
'label' => esc_html__( 'Show Top Bar', 'Divi' ),
[2355] Fix | Delete
'section' => 'et_divi_header_slide',
[2356] Fix | Delete
'type' => 'checkbox',
[2357] Fix | Delete
)
[2358] Fix | Delete
);
[2359] Fix | Delete
[2360] Fix | Delete
$wp_customize->add_setting(
[2361] Fix | Delete
'et_divi[slide_nav_width]',
[2362] Fix | Delete
array(
[2363] Fix | Delete
'default' => '320',
[2364] Fix | Delete
'type' => 'option',
[2365] Fix | Delete
'capability' => 'edit_theme_options',
[2366] Fix | Delete
'transport' => 'postMessage',
[2367] Fix | Delete
'sanitize_callback' => 'absint',
[2368] Fix | Delete
)
[2369] Fix | Delete
);
[2370] Fix | Delete
[2371] Fix | Delete
$wp_customize->add_control(
[2372] Fix | Delete
new ET_Divi_Range_Option(
[2373] Fix | Delete
$wp_customize,
[2374] Fix | Delete
'et_divi[slide_nav_width]',
[2375] Fix | Delete
array(
[2376] Fix | Delete
'label' => esc_html__( 'Menu Width', 'Divi' ),
[2377] Fix | Delete
'section' => 'et_divi_header_slide',
[2378] Fix | Delete
'type' => 'range',
[2379] Fix | Delete
'input_attrs' => array(
[2380] Fix | Delete
'min' => 280,
[2381] Fix | Delete
'max' => 600,
[2382] Fix | Delete
'step' => 1,
[2383] Fix | Delete
),
[2384] Fix | Delete
)
[2385] Fix | Delete
)
[2386] Fix | Delete
);
[2387] Fix | Delete
[2388] Fix | Delete
$wp_customize->add_setting(
[2389] Fix | Delete
'et_divi[slide_nav_font_size]',
[2390] Fix | Delete
array(
[2391] Fix | Delete
'default' => '14',
[2392] Fix | Delete
'type' => 'option',
[2393] Fix | Delete
'capability' => 'edit_theme_options',
[2394] Fix | Delete
'transport' => 'postMessage',
[2395] Fix | Delete
'sanitize_callback' => 'absint',
[2396] Fix | Delete
)
[2397] Fix | Delete
);
[2398] Fix | Delete
[2399] Fix | Delete
$wp_customize->add_control(
[2400] Fix | Delete
new ET_Divi_Range_Option(
[2401] Fix | Delete
$wp_customize,
[2402] Fix | Delete
'et_divi[slide_nav_font_size]',
[2403] Fix | Delete
array(
[2404] Fix | Delete
'label' => esc_html__( 'Menu Text Size', 'Divi' ),
[2405] Fix | Delete
'section' => 'et_divi_header_slide',
[2406] Fix | Delete
'type' => 'range',
[2407] Fix | Delete
'input_attrs' => array(
[2408] Fix | Delete
'min' => 12,
[2409] Fix | Delete
'max' => 24,
[2410] Fix | Delete
'step' => 1,
[2411] Fix | Delete
),
[2412] Fix | Delete
)
[2413] Fix | Delete
)
[2414] Fix | Delete
);
[2415] Fix | Delete
[2416] Fix | Delete
$wp_customize->add_setting(
[2417] Fix | Delete
'et_divi[slide_nav_top_font_size]',
[2418] Fix | Delete
array(
[2419] Fix | Delete
'default' => '14',
[2420] Fix | Delete
'type' => 'option',
[2421] Fix | Delete
'capability' => 'edit_theme_options',
[2422] Fix | Delete
'transport' => 'postMessage',
[2423] Fix | Delete
'sanitize_callback' => 'absint',
[2424] Fix | Delete
)
[2425] Fix | Delete
);
[2426] Fix | Delete
[2427] Fix | Delete
$wp_customize->add_control(
[2428] Fix | Delete
new ET_Divi_Range_Option(
[2429] Fix | Delete
$wp_customize,
[2430] Fix | Delete
'et_divi[slide_nav_top_font_size]',
[2431] Fix | Delete
array(
[2432] Fix | Delete
'label' => esc_html__( 'Top Bar Text Size', 'Divi' ),
[2433] Fix | Delete
'section' => 'et_divi_header_slide',
[2434] Fix | Delete
'type' => 'range',
[2435] Fix | Delete
'input_attrs' => array(
[2436] Fix | Delete
'min' => 12,
[2437] Fix | Delete
'max' => 24,
[2438] Fix | Delete
'step' => 1,
[2439] Fix | Delete
),
[2440] Fix | Delete
)
[2441] Fix | Delete
)
[2442] Fix | Delete
);
[2443] Fix | Delete
[2444] Fix | Delete
$wp_customize->add_setting(
[2445] Fix | Delete
'et_divi[fullscreen_nav_font_size]',
[2446] Fix | Delete
array(
[2447] Fix | Delete
'default' => '30',
[2448] Fix | Delete
'type' => 'option',
[2449] Fix | Delete
'capability' => 'edit_theme_options',
[2450] Fix | Delete
'transport' => 'postMessage',
[2451] Fix | Delete
'sanitize_callback' => 'absint',
[2452] Fix | Delete
)
[2453] Fix | Delete
);
[2454] Fix | Delete
[2455] Fix | Delete
$wp_customize->add_control(
[2456] Fix | Delete
new ET_Divi_Range_Option(
[2457] Fix | Delete
$wp_customize,
[2458] Fix | Delete
'et_divi[fullscreen_nav_font_size]',
[2459] Fix | Delete
array(
[2460] Fix | Delete
'label' => esc_html__( 'Menu Text Size', 'Divi' ),
[2461] Fix | Delete
'section' => 'et_divi_header_slide',
[2462] Fix | Delete
'type' => 'range',
[2463] Fix | Delete
'input_attrs' => array(
[2464] Fix | Delete
'min' => 12,
[2465] Fix | Delete
'max' => 50,
[2466] Fix | Delete
'step' => 1,
[2467] Fix | Delete
),
[2468] Fix | Delete
)
[2469] Fix | Delete
)
[2470] Fix | Delete
);
[2471] Fix | Delete
[2472] Fix | Delete
$wp_customize->add_setting(
[2473] Fix | Delete
'et_divi[fullscreen_nav_top_font_size]',
[2474] Fix | Delete
array(
[2475] Fix | Delete
'default' => '18',
[2476] Fix | Delete
'type' => 'option',
[2477] Fix | Delete
'capability' => 'edit_theme_options',
[2478] Fix | Delete
'transport' => 'postMessage',
[2479] Fix | Delete
'sanitize_callback' => 'absint',
[2480] Fix | Delete
)
[2481] Fix | Delete
);
[2482] Fix | Delete
[2483] Fix | Delete
$wp_customize->add_control(
[2484] Fix | Delete
new ET_Divi_Range_Option(
[2485] Fix | Delete
$wp_customize,
[2486] Fix | Delete
'et_divi[fullscreen_nav_top_font_size]',
[2487] Fix | Delete
array(
[2488] Fix | Delete
'label' => esc_html__( 'Top Bar Text Size', 'Divi' ),
[2489] Fix | Delete
'section' => 'et_divi_header_slide',
[2490] Fix | Delete
'type' => 'range',
[2491] Fix | Delete
'input_attrs' => array(
[2492] Fix | Delete
'min' => 12,
[2493] Fix | Delete
'max' => 40,
[2494] Fix | Delete
'step' => 1,
[2495] Fix | Delete
),
[2496] Fix | Delete
)
[2497] Fix | Delete
)
[2498] Fix | Delete
);
[2499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function