classic.css not loaded | ProjectDMC.org Deutsch

[ad_1]

Hi,

I’ve set up a dockerized version of my production page to prepare a theme switch.

In the process I also disabled the Gutenberg plugin. After doing so, all content of the editor in the backend wasn’t centered anymore, now everything sticks to the left of the page and has some odd opacity on it, even with reenabling Gutenberg plugin.

After testing around, with a completely fresh wp install on another Docker, I found that the classic.min.css (wp-includes/css/dist/edit-post) is not loaded. On my production system, it is not loaded as well, on this system the classic.min.css is loaded by the Gutenberg plugin if using twenty-twenty-three theme, this is achieved via inline style tags.

On other pages with the „target“ theme, this is not occuring.

So it is probably a conflict on the switch. But since a core file is not loaded, I am posting here 😉

– old theme: Avada
– new (target) theme: The7

So I guess it is some kind of php asset queuing issue on load-styles.php maybe.


.editor-styles-wrapper .wp-block {
    margin-left: auto;
    margin-right: auto;
}

this is the CSS I am missing btw (from the wp-includes – classic.min.css)

What a tried:
– reinstall WP 6.1
– disabling all plugins
– disabling style_concatination
– flushed cache via wp-cli multiple times (between tries)
– same behaviour my staging system (not a docker)

Somebody have an idea what could cause this problem or what I could try next?

[ad_2]

 

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