1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 CSS.php

Discussion in 'XenForo Questions and Support' started by subwiz, Oct 5, 2014.

  1. subwiz

    subwiz Member


    Not realising editing the css.php was not a good idea I did.....
    I have since put back the original file, however, my CSS is not loading.

    I can't figure out how to get it back. Any help appreciated.

    Thank you!
  2. Chris D

    Chris D XenForo Developer Staff Member

    What is the current contents of css.php? A screenshot of the first bit should be sufficient.
  3. Chris D

    Chris D XenForo Developer Staff Member

    I think what you might have done is assumed that css.php contains a load of actual CSS but that isn't the case. css.php dynamically generates its CSS content based on the CSS required for each page.


    This is what your css.php seems to contain, a load of text. Whereas it should contain a load of PHP code.

    To fix your problem, please download XenForo from the Customer Area and upload css.php from the download package to your site.

    If you have questions about how to modify the CSS then you should post a new thread in the Styling and Customizations forum.
    Ark Royal likes this.
  4. subwiz

    subwiz Member

    Chris D
    Thank you so much!! I did do that..... :(

Share This Page