WordPress.org

Ready to get started?Download WordPress

Forums

Changing background on theme (4 posts)

  1. jonnysopotiuk
    Member
    Posted 1 year ago #

    Hi wordpress community,

    I'm hoping you can help me out. I've downloaded a theme for my self-hosted blog and I am trying to make a simple change to the background that the theme comes with. It is only a slight colour change to the background image the theme provided.

    I've edited the original image in photoshop, added the new file to the theme image folder, re-installed the theme and changed the style.css file to reflect the change. The new background image does not show up on my website and the background is now blank with the theme background colour showing. Any suggestions on what I'm doing wrong?

    Thanks in advance for your help.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Can you post a link to your site? It's often much easier to troubleshoot if we can look at what's going on live.

  3. jonnysopotiuk
    Member
    Posted 1 year ago #

  4. knaveenchand
    Member
    Posted 1 year ago #

    This is the css you need to edit:

    body {
    background-image:url(http://your-website.com/wp-content/uploads/your-image.png);
    background-repeat:repeat-x;
    }

    Two things:

    1. Try to give complete path of the image inside the bracket. if you have uploaded to your uploads folder, you can also see the path when you click on EDIT in your Media.
    2. Secondly, try to remove background-repeat:repeat-x; if you don't want your background to repeat.

    Hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Topic