@@ -99,17 +99,18 @@ h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.h
padding: var(--wp--custom--padding--vertical) var(--wp--custom--padding--horizontal);
}
-/**
- * This file pushes the footer to the bottom of the page.
- */
:root {
--wpadmin-bar--height: 46px;
.wp-site-blocks {
min-height: 100vh;
- display: grid;
- grid-template-rows: auto 1fr;
+ display: flex;
+ flex-direction: column;
+}
+
+.site-footer-container {
+ margin-top: auto;
@media (min-width: 600px) {
@@ -15,4 +15,4 @@
</main>
<!-- /wp:group -->
-<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true}} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
@@ -7,4 +7,4 @@
@@ -28,4 +28,4 @@
<!-- /wp:query -->
@@ -21,4 +21,4 @@
@@ -18,4 +18,4 @@
<div class="wp-block-group"><!-- wp:post-comments /--></div>
@@ -1,15 +1,15 @@
-
body.admin-bar {
@@ -8,6 +8,6 @@
@import "alignment";
@import "header";
-@import "footer";
+@import "layout";
@import "text";
@import "utility";
@@ -27,6 +27,10 @@ body {
+.site-footer {
/* Adjust heading letter spacing. */
h1, h2, h3 {
letter-spacing: -0.015em;
@@ -28,6 +28,10 @@ body {
</div>
- <!-- wp:template-part {"slug":"footer"} /-->
+<!-- wp:template-part {"slug":"footer","className":"site-footer-container"} /-->
@@ -6,4 +6,4 @@
<!-- wp:post-content {"layout":{"inherit":true}} /-->
-<!-- wp:template-part {"slug":"footer"} /-->
@@ -19,4 +19,4 @@
@@ -16,4 +16,4 @@
@@ -57,4 +57,4 @@
@@ -37,4 +37,4 @@
<!-- /wp:columns --></div>