koala_dev Posted September 7, 2013 Share Posted September 7, 2013 I'm facing a problem overriding the styles for the Quick Search Box module, I've created my custom css file inside `/themes/my_theme/modules/blocksearch/blocksearch.css` but it's not being loaded, the default CSS file for the module is loaded instead. What could be the problem? I've already disabled the cache. Link to comment Share on other sites More sharing options...
Dreamtheme Posted September 7, 2013 Share Posted September 7, 2013 You are doing it in the wrong path. When you override modules, for TPL files, the path is youtheme/modules/modulefolder/modulname.tpl But when you override CSS, the path is yourtheme/css/modules/modulefolder/modulname.css See PrestaShop development documentations to get arround http://doc.prestashop.com/display/PS15/Developer+Guide 1 Link to comment Share on other sites More sharing options...
vekia Posted September 7, 2013 Share Posted September 7, 2013 if you move css file to path mentioned by @Dreamtheme ( yourtheme/css/modules/modulefolder/modulname.css ) don't forget to move also /img/ directory. as far as i remember, blocksearch module has got own /img/ directory with images im not sure at all because i havent got access to theme files, if i were wrong - let me know 1 Link to comment Share on other sites More sharing options...
Dreamtheme Posted September 7, 2013 Share Posted September 7, 2013 Yes Vekia is correct, you need img folder too. Link to comment Share on other sites More sharing options...
koala_dev Posted September 9, 2013 Author Share Posted September 9, 2013 Thank you guys, it's working now. After initially reading the docs I was left with the impression that all module files should go inside the modules directory, now I see that's not the case. 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