Child theme styles work on site but not in Admin page editor?

[ad_1]

Should my child theme style.css overrides apply to the editor or do I need to add an admin CSS override file (there are so many, not sure which one is right)?

For example, I’m overriding Twenty Twenty-One and set the body bg color to white but in the page editor in the admin area it’s still mint green. Likewise, I’ve hidden the page titles (`h1.entry-title`) but they’re still showing up in the page editor / admin area.

I’ve created many child themes for many sites and don’t remember ever having to add a separate admin area CSS override file in the child theme.

The admin area seems to use different classes so enqueueing the child style.css won’t work (I don’t believe anyway).

[ad_2]
1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer