WordPress.org

Ready to get started?Download WordPress

Forums

Actual Code for header image (5 posts)

  1. andy3109
    Member
    Posted 7 years ago #

    I am using wp_head for my header. However, I can't do anything; align the headers image, surround a div around it, nothing! Is there anyway I can find the actual code where the <img src thing is? I say this because I want to make the header two cells (divs) and put content in the cell on the right and put the image on the left. Thanks in advance. Ver. 2.1.

    -andy

  2. GOBLUE14
    Member
    Posted 7 years ago #

    Presentation>Theme Editor from the admin panel. You should have a "header.php" file listed to the right that will have all that information in it.

  3. andy3109
    Member
    Posted 7 years ago #

    Nope..the header.php file merely calls wp_head()...and the wp_head() function doesn't do anything but add the header picture (somehow). I tried wrapping a <div align="left"> tag around wp_head but to no avail. Ideas?

    -andy

  4. GOBLUE14
    Member
    Posted 7 years ago #

    That's odd. I assume you've checked in the other .php files, in case they threw everything in one?

    Which theme are you using and what's the link to your site?

  5. jabecker
    Member
    Posted 7 years ago #

    wp_head doesn't have anything to do with what image is displayed. It's a function that goes in the html <head>. Putting <div> tags around it will not only do nothing, but is invalid. Most likely the image in the header is set in the CSS stylesheet for your theme. It would be applied to a tag in the <body>.

Topic Closed

This topic has been closed to new replies.

About this Topic