Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS WordPress: Changing the header

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36704
    Thomasmorel
    Member

    In wordpress I want to change the header. Now it’s just saying my name in the regular WordPress style, but i want to replace this by my logo i made (jpeg image). I don’t know how to change this.

    This the php code of the header:


    >





    <?php bloginfo('name'); if(is_home() || is_front_page()) { echo ' - '; bloginfo('description'); } else { wp_title(); } ?>





    >







    #96894
    TheDoc
    Member

    I’m assuming you mean the Blog name and stuff, which doesn’t appear to be in the code that you’ve provided.

    #96895
    monk18
    Member

    There a few of ways to do this…the first is probably the best method. The second one is a css trick/hack and should really only be used when a hack is absolutely necessary.


    1)
    /" title="" rel="home">

    2)
    a.logo{
    background: url(logo.jpg) no-repeat left top;
    text-indent: -9999px;
    }



    http://codex.wordpress.org/Function_Reference/bloginfo

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.