My CSS was working fine.But when I updated my Mac OS, CSS doesn't get applied.I have ,
1.Cleared Cache.
2.Deleted var/view-processed/pub folder and pub/static/frontend/ all folders.Deployed again.
Help me out.Thank you in advance.
-
you need css compiler like grunt. it will compile it.kunj– kunj2018年09月25日 11:26:27 +00:00Commented Sep 25, 2018 at 11:26
-
1I can compile in terminal itself.The problem is ,CSS does not get applied.Kamala– Kamala2018年09月25日 11:33:16 +00:00Commented Sep 25, 2018 at 11:33
-
what error do you get in browser console? have you checked file permission?kunj– kunj2018年09月25日 11:36:18 +00:00Commented Sep 25, 2018 at 11:36
-
1Yes.I checked all file permissionKamala– Kamala2018年09月25日 11:37:48 +00:00Commented Sep 25, 2018 at 11:37
-
What error in browser console?kunj– kunj2018年09月25日 11:40:35 +00:00Commented Sep 25, 2018 at 11:40
1 Answer 1
If you have updated the MAC OS and you have CSS not working, then
1.you have to go to /etc/apache2.
2.Check if httpd.conf is present or not.
3.There will be two files.
4.Copy the contents of httpd.conf~previous file and paste in httpd.conf.
Then it would work. Boom...Magic.
-
1I applied your method.It works.@VishaliMariappanKamala– Kamala2018年09月25日 11:41:30 +00:00Commented Sep 25, 2018 at 11:41
-
Sounds Good.....Cheers:)Vishali Mariappan– Vishali Mariappan2018年09月25日 11:42:33 +00:00Commented Sep 25, 2018 at 11:42