The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › WordPress: Changing the header
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:
// Get Main Navigation out of Theme Options
wp_nav_menu(array('theme_location' => 'main_navi', 'container' => false, 'echo' => true, 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'depth' => 0));
I’m assuming you mean the Blog name and stuff, which doesn’t appear to be in the code that you’ve provided.
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.
/" title="" rel="home">
background: url(logo.jpg) no-repeat left top;