Ok, I've uploaded 4 different themes, didn't change any files, and the images don't show up in my blog. I looked at the image links in the CSS and when I go to the direct URL the image shows up, so why wouldn't it show up on my blog?
Ok, I've uploaded 4 different themes, didn't change any files, and the images don't show up in my blog. I looked at the image links in the CSS and when I go to the direct URL the image shows up, so why wouldn't it show up on my blog?
Actually, it's all CSS not just images. There's no placement, formatting, anything. The CSS link is absolutely correct...
So, where is that blog with the css link absolutely correct?
http://www.looneylunar.com
In my header.php I have this to call the CSS
<link rel="stylesheet" href="http://www.looneylunar.com/wp-content/themes/siteground-wp51/style.css" type="text/css" media="screen" />
The link is perfect. But the site won't show any CSS. No float, no font, no nothing. No background!
That page/site is not a WP blog.
Yes it is.
Oh, not index.html.
That's a static HTML page.
Here is the source code:
http://wordpress.pastebin.ca/1087698
There is nothing WP there...
Well, you cannot have an index.php and an index.html in the same directory.
http://www.looneylunar.com/index.php
it gives a server error.
Index.html is not WP. Index.php is. I'm disabling index.php so my viewers won't see my ugly site. As for the server error I don't know.
I'll just install a new theme...
url(../images/whatever.jpg) in a css file needs to have the images referenced in the css relative to the css file.
In the example lets say the css is in a css directory
css/mycss.css
This would then mean that the whatever.jpg would need to be in the images directory at the same level as the css
css/mycss.css
images/whatever.jpg
not
css/mycss.css
css/images/whatever.jpg
because the url in the css has ../images or up one directory and into the images directory.
I hope this helps.
Dean
This topic has been closed to new replies.