diff --git a/CHANGELOG.md b/CHANGELOG.md index d963cf01f..3bb820769 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.21.3-hotfix-wide-width-everlit-wrapper.1](https://github.com/Automattic/newspack-theme/compare/v2.21.2...v2.21.3-hotfix-wide-width-everlit-wrapper.1) (2026-05-14) + + +### Bug Fixes + +* allow wide/full alignment inside content wrappers like .everlit-audio ([d8515e2](https://github.com/Automattic/newspack-theme/commit/d8515e2d7f60d3e91e52b2c745ec2a3d1efd64a7)), closes [#2667](https://github.com/Automattic/newspack-theme/issues/2667) + ## [2.21.2](https://github.com/Automattic/newspack-theme/compare/v2.21.1...v2.21.2) (2026-05-14) diff --git a/newspack-joseph/sass/theme-description.scss b/newspack-joseph/sass/theme-description.scss index 0f9b6cdbf..d0959e361 100644 --- a/newspack-joseph/sass/theme-description.scss +++ b/newspack-joseph/sass/theme-description.scss @@ -6,7 +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.7 Tested up to: 6.8 -Version: 2.21.2 +Version: 2.21.3-hotfix-wide-width-everlit-wrapper.1 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-katharine/sass/theme-description.scss b/newspack-katharine/sass/theme-description.scss index bf6ee3a9e..f210ccec4 100644 --- a/newspack-katharine/sass/theme-description.scss +++ b/newspack-katharine/sass/theme-description.scss @@ -6,7 +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.7 Tested up to: 6.8 -Version: 2.21.2 +Version: 2.21.3-hotfix-wide-width-everlit-wrapper.1 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-nelson/sass/theme-description.scss b/newspack-nelson/sass/theme-description.scss index dcf69e2a2..536ac742e 100644 --- a/newspack-nelson/sass/theme-description.scss +++ b/newspack-nelson/sass/theme-description.scss @@ -6,7 +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.7 Tested up to: 6.8 -Version: 2.21.2 +Version: 2.21.3-hotfix-wide-width-everlit-wrapper.1 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-sacha/sass/theme-description.scss b/newspack-sacha/sass/theme-description.scss index 95776595a..f55b12207 100644 --- a/newspack-sacha/sass/theme-description.scss +++ b/newspack-sacha/sass/theme-description.scss @@ -6,7 +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.7 Tested up to: 6.8 -Version: 2.21.2 +Version: 2.21.3-hotfix-wide-width-everlit-wrapper.1 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-scott/sass/theme-description.scss b/newspack-scott/sass/theme-description.scss index 584e5c57c..53f2b9290 100644 --- a/newspack-scott/sass/theme-description.scss +++ b/newspack-scott/sass/theme-description.scss @@ -6,7 +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.7 Tested up to: 6.8 -Version: 2.21.2 +Version: 2.21.3-hotfix-wide-width-everlit-wrapper.1 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/blocks/_blocks.scss b/newspack-theme/sass/blocks/_blocks.scss index 323ce530a..05794f7b7 100755 --- a/newspack-theme/sass/blocks/_blocks.scss +++ b/newspack-theme/sass/blocks/_blocks.scss @@ -1668,6 +1668,11 @@ $colors: ( .page-template-single-feature, .page-template-no-header-footer { .entry .entry-content > *, + // Some plugins (e.g. Everlit) wrap the_content in a span/div at render + // time, which interposes a parent between .entry-content and the aligned + // block and breaks the direct-child match above. Allow one level of such + // wrapping so wide/full alignment continues to work. + .entry .entry-content > .everlit-audio > *, .newspack-content-gate__inline-gate > *, [id="pico"] > * { &.alignwide { diff --git a/newspack-theme/sass/theme-description.scss b/newspack-theme/sass/theme-description.scss index cac731783..e246960ff 100644 --- a/newspack-theme/sass/theme-description.scss +++ b/newspack-theme/sass/theme-description.scss @@ -6,7 +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.7 Tested up to: 6.8 -Version: 2.21.2 +Version: 2.21.3-hotfix-wide-width-everlit-wrapper.1 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: newspack-theme diff --git a/package-lock.json b/package-lock.json index 02c855b65..e99deeddf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "newspack", - "version": "2.21.2", + "version": "2.21.3-hotfix-wide-width-everlit-wrapper.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "newspack", - "version": "2.21.2", + "version": "2.21.3-hotfix-wide-width-everlit-wrapper.1", "devDependencies": { "@octokit/rest": "^20.1.2", "chokidar-cli": "^3.0.0", diff --git a/package.json b/package.json index bd52e1d68..7fa8558b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "newspack", - "version": "2.21.2", + "version": "2.21.3-hotfix-wide-width-everlit-wrapper.1", "description": "A theme for Newspack. https://newspack.com", "bugs": { "url": "https://github.com/Automattic/newspack-theme/issues"