A few days ago I finished the custom theme (very simple, based on Luma and Blank themes, changing colors etc only). My theme works perfectly on the local server, but when uploaded to the live server it looks like some changes are not deployed, so I ran the deploy command again after clearing the static files and the cache but still the same. I created a new DB and reinstalled Magento on the live server but still the same! The problem is that I can not see any errors anywhere! Any help will be very much appreciated!!
-
can you please share with me your live site URL – hweb87 Apr 26 '18 at 5:53
-
here you go: diavazo.co.uk note the header links, this mess is fixed on my css but for some reason can't be deployed and is not giving any errors – Nick Theodoridis Apr 26 '18 at 13:18
I can see there is some JS error in console
Please run below commands :
php bin/magento set:upg
php bin/magento setup:static-content:deploy
OR
bin/magento setup:static-content:deploy -f --area=frontend
how you add css ? can you please share withe me in details because default magento css working fine looks some custom css not working on it.
-
I ran these commands like 20 times so far but it doesn't change anything. the JS that missing is not a big deal: it's a carousel extension that missing - I keep making changes- if I put it back it will go away. the problem as you say it is that the custom CSS is not deploying - on my local server it works just fine. I have a _theme.less file: customtheme/themename/web/css/source/_theme.less – Nick Theodoridis Apr 27 '18 at 9:11
-
try to remove var/cache, var/log, var/page_cache, var/view_preprocessed and var/session – hweb87 Apr 27 '18 at 10:28
-