Friday, October 28, 2005

[Wordpress] gurus, please help

Howdy WordPress users (and maybe Movable Type folks, too):

I've got one niggling problem on my new Wordpress site: the background images intermittently don't show up. That is, I have a white space where the masthead photo should be, and a red background where my tiled .gif image should appear. I can force the error if you click on this URL with an extra dot and slash after the domain:

Problem is, this error can also happen when the URL is typed in correctly. I have no idea why. Try again, with this link:

Any clues?

This post was written by Professor Salt from You gonna eat that?


Ed said...

I'm not an expert in these things but had a similar problem setting up in Movable Type. In the CSS I had to resepcify the size of the image:

here's the code. Note the height has to match the height of the image:

#banner {

background: url("") no-repeat;
text-align: left;
padding: none;
border-bottom: 1px solid #FFFFFF;
height: 109px;

Or if you are just htmling it in the index.html remember you need to spec the size.

Hope this helps

Professor Salt said...

Hi ed,

I've checked the banner spec in the CSS and it matches the actual image size. Thanks for pointing out this potential problem, but it didn't seem to matter in this case. I will keep it mind as I apply different templates in the future.