I have some nice and simple custom css for a single post type to make the first paragraph of Post Content be centered and a little larger.
%root% p:first-of-type {
font-size: 1.1em;
text-align: center;
}
How can I make it also apply to the post editor preview (gutenberg editor) in wordpress admin for that post type?
I can’t find the hook or field etc where this custom css is saved, so can’t enqueue with a little php script like I would normally from a basic WP install from the customized css into the editor.
I’ve got a feeling this is going to be something i’d like to do more of, so is this possible? Or would I need to add custom css files for every template, defeating the point of a builder?