Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress wp-admin suddenly lost its style

Tags:

css

wordpress

I'm really baffled about this. In the last couple of days (since I was using the site last), my Wordpress install has suddenly lost almost all of its formatting (only the top bar seems to work.

enter image description here

The CSS does seem to be loading, but its missing tons of them:

enter image description here

Here is the same page on another site (same version of WordPress);

enter image description here

I'm at a loss as to what could be causing this all of a sudden. The front end if fine, just to reiterate that.

UPDATE: thanks to someone over at https://wordpress.stackexchange.com/, I followed these instructions:

Try the following: 1) Clear your browser cache. 2) Re-install WordPress (keep wp-content and your database, just reinstall the core files)

....and that has now fixed it :) Thanks to everyone who offered suggestions though!

like image 654
Andrew Newby Avatar asked Dec 08 '22 23:12

Andrew Newby


2 Answers

Another solution, try adding this to wp-config.php:

define( 'CONCATENATE_SCRIPTS', false );
like image 52
user3350565 Avatar answered Dec 20 '22 23:12

user3350565


I solved this by re-registering dashicons. I disabled it fully with:

wp_deregister_style( 'dashicons' );

After I commented out this line it worked normally. Hope this helps.

like image 20
JPA Avatar answered Dec 20 '22 22:12

JPA