Print this page

Joomla 4 Admin has no CSS Styling

Rate this item
(0 votes)

The Admin of Joomla 4 has no CSS styling.

Possible cause: A gzip section in .htaccess is compressing the already-compressed CSS and JavaScript files.

See this section of the .htaccess file:

## These directives are only enabled if the Apache mod_headers module is enabled.
## This section will check if a .gz file exists and if so will stream it
##     directly or fallback to gzip any asset on the fly
## If your site starts to look strange after enabling this, and you see
##     ERR_CONTENT_DECODING_FAILED in your browser console network tab,
##     then your server is already gzipping css and js files and you don't need this
##     block enabled in your .htaccess
<IfModule mod_headers.c>
...
</IfModule>

If present, comment out or remove.

 

Source: J4.x:Assorted Issues - Joomla! Documentation

Read 4546 times