• Hello All,
    I recently modified the Kubrick theme and have finally gotten everything to work, except for some reason the background image (which is really just a color swatch jpeg) is not appearing. Can anyone tell me what the problem is?

    My Style.css has the following code, which has been all I needed in the past:

    /* Begin Typography & Colors */
    body {
    font-size: 62.5%; /* Resets 1em to 10px */
    font-family: Palatino Linotype, Book Antiqua, Palatino, serif
    background: #eaf9fe url(‘images/kubrickbgcolor.jpg’);
    color: #333;
    text-align: center;

    but I imagine it is being overridden by something else I did (without realizing it).
    Here is a link to the site, too, if that helps.

    Obviously I am a total amateur, so if you offer help please try to as specific and also as simple as possible. Many thanks in advance for your help and patience!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Currently, you have the following in header.php:

    body,td,th {
    	font-family: Palatino Linotype, Book Antiqua, Palatino, serif;
    	font-size: 12px;
    	color: #000;
    	background-image: url(images/backgroundcolor.jpg);
    	background-repeat: repeat;
    }

    The image url is incorrect or the image is simply missing.

    Thread Starter carlyrose

    (@carlyrose)

    Esmi,
    Thanks for the response. Sadly the url is correct and the image is there in the image folder, right where it should be. I just changed it back to the original “kubrickbgcolor.jpeg” just to be sure, and that one isn’t working either. Something is blocking it elsewhere. Argh. So frustrating. I was staring at code all weekend and just can’t figure this out.

    Try using an absolute image url instead of a relative one. Remember, this CSS is in the header – not within a .css file – and WP doesn’t handle relative urls very well.

    Thread Starter carlyrose

    (@carlyrose)

    THat sounds like a great idea! How do I switch it to absolute?

    Thread Starter carlyrose

    (@carlyrose)

    Esmi –
    I figured it out and it WORKED!!! Thank you sooooo much! Hurray. You’re a genius!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘background image not appearing in modified Kubrick’ is closed to new replies.