Fix single-post header inset and bump version to 1.0.14

This commit is contained in:
2026-04-18 22:43:53 +02:00
parent 577e8cede8
commit a8d2b4415a
2 changed files with 30 additions and 3 deletions

View File

@@ -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);
}

View File

@@ -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;
}