Announcement

Collapse
No announcement yet.

chaning MAIN CSS of a style

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • chaning MAIN CSS of a style

    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.

  • #2
    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.
    House of Night Forums - An online House of Night roleplaying community,

    Comment


    • #3
      Set your board to cache css to files



      how exactly do i do that?

      Comment


      • #4
        AdminCP -> vBulletin Options -> Style & Language Settings
        Set "Store CSS Stylesheets as Files?" option to yes.
        House of Night Forums - An online House of Night roleplaying community,

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X