WordPress.org

Support

Support » Themes and Templates » [Resolved] My background won’t show up

[Resolved] My background won’t show up

  • I set up my own theme, a theme I have used on another non-wordpress site and it worked, and my background won’t show up at all. Everything else does. What’s worse is that it was working a while ago, but just stopped at one point. I’ve tried everything I can think of.

    Here’s my site: http://blog.so-disco.net
    & Here’s what it’s supposed to look like: http://so-disco.net

Viewing 15 replies - 1 through 15 (of 21 total)
  • Check your .htaccess file.

    It’s there but what am I looking for?

    Hello,

    What you will need to do is go to your “style.css” page under Appearance then Editor.

    Look for this:

    body{
    background: url(images/bgr.gif) #B8CFEB repeat-y center;
    color: #000000;
    font: .8em Arial,Tahoma,Verdana,Helvetica,Sans-Serif
    }

    Upload your image file directly under the images folder. If this doesn’t work then try going to WP-CONTENT >>> THEMES >>> WHATEVER YOU THEME IS CALLED >>> STYLES >>> YOUR THEME NAME.CSS. You will then want to look into the .css file that you are currently running and look for something like “bgr” or just the words “background”.

    Let me know if this helps. If not, I’ll be sure to follow through to help you get it right.

    From what I can tell everything in the css should be correct.
    I’ve used the exact same css on a different site, it’s just once I tried to put it into wordpress that it stopped working.

    I’m looking at the .css right now, but need to see into the following location to find out if it is coded correctly:

    @import url(“http://blog.so-disco.net/wp-content/themes/stars/style.css”);

    Can you paste what is in there into a post? Thanks.

    body {background-image: url(‘http://blog.so-disco.net/wp-content/themes/stars/images/starbg.jpg’);
    color: #ffffff;
    font-family: georgia;
    font-size: 12pt;
    text-align: center}
    #container {background: transparent;
    margin-left: auto;
    margin-right: auto;
    text-align: left;}

    I’m not sure it’s a matter of missing file as the request to http://blog.so-disco.net/wp-content/themes/stars/images/starbg.jpg is getting redirected to: http://www.freehostia.com/

    hmm…anyway to fix this?

    Try taking out the following: “http://blog.so-disco.net” so you are only left with “/wp-content/themes/stars/images/starbg.jpg”

    Also, be sure that the file is actually uploaded to that exact folder. Please let me know if this works.

    Still not working.

    You could get it working if you’d use your old URL: http://so-disco.net/images/starbg.jpg or re-upload your image with the different name.

    But this won’t solve the redirect issue.

    Unfortunately, that didn’t work either.

    It did work, I can see your background now.
    EDIT: and now I don’t.

    Like I said, replace background-image: url('http://blog.so-disco.net/wp-content/themes/stars/images/starbg.jpg'); with background-image: url('http://so-disco.net/images/starbg.jpg');

    Try using the following image location:

    http://www.jasonverdelli.com/starbg.jpg

    I uploaded your background image on my server. Let’s let what it does.

    That worked!

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘[Resolved] My background won’t show up’ is closed to new replies.
Skip to toolbar