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?
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?
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.
Sinapse2
Member
Posted 2 years ago #
Opening this up again. What would be a good way of enabling PHP in CSS without breaking everything?
Place the CSS in a php file but include <?php header("Content-type: text/css"); at the top.
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.