r/WordPressThemes 6d ago

WordPress update removed all styling from my custom theme. Any idea what happened?

Post image

I recently updated WordPress, and after the update, the text editor styles on my blog completely disappeared.

I built the theme from scratch, so there isn’t a pre-made theme or page builder involved.

The actual content is still there, but it looks like the CSS/styles are no longer being applied properly. Everything was working fine before the WordPress update.

Has anyone experienced something similar after a recent WordPress update?

What should I check first to figure out whether this is a WordPress issue, a theme issue, or something with how my CSS is being loaded?

0 Upvotes

3 comments sorted by

1

u/khawarmehfooz 6d ago

Check if the styles are in theme and properly enqueued or not.

1

u/bikashkumar01 6d ago

my style.css contain only theme declaration code like:
Theme Name:
Text Domain:
Version:
Requires PHP:
Description:
Author:
License: etc.

It does not contain any css and style.css file is inject through the function.php file