JoelWebsites Posted February 19, 2015 Share Posted February 19, 2015 How to assign css to a module controller in my main module file I have added $this->registerHook('header') && public function hookHeader() { $this->context->controller->addJS($this->_path.'/js/front.js'); $this->context->controller->addCSS($this->_path.'/css/my-account.css'); } but still cannot see the css being used in module controller that has assigned a tpl How do I get this done?..thanks Link to comment Share on other sites More sharing options...
JoelWebsites Posted February 19, 2015 Author Share Posted February 19, 2015 silly me ...I had not put proper css code 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