Results 1 to 1 of 1

Thread: Template Style Issue when 'Store CSS Stylesheets as Files' is set to Yes - Fix

  1. #1
    Developer Greystoke's Avatar
    Join Date
    Mar 2010
    Posts
    187
    Thanks
    2
    Thanked 499 Times in 113 Posts

    Default Template Style Issue when 'Store CSS Stylesheets as Files' is set to Yes - Fix

    If you have Store CSS Stylesheets as Files? set to Yes on your Admincp, you will need to do the following:


    In your admincp ->Style & Templates -> Style Manager -> Edit Templates

    Edit oscShop Template

    Find:

    PHP Code:
    <vb:if condition="$vboptions['storecssasfile']"
        <
    link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}main-rollup.css" /> 
            {
    vb:raw template_hook.custom_css_links
    <
    vb:else /> 
    Replace with:

    PHP Code:
    <vb:if condition="$vboptions['storecssasfile']">
             <
    link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}bbcode.css" />
             <
    link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}editor.css" />
             <
    link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}popupmenu.css" />
             <
    link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}oscShop_reset-fonts.css" />
             <
    link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}vbulletin.css" />
             <
    link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}vbulletin-chrome.css" />
             <
    link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}vbulletin-formcontrols.css" />
    {
    vb:raw template_hook.custom_css_list}
    <
    vb:else /> 
    Lastly go to Maintenance ->Update Counters -> Rebuild Styles

  2. The Following 3 Users Say Thank You to Greystoke For This Useful Post:

    hersamuchpeich (18-11-2012),itojessosaspos (16-06-2013),lrybuywejewe (16-09-2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •