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

Context for the stylebook / Stylebook variations assigned to templates #61584

Open
cagrimmett opened this issue May 10, 2024 · 0 comments
Open
Labels
[Type] Enhancement A suggestion for improvement.

Comments

@cagrimmett
Copy link

In building a site, I want single post templates to have one style for the pullquotes, paragraphs, and headers, but other templates to have a different style. In this case using the global stylebook is inappropriate, and if you are using the Content block you can't really style individual blocks that get pulled in to that Content block. Right now the only way to do that is via CSS. It would be great to do it in the block editor instead!

One solution would be the ability to set a style variation and assign it to a template, so if WP loads that template it then loads the style variation for that block along with it.

@cagrimmett cagrimmett added the [Type] Enhancement A suggestion for improvement. label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

1 participant