• Hi — I just started having the weirdest problem on my wordpress install.

    In firefox (not IE), the CSS isn’t applied to my admin pages, or wp-login.php, as evidenced here:

    https://v3.blastro.com/news/wp-login.php

    I’ve watched my httpd logs, and wp-admin.css IS being loaded. Also, i can sorta “force” the css to be applied to the page by doing an “Edit CSS” with the firefox web developer toolbar.

    I’m really at a loss here, so any help would be appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hmmm weird your site does the same to me in firefox, try editing your .htaccess and adding the following at the bottom:

    AddType text/css .css

    Thread Starter jmatthew3

    (@jmatthew3)

    Tried that, doesnt work.

    the css file IS being loaded — i can watch the access_log and watch it load.

    Can you apply that fix and let me have a look while it is applied?

    I think the problem is that your CSS is being served as text/html instead of text/css so the above should fix that.

    Your hunch is right, https://v3.blastro.com/news/wp-admin/wp-admin.css:


    HTTP/1.1 200 OK
    Date: Wed, 28 Sep 2005 06:17:16 GMT
    Server: Apache/1.3.33 (Unix) PHP/4.4.0
    X-Powered-By: PHP/4.4.0
    Connection: close
    Content-Type: text/html

    While his main CSS (https://v3.blastro.com/styles/blastro3.css) returns this header:


    HTTP/1.1 200 OK
    Date: Wed, 28 Sep 2005 06:19:39 GMT
    Server: Apache/1.3.33 (Unix) PHP/4.4.0
    Last-Modified: Mon, 26 Sep 2005 22:17:56 GMT
    ETag: "198c002-569e-43387394"
    Accept-Ranges: bytes
    Content-Length: 22174
    Keep-Alive: timeout=15, max=100
    Connection: Keep-Alive
    Content-Type: text/css

    You say you added the suggested code, but which .htaccess file did you add it to? If there’s a .htaccess file in the wp-admin folder, that may be where the problem lies.

    Thread Starter jmatthew3

    (@jmatthew3)

    I’d just like to say that you guys did correctly find the problem — i had edited the .htaccess in the right directory, but, before me, someone had manually forced the type to text/html in the /news directory.

    so, that was the problem.

    thank you all. wordpress et al rock.

    -jm3

    Glad to hear you got the problem fixed.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wp-admin.css not being applied in firefox’ is closed to new replies.