diff --git a/src/AKSRT/Frontend/InlineStyleBuilder.php b/src/AKSRT/Frontend/InlineStyleBuilder.php index cb29d2ae..dd812f0d 100644 --- a/src/AKSRT/Frontend/InlineStyleBuilder.php +++ b/src/AKSRT/Frontend/InlineStyleBuilder.php @@ -105,8 +105,28 @@ class InlineStyleBuilder { echo '--focus-color:' . esc_attr($dark_primary) . ';'; } echo '}' . "\n"; + + // Zibll header_theme_custom → --header-bg / --header-color on .header. + if (class_exists('\AKSRT\Settings\Settings')) { + $ht = \AKSRT\Settings\Settings::get_header_theme_config(); + if (!empty($ht['custom'])) { + $h_bg = $ht['bg_custom'] !== '' ? $ht['bg_custom'] : ($ht['bg'] ?? ''); + $h_fg = $ht['color_custom'] ?? ''; + if ($h_bg !== '' || $h_fg !== '') { + echo '' . "\n"; + } + } + } + if (class_exists('\AKSRT\Settings\Settings') && !empty(\AKSRT\Settings\Settings::get_value('close_backdrop', false))) { - echo '' . "\n"; + echo '' . "\n"; } echo '