Skip to content

Commit

Permalink
Backport the user.css file to beez3
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Aug 3, 2015
1 parent 5cc6725 commit 0b79fd1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions templates/beez3/index.php
Expand Up @@ -65,6 +65,14 @@
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/javascript/respond.src.js', 'text/javascript');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/javascript/template.js', 'text/javascript');

// Check for a custom CSS file
$userCss = JPATH_SITE . '/templates/' . $this->template . '/css/user.css';

if (file_exists($userCss) && filesize($userCss) > 0)
{
$doc->addStyleSheet('templates/' . $this->template . '/css/user.css');
}

?>

<!DOCTYPE html>
Expand Down

0 comments on commit 0b79fd1

Please sign in to comment.