goodish Posted February 21, 2017 Share Posted February 21, 2017 Interesting fact. I change something in classic theme ( file theme.css), save, changes are entered in the file. In the section Performance/Advanced Parameters of backoffice I turn ON Smart cache for CSS and... all changes are out, showing is original setting of theme.css, despite of cleared cache and recompiled template. If I turn OUT Smart cache for CSS - changes in theme are presented. The override does not work? Prestashop 1.7.0.4 Link to comment Share on other sites More sharing options...
rocky Posted February 23, 2017 Share Posted February 23, 2017 I've encountered this problem myself. I just manually delete the JavaScript and CSS files in the themes/classic/assets/cache directory and then they are recreated properly. It would be better if PrestaShop automatically deleted them though. 1 Link to comment Share on other sites More sharing options...
goodish Posted February 23, 2017 Author Share Posted February 23, 2017 Thanks rocky, It´s work. Link to comment Share on other sites More sharing options...
samo70 Posted May 18, 2017 Share Posted May 18, 2017 I tried to change simple css option in theme.css (background of Classic theme) but no changes appeared. I tried to clear cache in admin, on FTP in themes/classic/assets/cache directory is nothing. Any ideas? Link to comment Share on other sites More sharing options...
goodish Posted May 18, 2017 Author Share Posted May 18, 2017 You must turn ON in advanced parameters/performance - cache css and delete all css and js files in themes/classic/assets/cache. Don´t worry the files uploading again. Clear cache in your browser. Link to comment Share on other sites More sharing options...
samo70 Posted May 18, 2017 Share Posted May 18, 2017 Turning ON cache css in performance works, thankyou. Link to comment Share on other sites More sharing options...
gangstadeveloper Posted November 25, 2018 Share Posted November 25, 2018 You just have to edit the file themes/classic/assets/css/theme.css and in chrome or the navigator you use clear the cache. It has worked for me! Link to comment Share on other sites More sharing options...
JBW Posted November 26, 2018 Share Posted November 26, 2018 I recommend to rather use custom.css instead of doing changes directly in theme.css - this will give you better overview of your changes done and keeps then separate in case of any theme updates that might override the theme.css again. Link to comment Share on other sites More sharing options...
dionysusx Posted July 15, 2019 Share Posted July 15, 2019 (edited) Hi, Iḿ just at the beginning to customize a 1.7.4.2 Prestashop. I intended to change backround colors, font colors and some other little changes. After realising that working with custom.css via FTP is quite time consuming I looked for a module. I chose stcustomcode from sunnytoo and installed it. I made some small changes to the background colors with it, but not all were working. So I cleared cache in assets manually as well as browser cache but it didnt work out, cache css was activated at this point. I deactivated it, cleared all again, reload - nothing happend. Then I turned it on again, did the same procedure and the whole page looks totally shifted now. I deleted all my changes from the css module and after even deistalled it but the shifted page stays persistant I have no Idea, how to fix this issue, because I dont know, how it happend. Maybe someone here has an idea? Edited July 15, 2019 by dionysusx (see edit history) 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