Jump to content

How do I add a new stylesheet using filters?


Alex.1

Recommended Posts

Hi, 

I have tried using this  https://www.jreviews.com/docs/hooks/asset_manager_stylesheets to add my custom css file but had no success.

This doesn't work:

set($stylesheets['bottom']['custom.css']);

Neither this:

load($stylesheets['bottom']['custom.css']);

As well I tried this: 

$this->asset_manager->add('custom.css',['pos'=>'bottom']);

 

Can I get some help please?

Thanks,

Alex

Link to comment
×
×
  • Create New...