yaniv2266 Posted October 29, 2015 Share Posted October 29, 2015 im new in prestashop . i create my css file and want to add it to prestashop theme. how can i add the new fill and make prestashop read the file in the header section ? in furoms i see that thy said to add it to hookheader , i tried to add it to some moudle and do the fallow: 1) add to the theme header file {hook h="myCssHook"} 2) add to some rendom module function: public function myCsshook(¶ms){$this->context->controller->addCSS(($this->_path).'prestashop/myshop/theme/css/myoverride/myCsstheme.css', 'all');} 3) in the module installition copy and add: || $this->registerHook('myCssHook') == false and its didnt work . im using prestashop 1.6.1.1 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