diff --git a/functions.php b/functions.php index 60e0968..4952acf 100755 --- a/functions.php +++ b/functions.php @@ -1160,7 +1160,8 @@ function kgv_customizer_dynamic_css() { .card-body, .page-content-card, - .single-post{ + .post-card.single-post, + .post-card .single-post{ padding: var(--kgv-card-padding); } diff --git a/style.css b/style.css index 01274ed..e5cf80a 100755 --- a/style.css +++ b/style.css @@ -6,7 +6,7 @@ Author URI: https://apex-project.de Update URI: https://git.apex-project.de/Wordpress_Themes/KGV-Classic Gitea Theme URI: https://git.apex-project.de/Wordpress_Themes/KGV-Classic Description: Klassisches WordPress Theme mit Header, Menü, Slideshow, Content und widgetfähiger Sidebar. -Version: 1.0.13 +Version: 1.0.14 Requires at least: 6.0 Tested up to: 6.6 Text Domain: kgv-classic @@ -81,6 +81,20 @@ a:hover{ margin:0 auto; } +/* Schuetzt Header/Footer vor generischen Plugin-Overrides wie .container, header oder footer */ +body .site-header, +body .site-footer{ + width:100%; + margin:0; +} + +body .site-header > .container, +body .site-footer > .container{ + width:min(1180px,calc(100% - 32px)); + max-width:1180px; + margin:0 auto; +} + .narrow{ width:min(760px,calc(100% - 32px)); margin:0 auto; @@ -90,6 +104,7 @@ a:hover{ position:sticky; top:0; z-index:50; + width:100%; background:var(--kgv-header-bg); backdrop-filter:blur(10px); border-bottom:var(--kgv-border-width) solid var(--kgv-border); @@ -289,6 +304,11 @@ a:hover{ align-items:start; } + .content-area, + .sidebar-area{ + min-width:0; + } + .post-card, .page-content-card, .widget, @@ -309,7 +329,8 @@ a:hover{ .card-body, .page-content-card, -.single-post{ +.post-card.single-post, +.post-card .single-post{ padding:var(--kgv-card-padding); } @@ -796,6 +817,11 @@ a:hover{ width:min(100%,calc(100% - 24px)); } + body .site-header > .container, + body .site-footer > .container{ + width:min(100%,calc(100% - 24px)); + } + .header-inner{ gap:14px; }