WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] My background won't show up (22 posts)

  1. rsengele
    Member
    Posted 4 years ago #

    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

  2. Andrei Olsen
    Member
    Posted 4 years ago #

    Check your .htaccess file.

  3. rsengele
    Member
    Posted 4 years ago #

    It's there but what am I looking for?

  4. Jason Verdelli
    Member
    Posted 4 years ago #

    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.

  5. rsengele
    Member
    Posted 4 years ago #

    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.

  6. Jason Verdelli
    Member
    Posted 4 years ago #

    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.

  7. rsengele
    Member
    Posted 4 years ago #

    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;}

  8. Andrei Olsen
    Member
    Posted 4 years ago #

    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/

  9. rsengele
    Member
    Posted 4 years ago #

    hmm...anyway to fix this?

  10. Jason Verdelli
    Member
    Posted 4 years ago #

    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.

  11. rsengele
    Member
    Posted 4 years ago #

    Still not working.

  12. Andrei Olsen
    Member
    Posted 4 years ago #

    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.

  13. rsengele
    Member
    Posted 4 years ago #

    Unfortunately, that didn't work either.

  14. Andrei Olsen
    Member
    Posted 4 years ago #

    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');

  15. Jason Verdelli
    Member
    Posted 4 years ago #

    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.

  16. rsengele
    Member
    Posted 4 years ago #

    That worked!

  17. rsengele
    Member
    Posted 4 years ago #

    So maybe if I put it in a different file?

  18. Jason Verdelli
    Member
    Posted 4 years ago #

    Ta-da!! You may want to contact your hosting company about why the image kept linking directly to freehostia.com, but I'm glad I could help you.

    Jason
    http://www.jasonverdelli.com

  19. Jason Verdelli
    Member
    Posted 4 years ago #

    Yes, maybe just use something like Photobucket for now. Anything that is not on the same host.

    I'll keep your file on my server so if you need to you can reference it :)

  20. rsengele
    Member
    Posted 4 years ago #

    So maybe if I put it in a different file?

  21. Jason Verdelli
    Member
    Posted 4 years ago #

    That might work as well. Any luck?

  22. rsengele
    Member
    Posted 4 years ago #

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic