cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.2 css not working

SOLVED
Highlighted

Re: Magento 2.2 css not working

Hi @SiiW

 

Glad to know that you have resolved your issue !!

 

if you found our post helpful then kindly click on kudos 

 

Happy to help and keep helping Smiley Happy

if issue solved,Click Kudos & Accept as Solution
Highlighted

Re: Magento 2.2 css not working

The issue continues for me.

 

https://lcdtcorp.com/pub/static/frontend/Codazon/fastest_bigmarket/es_AR/css/ 

is not found.

 

I tried every suggestion here, even adding the .htaccess.

 

But I really don't understand what "media directory being out of date" means. I already copy files from a working version into the website. 

Highlighted

Re: Magento 2.2 css not working

1. Open up app/etc/di.xml find the path “Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink” and replace to “Magento\Framework\App\View\Asset\MaterializationStrategy\Copy”

2. reload page it will work great!

 

http://www.dckap.com/blog/magento-2-admin-links-not-working-in-windows/

Highlighted

Re: Magento 2.2 css not working

On Ubuntu 16.04, using apache2 I was also facing same issue.

Activated the mod_rewrite module with

sudo a2enmod rewrite

and restartd the apache with

sudo service apache2 restart

My issue resolved.

Highlighted

Re: Magento 2.2 css not working

You need to make sure you have all the .htaccess file in the right locations for this to work.

There are .htaccess file in:-

  • <Magento Root>/.htacess
  • <Magento Root>/pub/.htacess
  • <Magento Root>/pub/static/.htacess

Just copy them from a previous installation and then it should work.

Highlighted

Re: Magento 2.2 css not working

Hello, I tried this but it still won't work for me

Highlighted

Re: Magento 2.2 css not working

I have same issue