cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.3 - new theme - no css

Magento 2.3.3 - new theme - no css

Hello there,
I just installed a new theme on my Magento 2.3.3 and not once I switch  themes (old one works as normal) the new one seems like the css is completely messed up.

tried clean cache, etc but no luck ...

any suggestions ?

 

3 REPLIES 3

Re: Magento 2.3.3 - new theme - no css

Hi @Mike210471 

 

The point you have shared is not giving full information about the issue but you can check and use the following commands in order to get solve the issue

php bin/magento deploy:mode:show
// if it default then first set it as developer

php bin/magento deploy:mode:set developer

php bin/magento setup:upgrad
php bin/magento setup:static-content:deploy -f
// use i18n codes if you have set different language

php bin/magento cache:clean

// If you are working on linux machine then please provide permissions to dir
chmod -R 777 var/* pub/static/* generated/*

Hope this will help

Re: Magento 2.3.3 - new theme - no css

Hi @Mike210471 

Please try below commands on Magento root folder:

rm -rf pub/static/*
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:c
php bin/magento cache:f
chmod -R 777 var/* pub/static/* generated/*

If you have site in any other language and use deploy command with that language code.

Re: Magento 2.3.3 - new theme - no css

Hi please run the below commands from Magento root step by step.

 

1. find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} +
2. find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} +
3. sudo chown -R :www-data . # Ubuntu
4. chmod u+x bin/magento

5. rm -rf var/cache/* generated/* pub/static/*

6. chmod -R 777 var/* pub/media/* pub/static/* generated/*

7. php bin/magento se:up

8. php bin/magento s:d:c

9. php bin/magento s:s:d -f

10. php bin/magento c:f