WordPress.org

Forums

Changing backround image (16 posts)

  1. eddie6937
    Member
    Posted 2 years ago #

    Can someone please help. My backround is solid black, but I want to add a backround image to my site. Here is the backround.

    http://www.dfwsportssource.com/wp-content/uploads/2013/01/floodlights.jpg

    I have tried adding it to my site and nothing. This is currently my CSS Codes.

    body {
    background: #000;
    background-image:none;
    }

    How do i add an image

    Eddie

  2. Daiv Mowbray
    Member
    Posted 2 years ago #

    body {
    background: #000;
    background-image:"../../uploads/2013/01/floodlights.jpg" no-repeat center center;
    }
  3. eddie6937
    Member
    Posted 2 years ago #

    I added it and nothing changed. No image

  4. Daiv Mowbray
    Member
    Posted 2 years ago #

    is this the page you want the background image on?
    if so your flickr background plugin may be part of the issue,
    /plugins/wp-flickr-background/pub-style.css.php?ver=1.2&h=bbec1a00a522fcb28051180dadf60585
    if your project is another location / domain, slip it to me ...
    can't see with my eyes closed.

  5. eddie6937
    Member
    Posted 2 years ago #

    How do i update the flicker backround. My site is DFWSportssource.com

  6. Web Designer Chicago
    Member
    Posted 2 years ago #

    use firebug to check the div tags.

  7. Daiv Mowbray
    Member
    Posted 2 years ago #

    the flicker background is some plugin which you must have installed.
    go to plugins and deactivate it if you don't know what it is or how to use it.

    WP Flickr Background allows you to display a random photo from Flickr or another source as the website background, without editing the theme.

  8. eddie6937
    Member
    Posted 2 years ago #

    I did add it, but still the image is not appearing.

  9. Daiv Mowbray
    Member
    Posted 2 years ago #

    you have this hard coded into the header:

    <style type="text/css">
    body {
    background: #000;
    background-image:uploads/2013/01/floodlights.jpg" no-repeat center;
    }
    </style>

    it should be:

    <style type="text/css">
    body {
    background: url(http://www.dfwsportssource.com/wp-content/uploads/2013/01/floodlights.jpg) no-repeat center #000;
    }
    </style>
  10. Daiv Mowbray
    Member
    Posted 2 years ago #

    I can't imagine why you would want to do this, you can't see the image, it's behind all the content. if you want it at the top change the second center to top. Still you really can't see it.

  11. eddie6937
    Member
    Posted 2 years ago #

    Thanks for your response. Where would I go to change the hard code in the header. I have been changing it in the Custom CSS box in the theme options. Also WHat I am actually looking for is an image to go at the right and left of the content. Kind of the like the image on http://www.milb.com/index.jsp?sid=t540 I wanted lights to be the backround or to have one on each side.

    Thanks

    Eddie

  12. WPyogi
    Forum Moderator
    Posted 2 years ago #

    If that's the code you added in the custom CSS -- the custom CSS is putting it in the header.php (which is fine). So go back to the custom CSS box and change it. You'll need to change the image (or modify it in a program such as photoshop) you are using to have it show on the sides of your page.

  13. Daiv Mowbray
    Member
    Posted 2 years ago #

    well then make the change in the Custom CSS box in the theme options.
    And use a larger image

  14. eddie6937
    Member
    Posted 2 years ago #

    OK, I changed the code and now it turned my backround to white and not black.

  15. eddie6937
    Member
    Posted 2 years ago #

    When I paste the code in its fine, but when I save the settings, it changes the code.. I dont know why its not saving the code right.

  16. eddie6937
    Member
    Posted 2 years ago #

    Does anyone have an idea on why the codes change after i save them.

    Thanks for all your help

    Eddie

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.