I am making a WordPress theme and I brought all the code over to an index.php and style.css file in a theme folder. The problem is that the CSS code is not effecting the HTML and PHP. It looks as if it is unstyled (browser default). I checked the
<head>and it shows the link to the stylesheet.
Here is the code I used to link to the stylesheet:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
When I go to the stylesheet link, it only shows the commented area information (name, description, URI, etc), but when I go to my coding software it shows up fine. And yes, I am looking at the online version, not offline.
What could make this happen? I have tried everything I can think of. Please help!!
- The topic ‘CSS Not Working’ is closed to new replies.