-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add support for page title styles within editor-styles. #10485
Comments
This may be solved by #10067 if You would be able to do something like this in editor styles: body .editor-post-title__block .editor-post-title__input {
font-family: serif;
} And Gutenberg would map it to this, which will affect the page title: .edit-post-visual-editor .editor-post-title__block .editor-post-title__input {
font-family: serif;
} |
Noting this now works for me in the editor stylesheet as of WP 5.0 Beta 3: .editor-post-title__block .editor-post-title__input {
font-family: serif;
} This can likely be closed as a result. |
Awesome thanks |
Theme authors can customize the page title style by enqueuing a stylesheet that includes something like this:
However, if their theme is using our auto-injected CSS for
editor-styles
(introduced in #9008), that's not possible.It's very likely that theme authors will want the page title font/size to match up with the rest of the text in the editor styles, so we should figure out how to make that possible without enqueueing a second editor stylesheet.
cc @youknowriad
The text was updated successfully, but these errors were encountered: