Skip to content

Instantly share code, notes, and snippets.

@MaxLynam
Created November 12, 2013 20:18
Show Gist options
  • Select an option

  • Save MaxLynam/7437930 to your computer and use it in GitHub Desktop.

Select an option

Save MaxLynam/7437930 to your computer and use it in GitHub Desktop.
Add Custom CSS into Joomla Template - insert as last element before the closing /head tag .... as per code below.
<?php if (file_exists("<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/custom.css")); ?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/custom.css" type="text/css" media="screen" />
<?php endif; ?>
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment