From 691be0fbf7a6f6bfaad89cbc17b1078ef213eb4a Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Thu, 1 Dec 2016 02:51:59 +0000 Subject: [PATCH] Twenty Seventeen: Make spacing on pages without comments consistent Previously, the top of the page had more space than the bottom, not matching the original design. Props laurelfulford, melchoyce. Merges [39404] onto the 4.7 branch. Fixes #38972 for 4.7. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39405 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyseventeen/style.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentyseventeen/style.css b/src/wp-content/themes/twentyseventeen/style.css index cc93251d53..8b0e4faa30 100644 --- a/src/wp-content/themes/twentyseventeen/style.css +++ b/src/wp-content/themes/twentyseventeen/style.css @@ -2239,6 +2239,10 @@ body:not(.twentyseventeen-front-page) .entry-header { margin: 0 0 1.5em; } +.page:not(.home) #content { + padding-bottom: 1.5em; +} + /* 404 page */ .error404 .page-content { @@ -3657,7 +3661,7 @@ object { /* Posts */ .site-content { - padding: 6.5em 0 0; + padding: 5.5em 0 0; } .single-post .entry-title, @@ -3818,6 +3822,10 @@ object { margin-bottom: 4em; } + .page:not(.home) #content { + padding-bottom: 3.25em; + } + /* 404 page */ .error404 .page-content {