fix(shell): fine-tune header/footer to zibll contracts
Move nav-fixed to body, apply show-slide overlay tokens, rebuild footer as zibll template_1 list-inline (logo/links/contact/mini + footer-conter), and align navbar brand/logo/menu spacing with zibll main.css.
This commit is contained in:
+6
-1
@@ -30,6 +30,11 @@ if (class_exists('AKSRT_Settings') && method_exists('AKSRT_Settings', 'initial_t
|
||||
$aksrt_has_initial_theme = in_array($aksrt_initial_theme_mode, ['dark', 'light'], true);
|
||||
|
||||
$aksrt_body_classes = ['header-nav-style-' . $aksrt_header_settings['nav_style']];
|
||||
// Zibll contract: body.nav-fixed drives top padding + hero pull-under-nav.
|
||||
if (!empty($aksrt_header_settings['fixed'])) {
|
||||
$aksrt_body_classes[] = 'nav-fixed';
|
||||
}
|
||||
|
||||
if ($aksrt_initial_theme_mode === 'dark') {
|
||||
$aksrt_body_classes[] = 'theme-dark';
|
||||
$aksrt_body_classes[] = 'dark-theme';
|
||||
@@ -191,8 +196,8 @@ if (!empty($aksrt_bg_styles)) {
|
||||
$aksrt_header_classes = [
|
||||
'header',
|
||||
'header-layout-' . $aksrt_header_settings['layout'],
|
||||
$aksrt_header_settings['fixed'] ? 'nav-fixed' : 'nav-static',
|
||||
];
|
||||
// Fixed state lives on body.nav-fixed (zibll); nav keeps site-nav--fixed.
|
||||
if ($aksrt_show_header_slide) {
|
||||
$aksrt_header_classes[] = 'show-slide';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user