Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Luminance: Fix display of featured images #8023

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

dsas
Copy link
Contributor

@dsas dsas commented Aug 19, 2024

Changes proposed in this Pull Request:

The featured images in Luminance were completely misaligned due to changes in how Gutenberg handles specificity of style rules. Rather than the custom block-specific CSS for the core/featured-image block taking priority, the default block library styles do.

The problem has been reported upstream but in the meantime, using the theme-wide custom CSS fixes the problem.

Before After
image image

(ignore the devtools in the screenshots)

Related issue(s):

The featured images in Luminance were completely misaligned due to
changes in how Gutenberg has changed the specifity of style rules.
Rather than the custom block-specific CSS for the core/featured-image
block taking priority, the default block library styles did.

The problem has been reported upstream
(WordPress/gutenberg#64453) but in the
meantime, using the theme-wide custom CSS fixes the problem.
@dsas dsas self-assigned this Aug 19, 2024
Copy link
Contributor

Preview changes

I've detected changes to the following themes in this PR: Luminance.

You can preview these changes by following the links below:

I will update this comment with the latest preview links as you push more changes to this PR.
⚠️ Note: The preview sites are created using WordPress Playground. You can add content, edit settings, and test the themes as you would on a real site, but please note that changes are not saved between sessions.

@alaczek alaczek merged commit 48a0cb2 into trunk Aug 20, 2024
2 checks passed
@alaczek alaczek deleted the fix/luminance-featured-image branch August 20, 2024 02:34
@alaczek
Copy link
Contributor

alaczek commented Aug 20, 2024

This does work for me! Closing as fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants