-
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
Global Styles: Better labeling and instructions for global CSS and per-block CSS #51821
Comments
There are some existing PRs in discussion to address some aspects of this issue - but it could probably do with a holistic solution.
|
Maybe the opposite, “Block CSS”. |
That's a good thought - label the more specific instance. I think that would definitely help. |
Via the vertical ellipsis menu in the Global Styles sidebar. |
Ah, we really hid that one didn't we 😅 — I'm sure there's context that steered it away from the original mockups. Thanks. |
Yea.. perhaps a bit too much. It's a risky thing to put so much emphasis on at the top-level Styles panel though. Perhaps in the future there would be sidebar for developer tools, and it could live in there. |
I think the thing will be that there are plenty of non-developers who will use the Additional CSS - prompted via support, forums, tutorials etc. So making it as clear as possible would be great. |
I just spotted that the Block-Specific CSS is now under the 'Advanced' section of the sidebar settings - which sets a much better context - so this change of labeling is probably no longer an issue. |
Description
The two options for adding CSS via the Site Editor (Additional CSS and Per-block CSS) are powerful and useful - but there are some places where labeling and instructions could give more clarity to which function the user is currently viewing, and assistance on how to use them.
For Example:
This has been previously raised in [Global Styles] Provide guidance on how to add per-block CSS #49531.
Step-by-step reproduction instructions
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: