From 363c862b66da5467a74d90bb548ee8b9041a22b3 Mon Sep 17 00:00:00 2001 From: Ian Belanger Date: Thu, 30 Jan 2020 18:26:22 +0000 Subject: [PATCH] Bundled Themes: Twenty Twenty content font CSS selector is too important. This makes the font family selector for `entry-content` less specific and thus easier to override. Props alexandreb3, larrach, audrasjb. Fixes #49318. git-svn-id: https://develop.svn.wordpress.org/trunk@47133 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwenty/style-rtl.css | 6 +----- src/wp-content/themes/twentytwenty/style.css | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index f0affb2558..034d57b93c 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -3498,11 +3498,7 @@ figure.wp-block-table.is-style-stripes { /* Font Families ----------------------------- */ -.entry-content p, -.entry-content ol, -.entry-content ul, -.entry-content dl, -.entry-content dt { +.entry-content { font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif; letter-spacing: normal; } diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index a78afe44e9..e377dba7ea 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -3520,11 +3520,7 @@ figure.wp-block-table.is-style-stripes { /* Font Families ----------------------------- */ -.entry-content p, -.entry-content ol, -.entry-content ul, -.entry-content dl, -.entry-content dt { +.entry-content { font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif; letter-spacing: normal; }