diff --git a/alves/style-rtl.css b/alves/style-rtl.css index 91cd8fb648..1455f2d1b2 100644 --- a/alves/style-rtl.css +++ b/alves/style-rtl.css @@ -3169,6 +3169,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/alves/style.css b/alves/style.css index fe108e829a..390bb10c6f 100644 --- a/alves/style.css +++ b/alves/style.css @@ -3188,6 +3188,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/balasana/style-rtl.css b/balasana/style-rtl.css index 5068e86835..ba2ad90066 100644 --- a/balasana/style-rtl.css +++ b/balasana/style-rtl.css @@ -3169,6 +3169,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/balasana/style.css b/balasana/style.css index 067114d078..0164256302 100644 --- a/balasana/style.css +++ b/balasana/style.css @@ -3188,6 +3188,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/barnsbury/style-rtl.css b/barnsbury/style-rtl.css index afbbaa0c03..889640fbb4 100644 --- a/barnsbury/style-rtl.css +++ b/barnsbury/style-rtl.css @@ -3169,6 +3169,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/barnsbury/style.css b/barnsbury/style.css index 5fbc2c7476..fee0548d51 100644 --- a/barnsbury/style.css +++ b/barnsbury/style.css @@ -3188,6 +3188,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/brompton/style-rtl.css b/brompton/style-rtl.css index e01ef0ee81..a1ae051944 100644 --- a/brompton/style-rtl.css +++ b/brompton/style-rtl.css @@ -3169,6 +3169,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/brompton/style.css b/brompton/style.css index 50f9c5d2bb..5481c25c1a 100644 --- a/brompton/style.css +++ b/brompton/style.css @@ -3188,6 +3188,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/coutoire/style-rtl.css b/coutoire/style-rtl.css index e4a1654b87..29f475d631 100644 --- a/coutoire/style-rtl.css +++ b/coutoire/style-rtl.css @@ -3171,6 +3171,10 @@ body:not(.fse-enabled) .footer-menu a { padding-top: 0; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, diff --git a/coutoire/style.css b/coutoire/style.css index 88185e6434..0b8c8fbda5 100644 --- a/coutoire/style.css +++ b/coutoire/style.css @@ -3190,6 +3190,10 @@ body:not(.fse-enabled) .footer-menu a { padding-top: 0; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, diff --git a/dalston/style-rtl.css b/dalston/style-rtl.css index c8376d2cda..cb811f5b4d 100644 --- a/dalston/style-rtl.css +++ b/dalston/style-rtl.css @@ -3173,6 +3173,10 @@ body:not(.fse-enabled) .footer-menu a { padding-top: 0; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, diff --git a/dalston/style.css b/dalston/style.css index 14865960ec..95a9ea5dfe 100644 --- a/dalston/style.css +++ b/dalston/style.css @@ -3192,6 +3192,10 @@ body:not(.fse-enabled) .footer-menu a { padding-top: 0; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, diff --git a/exford/style-rtl.css b/exford/style-rtl.css index a514062218..0a21509c87 100644 --- a/exford/style-rtl.css +++ b/exford/style-rtl.css @@ -3169,6 +3169,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/exford/style.css b/exford/style.css index e51f8511db..239ca1113f 100644 --- a/exford/style.css +++ b/exford/style.css @@ -3188,6 +3188,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/hever/style-rtl.css b/hever/style-rtl.css index 1b2a1a997a..8dd61b5b6a 100644 --- a/hever/style-rtl.css +++ b/hever/style-rtl.css @@ -3169,6 +3169,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/hever/style.css b/hever/style.css index bb22a8ba17..21a8d67114 100644 --- a/hever/style.css +++ b/hever/style.css @@ -3188,6 +3188,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/leven/style-rtl.css b/leven/style-rtl.css index bde1c0d2c2..7764131382 100644 --- a/leven/style-rtl.css +++ b/leven/style-rtl.css @@ -3169,6 +3169,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/leven/style.css b/leven/style.css index 054ab30e2e..0e9ccf4e3b 100644 --- a/leven/style.css +++ b/leven/style.css @@ -3188,6 +3188,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/mayland/style-rtl.css b/mayland/style-rtl.css index c46006524e..5d1994e34e 100644 --- a/mayland/style-rtl.css +++ b/mayland/style-rtl.css @@ -3168,6 +3168,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/mayland/style.css b/mayland/style.css index 2f5fe46c28..07691ea968 100644 --- a/mayland/style.css +++ b/mayland/style.css @@ -3187,6 +3187,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/maywood/style-rtl.css b/maywood/style-rtl.css index 395973d703..2c95ce7e8b 100644 --- a/maywood/style-rtl.css +++ b/maywood/style-rtl.css @@ -3169,6 +3169,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/maywood/style.css b/maywood/style.css index fa95594cab..d49c03f6c0 100644 --- a/maywood/style.css +++ b/maywood/style.css @@ -3188,6 +3188,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/morden/sass/_extra-child-theme.scss b/morden/sass/_extra-child-theme.scss index 51812a1333..3e000fb379 100644 --- a/morden/sass/_extra-child-theme.scss +++ b/morden/sass/_extra-child-theme.scss @@ -480,6 +480,18 @@ article .entry-header .entry-title, } } +@include media(mobile) { + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content { + + > .wp-block-image.alignfull:first-child, + > .wp-block-cover.alignfull:first-child, + > .wp-block-media-text.alignfull:first-child, + > .wp-block-group.has-background.alignfull:first-child { + margin-top: -#{4 * map-deep-get($config-global, "spacing", "unit")}; + } + } +} + /** * Comments */ diff --git a/morden/style-rtl.css b/morden/style-rtl.css index f228b933db..4f6b806355 100644 --- a/morden/style-rtl.css +++ b/morden/style-rtl.css @@ -3169,6 +3169,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } @@ -4425,6 +4441,15 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title } } +@media only screen and (min-width: 560px) { + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-image.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-cover.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-media-text.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -64px; + } +} + /** * Comments */ diff --git a/morden/style.css b/morden/style.css index 076d3c5418..869379e7c9 100644 --- a/morden/style.css +++ b/morden/style.css @@ -3188,6 +3188,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } @@ -4454,6 +4470,15 @@ article .entry-header .entry-title a:active, article .entry-header .entry-title } } +@media only screen and (min-width: 560px) { + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-image.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-cover.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-media-text.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -64px; + } +} + /** * Comments */ diff --git a/redhill/sass/_extra-child-theme.scss b/redhill/sass/_extra-child-theme.scss index 4781088e0f..e3585ae4c5 100644 --- a/redhill/sass/_extra-child-theme.scss +++ b/redhill/sass/_extra-child-theme.scss @@ -216,6 +216,16 @@ a { padding-top: 0; } +.home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content { + + > .wp-block-image.alignfull:first-child, + > .wp-block-cover.alignfull:first-child, + > .wp-block-media-text.alignfull:first-child, + > .wp-block-group.has-background.alignfull:first-child { + margin-top: 0; + } +} + // Cover & Hero block .wp-block-cover .wp-block-cover__inner-container, .wp-block-coblocks-hero .wp-block-coblocks-hero__box { diff --git a/redhill/style-rtl.css b/redhill/style-rtl.css index f7e01dbb72..63481a45c7 100644 --- a/redhill/style-rtl.css +++ b/redhill/style-rtl.css @@ -3169,6 +3169,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } @@ -4195,6 +4211,13 @@ p:not(.site-title) a:hover { padding-top: 0; } +.home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: 0; +} + .wp-block-cover .wp-block-cover__inner-container > *, .wp-block-coblocks-hero .wp-block-coblocks-hero__box > * { margin-top: 21.312px; diff --git a/redhill/style.css b/redhill/style.css index 4c09334a4b..03c534813f 100644 --- a/redhill/style.css +++ b/redhill/style.css @@ -3188,6 +3188,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } @@ -4224,6 +4240,13 @@ p:not(.site-title) a:hover { padding-top: 0; } +.home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: 0; +} + .wp-block-cover .wp-block-cover__inner-container > *, .wp-block-coblocks-hero .wp-block-coblocks-hero__box > * { margin-top: 21.312px; diff --git a/rivington/style-rtl.css b/rivington/style-rtl.css index 90441f6030..0e8abd7c43 100644 --- a/rivington/style-rtl.css +++ b/rivington/style-rtl.css @@ -3169,6 +3169,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/rivington/style.css b/rivington/style.css index 66e17afcd4..d4fe404b74 100644 --- a/rivington/style.css +++ b/rivington/style.css @@ -3188,6 +3188,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/rockfield/sass/_extra-child-theme.scss b/rockfield/sass/_extra-child-theme.scss index 5052870074..8d0c384539 100644 --- a/rockfield/sass/_extra-child-theme.scss +++ b/rockfield/sass/_extra-child-theme.scss @@ -308,6 +308,19 @@ a { } } +// Remove margin if alignfull is first element and header is hidden. +@include media(mobile) { + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content { + + > .wp-block-image.alignfull:first-child, + > .wp-block-cover.alignfull:first-child, + > .wp-block-media-text.alignfull:first-child, + > .wp-block-group.has-background.alignfull:first-child { + margin-top: -#{2.75 * map-deep-get($config-global, "spacing", "unit")}; + } + } +} + // Remove margin if alignfull is last element .page:not(.logged-in) { .hentry .entry-content { diff --git a/rockfield/style-rtl.css b/rockfield/style-rtl.css index 7fe0ea5a99..856a25e96f 100644 --- a/rockfield/style-rtl.css +++ b/rockfield/style-rtl.css @@ -3173,6 +3173,10 @@ body:not(.fse-enabled) .footer-menu a { padding-top: 0; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, @@ -4300,6 +4304,15 @@ p:not(.site-title) a:hover { } } +@media only screen and (min-width: 560px) { + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-image.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-cover.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-media-text.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -44px; + } +} + .page:not(.logged-in) .hentry .entry-content > *:last-child.alignfull { margin-bottom: -32px; } diff --git a/rockfield/style.css b/rockfield/style.css index 12cdc60fbc..cf54eb8ab6 100644 --- a/rockfield/style.css +++ b/rockfield/style.css @@ -3192,6 +3192,10 @@ body:not(.fse-enabled) .footer-menu a { padding-top: 0; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, @@ -4329,6 +4333,15 @@ p:not(.site-title) a:hover { } } +@media only screen and (min-width: 560px) { + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-image.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-cover.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-media-text.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -44px; + } +} + .page:not(.logged-in) .hentry .entry-content > *:last-child.alignfull { margin-bottom: -32px; } diff --git a/shawburn/sass/_extra-child-theme.scss b/shawburn/sass/_extra-child-theme.scss index 7f25346ab8..3ae31216dd 100644 --- a/shawburn/sass/_extra-child-theme.scss +++ b/shawburn/sass/_extra-child-theme.scss @@ -22,6 +22,18 @@ body { } } +@include media(mobile) { + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content { + + > .wp-block-image.alignfull:first-child, + > .wp-block-cover.alignfull:first-child, + > .wp-block-media-text.alignfull:first-child, + > .wp-block-group.has-background.alignfull:first-child { + margin-top: -#{3 * map-deep-get($config-global, "spacing", "unit")}; + } + } +} + a { text-decoration: none; } diff --git a/shawburn/style-rtl.css b/shawburn/style-rtl.css index 993f460d02..6ab8285aaf 100644 --- a/shawburn/style-rtl.css +++ b/shawburn/style-rtl.css @@ -3168,6 +3168,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } @@ -4001,6 +4017,15 @@ body { } } +@media only screen and (min-width: 560px) { + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-image.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-cover.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-media-text.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -48px; + } +} + a { text-decoration: none; } diff --git a/shawburn/style.css b/shawburn/style.css index 3ba186b4d1..ff19b0a485 100644 --- a/shawburn/style.css +++ b/shawburn/style.css @@ -3187,6 +3187,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } @@ -4030,6 +4046,15 @@ body { } } +@media only screen and (min-width: 560px) { + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-image.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-cover.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-media-text.alignfull:first-child, + .home.page.hide-homepage-header.hide-homepage-title .hentry .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -48px; + } +} + a { text-decoration: none; } diff --git a/stow/style-rtl.css b/stow/style-rtl.css index b09dc2f54f..17ae6a2dfa 100644 --- a/stow/style-rtl.css +++ b/stow/style-rtl.css @@ -3169,6 +3169,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/stow/style.css b/stow/style.css index bdd535db49..9d118a208b 100644 --- a/stow/style.css +++ b/stow/style.css @@ -3188,6 +3188,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/stratford/style-rtl.css b/stratford/style-rtl.css index a2fb3bf35f..7785b3d2d6 100644 --- a/stratford/style-rtl.css +++ b/stratford/style-rtl.css @@ -3168,6 +3168,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/stratford/style.css b/stratford/style.css index e51cc01a92..60e7c997d2 100644 --- a/stratford/style.css +++ b/stratford/style.css @@ -3187,6 +3187,22 @@ body:not(.fse-enabled) .footer-menu a { overflow: scroll; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content { + margin-top: 0; + padding-top: 0; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, +.home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-group.has-background.alignfull:first-child { + margin-top: -32px; +} + .entry-attachment { text-align: center; } diff --git a/varia/sass/components/content/_entry-content.scss b/varia/sass/components/content/_entry-content.scss index cdf055e328..848c15e673 100644 --- a/varia/sass/components/content/_entry-content.scss +++ b/varia/sass/components/content/_entry-content.scss @@ -62,6 +62,11 @@ margin-top: 0; padding-top: 0; + // First children should usually have top margin. + > *:first-child { + margin-top: map-deep-get($config-global, "spacing", "vertical"); + } + // Move some full-width blocks up to the top of the screen. > .wp-block-image.alignfull:first-child, > .wp-block-cover.alignfull:first-child, diff --git a/varia/style-rtl.css b/varia/style-rtl.css index 4f889fd503..02e4a766bf 100644 --- a/varia/style-rtl.css +++ b/varia/style-rtl.css @@ -3207,6 +3207,10 @@ body:not(.fse-enabled) .footer-menu a { padding-top: 0; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child, diff --git a/varia/style.css b/varia/style.css index 40c38a3563..3df875c50f 100644 --- a/varia/style.css +++ b/varia/style.css @@ -3226,6 +3226,10 @@ body:not(.fse-enabled) .footer-menu a { padding-top: 0; } +.home.page.hide-homepage-header.hide-homepage-title .entry-content > *:first-child { + margin-top: 32px; +} + .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-image.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-cover.alignfull:first-child, .home.page.hide-homepage-header.hide-homepage-title .entry-content > .wp-block-media-text.alignfull:first-child,