Jump to content

CSS for Custom Module


tim8nime

Recommended Posts

Hi all,

I'm building a custom module and I'm trying to link to my style sheet properly. I've tried hooking into the header and using:

public function hookHeader($params) {
 Tools::addCSS(($this->_path).'ancustomer.css', 'all');
 return $this->display(__FILE__, 'ancustomer-header.tpl');
}

I'm going to look into how this works, but I thought I'd post to see if anyone knew.

 

-Tim

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...