How to replace blog title with logo (6 posts)

  1. IanDavies
    Posted 7 years ago #

    I am using the Carrington theme and would like to replace the blog's title with a logo.

    Can anyone help please?

    Thanks in advance.

    Ian D

  2. esmi
    Forum Moderator
    Posted 7 years ago #

    Site url?

  3. IanDavies
    Posted 7 years ago #

    Not published yet.

    I just need to know what code to remove/insert.


  4. kennethwatt
    Posted 7 years ago #

    Open header.php, change the title text, or the bloginfo string to an <img src...


  5. IanDavies
    Posted 7 years ago #

    Thanks for that.

    Only one problem...

    I need to know exactly what to remove and how to replace it.

    I already have the logo that's no problem, but I ain't no coder! :)

  6. lgh529
    Posted 7 years ago #

    I haven't looked at your theme, but in the header.php file there will be call to bloginfo('name'). That is what prints out the blog title text. It should be wrapped in an 'a' tag that calls bloginfo('url'). You would probably take out the following: <?php bloginfo('name'); >? and replace it with <img src="path_to_image" title="the_title">. You will probably not want to take out the call for the url, unless you don't want it to be a link.

Topic Closed

This topic has been closed to new replies.

About this Topic