sounds like you’re using relative paths to call in your CSS files. That won’t work. Of course, guessing what the issue is doesn’t help much either. it would help a lot more if you’d provide a link to the site in question.
I am using relative paths…can I not do this?
I have everything on a local testing server for now so I don’t have a link to the site. If need be I will upload later this evening.
>>I am using relative paths…can I not do this? <<
if you do, this is what will happen.
You forget that WordPress is a system that uses includes to call things in from different areas. If you have it working with a relative path on one page, then when you go another level down, it won’t work anymore – because the relative path you’re using doesn’t change. I.e. “../images” won’t change to “../../images” just because you go in a level deeper. Your header in an included file – it’s the same across ALL pages.
So no, don’t do that. Use the full path:
<?php bloginfo('template_directory'); ?>/rest of the path here
If it’s just to your stylesheet, you should have the stylesheet path in there:
<?php bloginfo('stylesheet_url'); ?>
Ok, I used:
<?php bloginfo('stylesheet_url'); ?>
for my default stylesheet and it is working. One last question is: how do I then link to my print and my IE only stylesheets? They are in the same location, but have a different name than the default style sheet.
Sorry, I guess you already answered that with:
<?php bloginfo('template_directory'); ?>/rest of the path here
Thank you very much for your help!
Matt