I upgraded magento to the newest version and now it doesn't apply the custom css. I cleared the cache, checked the htaccess file and permissions. All fine and it was working before the upgrading.

So what can I do so that the custom css will be applied?

  • 1
    run upgrade/deploy/cache commands in sequence and delete cache manually Jul 11 '17 at 6:53
  • Ok I did this but the css is still not applied.
    – ercMatha
    Jul 11 '17 at 7:16

How the custom css are applied? If you add the custom css on new file declared on core files (bad practice), maybe the update procedure deleted the changes..

You should declare a new child theme and extend it with the changes you need

  • Added them with xml for the site.<reference name="head"> <action method="addCss"> <stylesheet>css/stylesHomepage.css</stylesheet> </reference>
    – ercMatha
    Jul 11 '17 at 11:59
  • Where did you add this?
    – AntonioC
    Jul 11 '17 at 23:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.