Problem changing style.css to style.php
-
I changed the name of the style.css file to style.php both in my Twentyten theme folder and my Twentyten-child folder. I added this line of code to each:
<?php header(“Content-type: text/css”); ?>
I also changed the header.php file to read this:
<link rel=”stylesheet” type=”text/css” media=”all” href=”<?php bloginfo( ‘template_directory’ ); ?>/style.php” />
Now my site seems to be reading the style.php in the Twentyten folder, but not the one in the Twentyten-child folder.
What to do?
Bruce
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problem changing style.css to style.php’ is closed to new replies.