Lunarhotel.co.uk

How about a view of the sea of tranquility?
Home Joomla things Include css file Plugin
E-mail
Print
PDF
Written by Web Master   
Tuesday, 30 March 2010 15:43
User Rating: / 1
PoorBest 

If you want to include some custom css code into your Joomla site, you're normally looking at messing around with inline styles (difficult to maintain and messy) or loading up and tweaking your templates css file, very often finding that there is more than one, some which get loaded with certain browsers, and some that dont. All in all, its a bit of a pain.

Hence why I wrote this very simple plugin, that allows you to include a custom css file into your Joomla site.

At the moment, it will add a reference to a style sheet into the header of EVERY front end page on your site. It will not add a reference when in the back end administration. You can add upto 10 different css files. For each file you want to include, just input the CLIENT SIDE path to the css file, as you would normally. for example:

http://www.yoursite.com/templates/templatename/css/your_custom_css.css

The plugin is free to download and attached to this article. Please register to download

Last Updated on Tuesday, 30 March 2010 15:55
 

Comments  

 
# chicchera 2010-08-30 13:44
Is there a way to add the css file as last? the way it stands now is of little use to me: what I need is an easy way to load a style sheet as the last one, where I can concentrate all the variations to all installed modules and plugins (and, why not, also the template)
 

You must register if you wish to comment

Its official! usernames suck!

12507Check out the 10 mile round trip I had to do to login into a site that was asking for a username and password

Whos online

We have 4 guests online

Joomla EmailAsUsername Testamonials

"Thanks for a great plugin, and speedy helpful support."

"I really appreciate how responsive you have been and I want to reward you by adding a very positive comment on the Joomla site where I found your great plugin"

"Wow, tested it out and works like a champ"

"I had a couple of installation issues which Dylan sorted for me the same afternoon. Superb service for the price."

"Thank you!!!  Best support I have ever had!"

"Thank you soooooo much for your time and effort on this, you're a life saver!....If your ever in the London or Guildford area I'll get the beers in!"