View Full Version : Custom CSS files
RoutineX
02-18-2007, 05:31 PM
I was wondering how I could include my custom CSS files for the pages I've added in vBa.
I tried to add the url in vBa CMPS->Default Settings->Header Replacements from the adminCP but that didn't work.
Any suggestions?
RoutineX
02-20-2007, 01:01 PM
If anyone else was wondering (i.eg found this thread in a search), you can do this by doing the following in the admin CP:
Styles & Templates -> Style manager -> Go to the dropdown to the right of the style you want and select "Common Templates".
Enter
<link href="linktoyourcssfile" rel="stylesheet" type="text/css" />
in the headinclude block.
You can also make an IF condition if you only want to add the CSS in vBa pages by entering
this instead of the text above:
<if condition="THIS_SCRIPT == 'adv_index'">
<link href="linktoyourcssfile" rel="stylesheet" type="text/css" />
</if>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.