-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Allow styling blocks inside template parts with theme.json #43347
Comments
Closing in favor of #40318. |
I worked on a quick experiment yesterday: #44126 |
As far as I understood, the deadline for including enhancements in 6.1 has already passed. |
I'd settle for being able to style things like colors or fonts in the footer, but not the header, which seems impossible currently, unless I'm missing something? |
Closing this in favour of using patterns and section styles. |
What problem does this address?
As contributors are starting to submit style variations for Twenty Twenty-Three, it is becoming more apparent how limiting it is to not be able to style the site header and site footer using theme.json.
Because the template part has no block supports for colors, spacing etc, and all styles are on the inner blocks, these two areas can't be updated with style variations.
What is your proposed solution?
There should be a way to style blocks inside the default template part areas.
Just like we can use
styles.blocks.blockname
, we should be able to target blocks one "layer" down usingstyles.templatePart.templatepart-name.blockname
, or perhapsstyles.templatePart.area.footer.blockname
.The text was updated successfully, but these errors were encountered: