Fix banner positioning: use above-main-outlet and adjust below-header width

- Replace above-main-container-outlet with above-main-outlet for proper #main-outlet placement
- Add CSS rule for below-site-header positioning with sidebar-aware width
- Set max-width to calc(var(--d-sidebar-width) + var(--d-max-width)) for below-header
- Update section class name from above-main-container-outlet to above-main-outlet
- Remove deprecated above-main-container-outlet connector directory

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
gabeszm 2025-10-16 17:01:51 +02:00
parent 658210d2e2
commit 62d97ffdc9
3 changed files with 5 additions and 1 deletions

View file

@ -21,6 +21,10 @@
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
} }
.below-site-header.welcome-card {
max-width: calc(var(--d-sidebar-width, 0px) + var(--d-max-width, 1110px));
}
} }
@media (max-width: 769px) { @media (max-width: 769px) {

View file

@ -1,6 +1,6 @@
{{#if this.theme.enable_welcome_banner}} {{#if this.theme.enable_welcome_banner}}
{{#unless (eq this.theme.banner_position "below_header")}} {{#unless (eq this.theme.banner_position "below_header")}}
<section class="above-main-container-outlet welcome-card"> <section class="above-main-outlet welcome-card">
<div class="hero-section"> <div class="hero-section">
<div class="hero-deco"></div> <div class="hero-deco"></div>
<div class="hero-content"> <div class="hero-content">