View Full Version : chaning MAIN CSS of a style
Queen
Sat 2nd Apr '05, 7:08pm
lets say i have two styles installed.
style A and Style B.
now if i want to use the MAIN CSS of Style B for Style A , then how can i move it over to A? or how can i change the MAIN CSS of A and use MAIN CSS of B?
wats the easiest way of doing it.
RagingPenguin
Sat 2nd Apr '05, 8:59pm
Set your board to cache css to files, then change the headinclude template, changin the following...
<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->
to this...
<!-- CSS Stylesheet -->
<link rel="stylesheet" type="text/css" href="/path/to/styles.css" />
<if condition="is_browser('opera')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->
replacing the path with the correct value. You can also use the @import syntax if you wish. All cached stylesheets will have the name and id of the style it's used for at the top of the file.
Queen
Sun 3rd Apr '05, 7:02am
Set your board to cache css to files
how exactly do i do that?
RagingPenguin
Sun 3rd Apr '05, 10:30am
AdminCP -> vBulletin Options -> Style & Language Settings
Set "Store CSS Stylesheets as Files?" option to yes.
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.