WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] replace text in header with a custom image (5 posts)

  1. dimidc
    Member
    Posted 2 years ago #

    Hello everyone.

    I am working on a theme and I would like to replace the text in the header with an image.

    This is the header code.

    [ 89 lines of code moderated. For more than 10 lines of code please use pastebin.com instead. ]

    I would appreciate any help.

    Thanks in advance!

  2. govpatel
    Member
    Posted 2 years ago #

    add the code for the image in same div

  3. dimidc
    Member
    Posted 2 years ago #

    I tried to replace the text code with the code below but it did not worked.

    <img src="images/logo1.jpg" />

  4. dimidc
    Member
    Posted 2 years ago #

    i tried this code too but no luck

    <a>/"><img src="<?php bloginfo('template_directory'); ?>/images/logo1.jpgf" border="0" alt="XXX" /></a>

    got it from here
    http://wordpress.org/support/topic/how-to-insert-logo-into-blog-header?replies=5

  5. dimidc
    Member
    Posted 2 years ago #

    h1 class="logo"><a href="http://www.link.com" title="whatever">
                            <img style="margin: 0 auto" src="http://image7.png" alt="whatever"/>

    resolved

Topic Closed

This topic has been closed to new replies.

About this Topic