From 7fc0ad094ef523ca988b953435c1d2eed4a39a01 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Mon, 24 May 2021 18:40:16 +0000 Subject: [PATCH] Twenty Twenty: Hide some elements for print that are not useful in that context. This adds the comment count, previous/next posts navigation, and category link list to the list of elements hidden from the print context. Props kjellr, hareesh-pillai, poena. Fixes #50433. git-svn-id: https://develop.svn.wordpress.org/trunk@50976 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwenty/print.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-content/themes/twentytwenty/print.css b/src/wp-content/themes/twentytwenty/print.css index 0ab0ce9fb8..01a6e873a1 100644 --- a/src/wp-content/themes/twentytwenty/print.css +++ b/src/wp-content/themes/twentytwenty/print.css @@ -149,7 +149,11 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272 .footer-social-wrapper, .footer-widgets-outer-wrapper, .header-navigation-wrapper, + .entry-categories, + .post-comment-link.meta-wrapper, .pagination-wrapper, + .pagination-single, + .post-meta-wrapper.post-meta-edit-link-wrapper, .post-meta-wrapper.post-meta-single-bottom, .post-separator, .site-logo img {