Support » Themes and Templates » background images

  • Probably old stuff, but:
    could someone state the basic steps in putting a backgroung image (i.e. texture) in the body div? I’ve tried various was but nothing seems to work. I use the absolute url ( Is that right?
    And: in the css, under body I use
    background-image: img src=””;
    I even tried putting it in the index.php, in the rap div.
    Nothing goes. So if you ever…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thanks Stev. but doesn’t work either. Probably some syntax error. 🙁

    Make sure the path to your image is correct ( relevant to where the CSS file lies). For example:
    site root> wordpress> my_blog> assets> mycss.css
    site root> wordpress> my_blog> assets> images> bkg> image.gif
    The CSS would read:
    body {
    background: url(images/bkg/image.gif) no-repeat top left; }
    The image and the CSS file both lie in the assets folder … so you just have to tell the CSS to look two folders “lower”, in the “images” and then “bkg” folder, for the background image.

    Thanks a lot gregor. Now everythig is ok. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘background images’ is closed to new replies.