WordPress.org

Ready to get started?Download WordPress

Forums

adding background image to title (2 posts)

  1. zivrulez
    Member
    Posted 2 years ago #

    Hello. this is my website:
    http://1linkgames.co.cc/
    as you can see i'm using weaver II theme, and there is no header background image option there.
    all i could do is to add my desire image to the title image.

    i want the image to be under the title, but i cant do that.
    i tryed adding
    "<style type="text/css">
    html, body, div, span, iframe, wrap
    {
    background-image:url('http://1linkgames.co.cc/wp-content/uploads/2012/07/2.jpg');
    border: 0;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    }
    </style>"
    to the header-raw.php but it does nothing, and when i add this to the header.php it got all screwd up, the picture is cut and shown in many places.

    is the code i wrote the right code to add to make header background?
    if yes, where should i add it?

    Thank you very much

  2. leonmagee
    Member
    Posted 2 years ago #

    You should first 'view source' or use firebug to isolate the code that outputs the title. Then, in the style.css file, use selectors to only select this element:

    .specific_class_name_for_title
    {
    width:100px;
    height:30px;
    background-image...
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.