Putting an Image in my Header
-
I’m trying to figure out how to put an image in my header. I know XHTML/CSS, but I can’t understand how to modify the actual header page. I’d just put the image as BG image in CSS, but I want to put an actual clickable header image at the top.
I know where the Editor is. I see the files on the right side, but they’re all cryptic PHP pages. I can’t tell where to insert code. Am I just supposed to insert HTML tags above or below all the PHP jargon?
CODE:
<body <?php body_class(); ?>> <div id="page" class="hfeed"> <header id="branding"> <hgroup role="banner"> <h1 id="site-title"><span><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1> <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2> </hgroup> <nav id="access" role="navigation"> <h1 class="section-heading"><?php _e( 'Main menu', 'toolbox' ); ?></h1> <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'toolbox' ); ?>"><?php _e( 'Skip to content', 'toolbox' ); ?></a></div> <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> </nav><!-- #access --> </header><!-- #branding --> <div id="main">
I don’t have an Appearance > Header option because I’m using the theme toolbox. Does that mean I can’t have a header image in this theme? I’m having a hard time figuring out what’s pre-defined and user-defined coding.
If anybody can point me in a general direction on how to adapt I’d appreciate it.
- The topic ‘Putting an Image in my Header’ is closed to new replies.