Andrej Stas Posted October 31, 2016 Share Posted October 31, 2016 Simply said, I cannot add external CSS of Font-Awesome, since RC3 started to ignore it. Of course, I can download the CSS file and include it directly into the module. But what if I create multiple modules that require Font Awesome? public function hookdisplayHeader($params) { $this->context->controller->addCSS('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css'); } Any suggestion about the best practice appreciated. Link to comment Share on other sites More sharing options...
bellini13 Posted November 1, 2016 Share Posted November 1, 2016 did that ever work? I believe you just need to return the style sheet inline, as opposed to trying to use addCSS function. Link to comment Share on other sites More sharing options...
Andrej Stas Posted November 2, 2016 Author Share Posted November 2, 2016 (edited) did that ever work? I believe you just need to return the style sheet inline, as opposed to trying to use addCSS function. It was working in RC1 and RC2 I see, thank you for your help Edited November 2, 2016 by Andrej Stas (see edit history) 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