WordPress.org

Support

Support » Themes and Templates » Insert Background and Header IMage

Insert Background and Header IMage

  • How and in which PHP or CSS file do I place a background image (currently in the theme’s images folder)?

    Secondly, What is the way to go about creating an imagemap for my header?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Generically speaking, you can add a background image via CSS

    For instance, your header is a div=”header”.

    #header { background: #EDEDED url(images/someimage.jpg) no-repeat}

    Notice I add a color and image, incase people are surfing with images turned off.
    But keep in mind, there are many tricks and tips to adding images as a background via CSS. I suggest looking at the Codex for more on CSS tutorials and info.
    http://codex.wordpress.org/CSS#CSS_Resources

    Okay. I went into the style.css file and it looks something like this (please note that background.jpg and navbar.jpg are the images Im trying to use and that are placed in the images folder):

    edit: please do not post long code like an entire style sheet. A link to the site or style sheet will suffice

    Thats a damm long post, but try this one

    #header { background: #000000 url(images/background.jpg) no-repeat}
    }

    Make a image in a photoshop program. Look at the size, and name it.
    Upload the image to your theme/image folder, and adjust the name (when changed) in your CSS file

    red-star….but where does this go?

    -kat

    Edit: I had a feeling you guys might have a problem with that. I couldnt very well attach the file to this post.

    Here is a link to the php files:

    http://www.ladyleopardess.com/ljstuff/wordpress/

    bump

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Insert Background and Header IMage’ is closed to new replies.
Skip to toolbar