cancel
Showing results for 
Search instead for 
Did you mean: 

Magento admin panel login css not loading

SOLVED

Magento admin panel login css not loading

I'm facing a problem in Magento 2 admin login ( user & pass popup ), CSS is not loading ! But after login everything working well ! I'm facing this problem after deleted the content of var/cache.

I tried to deploy content but nothing change.

Could you please help and advise what's the problem exactly ?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Magento admin panel login css not loading

Hi @infonectar9054 ,

 

If you have multiple language available then you need to execute deployment with each language like below.

 

php bin/magento setup:static-content:deploy de_DE en_US -f
 
Please replace de_DE and en_US with your language code.
Check admin login page again.
 
Problem solved? Click Accept as Solution!

 

Hope it helps!

Thanks

 

Ankit Jasani

View solution in original post

3 REPLIES 3

Re: Magento admin panel login css not loading

Hello @infonectar9054 

 

This issue raises due to permission of folders.

Please run below commands and assign permissions:

sudo chmod -R 777 var/ pub/ generated/
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f

It may help you!
Thank you.

Problem solved? Click Accept as Solution!

Re: Magento admin panel login css not loading

Hi @infonectar9054 ,

 

If you have multiple language available then you need to execute deployment with each language like below.

 

php bin/magento setup:static-content:deploy de_DE en_US -f
 
Please replace de_DE and en_US with your language code.
Check admin login page again.
 
Problem solved? Click Accept as Solution!

 

Hope it helps!

Thanks

 

Ankit Jasani

Re: Magento admin panel login css not loading

Hi @Ankit Jasani 

That's fixed my issue, thank you very much.