Can you replicate the problem using the default Twenty Thirteen theme with all plugins deactivated?
Hi there,
No, when I try any of the 11, 12, 13 themes it works perfectly. I’m gathering there’s something wrong with my theme? 🙂
I am making an assumption here, but it looks like you are loading your <?php get_header(); ?> in the ‘<header></header>’ .
<?php get_header(); ?> should be placed at the very top of your php file above all the other tags.
Hi Vicdm,
Thanks for the reply, unfortunately that didn’t work either.
Is it something to do with my archive.php or page/single.php do you think?
It just seems strange that the actual blog works but it can’t find the css on other pages.
If there’s somewhere I can post my files or mail them to you, I gladly will 🙂
Are you able to post your files on github or bitbucket?
I’ll take a look at the files and continue with the help in this post till it’s resolved.
AWESOME! Thanks!
Will you need just the WordPress theme?
What’s your bitbucket name and I’ll share it on there?
Thank you, it’s in the downloads there 🙂
try not to use a relative file path in the linking for the stylesheets;
rather use the absolute file path;
possibly created with get_stylesheet_directory_uri()
http://codex.wordpress.org/Theme_Development#Document_Head_.28header.php.29
http://codex.wordpress.org/Function_Reference/get_stylesheet_directory_uri
Thanks Alchymyth! I’ll give that a go! 🙂
Hi guys!
I’m back from my hols and picked this up again…
Firstly, thanks for the help from all of you! 🙂
Secondly; you know when you’ve stared at the same code far too long… yep that’s me!
Alchymyth; you were totally correct. If I used the absolute path, it worked a charm.
Thanks guys 🙂