gkom Posted January 18, 2014 Share Posted January 18, 2014 Hello, When I turn on CCC for CSS files, the CSS file for a module I have written myself doesn't get included.The CSS file is added by the module as usual. $this->context->controller->addCSS($this->_path.'modulename.css', 'all'); When CCC is off, it's added in the <head> and everything works. Does anybody know what might be causing this? Link to comment Share on other sites More sharing options...
vekia Posted January 19, 2014 Share Posted January 19, 2014 hello this problem can be related to cache. by default, when you use ccc for css files your store use "compiled" version of all css files, and this file is located in your theme directory in cache subfolder try to clear it, then generate new minified file, will see what's going on then Link to comment Share on other sites More sharing options...
jeje34080 Posted May 23, 2014 Share Posted May 23, 2014 J'ai le même problème mon css ne se charge pas ... Link to comment Share on other sites More sharing options...
Yankee_PL Posted May 27, 2014 Share Posted May 27, 2014 hello this problem can be related to cache. by default, when you use ccc for css files your store use "compiled" version of all css files, and this file is located in your theme directory in cache subfolder try to clear it, then generate new minified file, will see what's going on then Hello. Exactly the same problem at my shop. After deleting cache files from directory cache in theme subfolder problem still exist. I will appreciate some help. Link to comment Share on other sites More sharing options...
vekia Posted May 27, 2014 Share Posted May 27, 2014 how you include this css file? Link to comment Share on other sites More sharing options...
Yankee_PL Posted May 27, 2014 Share Posted May 27, 2014 (edited) I just solved this problem. It was just caused by css marker error in one of css module files. Without ccc compile this error may be unnoticed. But after compile, when all css files are in one - cached file, this error can cause, that browser will not recognize all css code after it. So the solution is to carefully check css code. Edited May 27, 2014 by elektrodesign.pl (see edit history) 1 Link to comment Share on other sites More sharing options...
jeje34080 Posted May 28, 2014 Share Posted May 28, 2014 what kind of error you had in your css? Link to comment Share on other sites More sharing options...
Yankee_PL Posted June 3, 2014 Share Posted June 3, 2014 what kind of error you had in your css? I had simply not closed css tag "}" Regards! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now