aaronjpitts Posted October 4, 2013 Share Posted October 4, 2013 Hi guys, I'm working on a new theme which I have based off the default theme. I would just like to know how you can de-register CSS files such as the product_list.css file so that it's not included in the front-end. Thanks Link to comment Share on other sites More sharing options...
vekia Posted October 4, 2013 Share Posted October 4, 2013 you have to edit ProductController.php file located in /controllers/front/ directory there is a line:$this->addCSS(_THEME_CSS_DIR_.'product.css'); if ($this->context->getMobileDevice() == false) { $this->addCSS(_THEME_CSS_DIR_.'product.css'); just remove it 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