Reputation: 1415
I have a joomla site. And I have a component installed which has it's own css file positioned in the actual component files, I would like to position this css file to another folder (not in component files), so I copied the css file to where I need to, and now I'm looking where in the code is written the PATH to the css file... and I found the code :
$this->addCSS('layout');
the file is called "layout.css".
How can I change this code to a path something like "/template/bluedilema/css/layout.css"
Somebody PLEASE help if you can.
Thanks
Upvotes: 0
Views: 155
Reputation: 1573
Have you tried:
$this->addCSS('./../template/bluedilema/css/layout.css');
Please note you have to adjust the path.
Hope this link will help you! http://www.howtojoomla.net/how-tos/development/how-to-add-cssjavascript-to-your-joomla-extension
Upvotes: 1