Hosting CSS off site
Page 1 of 1
Hosting CSS off site
today i discovered that our forum host had removed the CSS functionality.
What did this mean ? It meant that all the custom changes that i made were no longer appearing on the forum (**tisktisk**)
so ... being that is what it is .. i decided that this was poor business on their part and decided to host if off site (basically over riding the internal CSS)
for all who want or may need to host their Forum's CSS off site: here is the code to do so.
1st open a text editor (notepad will do). you will need to edit the following code:
edit the text to match your CSS name and host; save and upload as a .js file
Then place the following code in your ACP -> General -> Configuration -> Site Description
What did this mean ? It meant that all the custom changes that i made were no longer appearing on the forum (**tisktisk**)
so ... being that is what it is .. i decided that this was poor business on their part and decided to host if off site (basically over riding the internal CSS)
for all who want or may need to host their Forum's CSS off site: here is the code to do so.
1st open a text editor (notepad will do). you will need to edit the following code:
- Code:
document.write("<link rel='stylesheet' media='print' type='text/css' href='https://your.host.com/Your_css.css' />");
edit the text to match your CSS name and host; save and upload as a .js file
Then place the following code in your ACP -> General -> Configuration -> Site Description
- Code:
<script src='https://your.host.com/YOURcss.js'></script>
Bad Wolf- Designer GFX
-
Level : 46
Number of posts : 3390
Location : Satellite V
Rank : 7
Experience : 3013
Registration Date : 2006-12-24
Cprofile
Title: The Digital Alchemist
Luck:
(588/588)
Karma:
(530/777)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum