Support » Themes and Templates » One background not many. How to?

  • Hi again!

    I have a background that I use. I got it working ever so nicely. But am having trouble with the sidebar, footer and header all wanting a background laid on top. One icky way to solve this is to not have the images in the directory. But then I get error notices in my error log. I tried commenting out the whole background call. But that landed me with apparently the default images (I don’t know why). So then I put in all the same images. But of course now it doesn’t look smooth any more. Below is the code. How do I get it to not need any images? (Note I’ve got my background image in place, but I’d like it ignored so that the body background shows only.)

    ===============included text begins=======================
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/Background1.jpg”) repeat-y top; border: none; }
    <?php } else { // No sidebar ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/Background1.jpg”) repeat-y top; border: none; }
    <?php } ?>
    ==================included text ends====================

    Thank you in advance for whatever help or advice you can give me.

    PC Vener

Viewing 1 replies (of 1 total)
  • Never mind, I figured it out. See code below:
    =======================included code===============
    #page { background: transparent; border: none; }

    Unless, of course I’ve broken something else. 🙂 I’ll find out soon enough I think.

    blog is at: http://vener-art.com/beadblog/

    vener

Viewing 1 replies (of 1 total)
  • The topic ‘One background not many. How to?’ is closed to new replies.