Jump to content

How to rename:grid_prestashop.css


Recommended Posts

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:1b2b.png
 

After i change the name of that css file:ipyk.png

 

Thank you.
 

Link to comment
Share on other sites

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

×
×
  • Create New...