Everseeker Posted May 7, 2012 Share Posted May 7, 2012 Just a simple question from a prestashop newbie. Where can i find the line that add's product.css in the header? This is what i have in head.tpl in my template {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /></head> {/foreach} {/if} But i want to add product.css to global.css and use only one css file. Thanks in advance Link to comment Share on other sites More sharing options...
Everseeker Posted May 7, 2012 Author Share Posted May 7, 2012 Fond it. For future reference search for line Tools::addCSS(_THEME_CSS_DIR_.'product.css'); in /controllers/ProductController.php and comment out or delete Link to comment Share on other sites More sharing options...
jhnstcks Posted May 7, 2012 Share Posted May 7, 2012 Easier to just delete the product.css and move the coding over to global.css, no need to change the core code then 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