Adding Custom CSS Files

160 views
Skip to first unread message

Joe Sonne

unread,
Jun 18, 2015, 6:02:56 PM6/18/15
to master-b...@googlegroups.com
What is the best practices for this template when adding custom CSS files such as 'custom.css' ?

Is it simply to add it in the params.php?

Thanks

Gonzalo Suez

unread,
Jun 20, 2015, 4:09:00 PM6/20/15
to master-b...@googlegroups.com, son...@gmail.com
Hi Joe!
is simple, you have two ways:

1. modify the file template.css
2. add a new file custom.css,
and then modify file params.php
$doc->addStyleSheet('templates/' . $this->template . '/css/custom.css');

Best regards
Reply all
Reply to author
Forward
0 new messages