Skip to content

Commit

Permalink
Add the ability to use a custom.css with Protostar.
Browse files Browse the repository at this point in the history
  • Loading branch information
roland-d committed Sep 3, 2014
1 parent 75b6684 commit a001a9d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/protostar/index.php
Expand Up @@ -42,6 +42,12 @@
// Add Stylesheets
$doc->addStyleSheet('templates/' . $this->template . '/css/template.css');

// Check for a custom CSS file
if (file_exists('templates/' . $this->template . '/css/custom.css'))
{
$doc->addStyleSheet('templates/' . $this->template . '/css/custom.css');
}

// Load optional RTL Bootstrap CSS
JHtml::_('bootstrap.loadCss', false, $this->direction);

Expand Down

0 comments on commit a001a9d

Please sign in to comment.