diff --git a/CHANGELOG.md b/CHANGELOG.md index 99a1a48b8..d6ee9c535 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ### Bug Fixes +* make captions styles more specific ([#2423](https://github.com/Automattic/newspack-theme/issues/2423)) ([b6f3c5b](https://github.com/Automattic/newspack-theme/commit/b6f3c5b76844171b26b25670571adc9614f77301)) * workaround for block editor crash ([53cd463](https://github.com/Automattic/newspack-theme/commit/53cd4638d9ce269c3158b3aa1b02c3157403568c)) # [2.4.0](https://github.com/Automattic/newspack-theme/compare/v2.3.0...v2.4.0) (2024-12-09) diff --git a/newspack-nelson/sass/theme-description.scss b/newspack-nelson/sass/theme-description.scss index e033c95de..f1ac8b95c 100644 --- a/newspack-nelson/sass/theme-description.scss +++ b/newspack-nelson/sass/theme-description.scss @@ -6,11 +6,7 @@ Author URI: https://newspack.com Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box. Requires at least: 6.6 Tested up to: 6.7 -<<<<<<< HEAD Version: 2.4.1 -======= -Version: 2.3.0 ->>>>>>> release License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Template: newspack-theme diff --git a/newspack-theme/sass/media/_captions.scss b/newspack-theme/sass/media/_captions.scss index a588c9001..f730a27ad 100755 --- a/newspack-theme/sass/media/_captions.scss +++ b/newspack-theme/sass/media/_captions.scss @@ -19,6 +19,12 @@ figcaption, text-align: left; } +// Override some specific styles coming from WordPress. +:root :where(.wp-block-image figcaption) { + color: var(--newspack-theme-color-text-light); + font-size: var(--newspack-theme-font-size-xs); +} + .has-text-color { figcaption, .wp-caption-text {