Forums

How to replace blog title with logo (6 posts)

  1. IanDavies
    Member
    Posted 4 months 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
    Member
    Posted 4 months ago #

    Site url?

  3. IanDavies
    Member
    Posted 4 months ago #

    Not published yet.

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

    Thanks.

  4. kennethwatt
    Member
    Posted 4 months ago #

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

    K

  5. IanDavies
    Member
    Posted 4 months 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
    Member
    Posted 4 months 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.

Reply

You must log in to post.

About this Topic