WordPress.org

Forums

Adding Logo to Weird Header (6 posts)

  1. benyb
    Member
    Posted 6 years ago #

    Hi,

    I'm trying to add a logo next to the title in my header. But the header code for this theme is a little strange to me. Would someone be able to tell me where to put the code into this header file? Here it is in pastebin: http://wordpress.pastebin.com/La13PdNX

    Any help is really appreciated!

    If you know a simple piece of code to put the logo in that would also be excellent.. :)

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    A link to your site would help.

  3. benyb
    Member
    Posted 6 years ago #

    Hey,

    I don't have the site up yet, I'm just fiddling with the theme files...I put the whole header code into that pastebin link though. I was thinking of adding this just before the <title> on the 6th line:

    <div id="logo">
    <img src="http://blahblah/images/image.jpg" alt="" height="66px" width="175" />
    </div>

  4. Michael
    Forum Moderator
    Posted 6 years ago #

    the code in the paste bin seems to stop when things are getting interesting...

    your code for the image/logo cannot go where you intend to put it, it has to be after the <body> tag;
    however without the full code of header.php, no one can tell you where exactly.

  5. benyb
    Member
    Posted 6 years ago #

    Thanks for the reply alchymyth. It's really weird - I don't have anymore header code..! Do you want me to attach the main stylesheet css?

  6. Michael
    Forum Moderator
    Posted 6 years ago #

    a link to your site or the name and download link of your theme might help.

    if the code is not in header.php, it is presumably in index.php (?)

    could you paste the code of index.php into a http://wordpress.pastebin.com/ and post the link to it here.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags