Forums

[resolved] Blog broken in Firefox, Chrome; Functioning fine in IE (6 posts)

  1. Sinapse2
    Member
    Posted 2 years ago #

    Hello,

    Initially I was working in IE and didn't notice until the other day when I was messing with Firefox and the custom theme I was building.

    Blog

    I have reinstalled with a fresh database and the standard template that comes with the installer to show that it isn't my doing and am at a loss as to the cause of the problem. It appears that the stylesheet isn't being read in Firefox or Chrome but I can see no reason why not.

    The dashboard also displays similar behavior, featuring nothing but white with curved lines around blocks.

    Any ideas?

  2. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    Where is you install WP on this domain? What urls did you enter for site and blog? Have you confirmed that the server is serving CSS files correctly as text/css?

  3. Sinapse2
    Member
    Posted 2 years ago #

    Ah, that was the problem.

    Lightspeed had:

    AddType application/x-httpd-php .css

    In order to allow for dynamic CSS. I suppose I'll have to find another solution or manually insert the headers.

    Thanks for the idea.

  4. Sinapse2
    Member
    Posted 2 years ago #

    Opening this up again. What would be a good way of enabling PHP in CSS without breaking everything?

  5. esmi
    Theme Diva & Mod
    Posted 2 years ago #

    Place the CSS in a php file but include <?php header("Content-type: text/css"); at the top.

  6. Sinapse2
    Member
    Posted 2 years ago #

    I suppose I'll have to change my naming conventions then so the style sheet doesn't match the page.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.