roxor Posted September 10, 2013 Share Posted September 10, 2013 Hello,i want to make a custom template and i had make a copy of default theme then i want to make it custom. But when i try to rename :grid_prestashop.css i cant,hi give me eror. Why dont work if i try to rename :grid_prestashop.css with grid_test.css? example if i change the name: After i change the name of that css file: Thank you. Link to comment Share on other sites More sharing options...
vekia Posted September 10, 2013 Share Posted September 10, 2013 it's because you need to attach new grind file to your global.css file take a look: $this->addCSS(_THEME_CSS_DIR_.'grid_prestashop.css', 'all'); prestashop trying to add grid_prestashop.css file but you renamed it - so it isn't attached to page body in this case you have to change grid_prestashop.css to grid_test.css in code that you've got aboe. code that i attached is a part of classes/controllers/frontcontroller.php file Link to comment Share on other sites More sharing options...
Recommended Posts