WordPress.org

Ready to get started?Download WordPress

Forums

Sunspot
[resolved] Custom Header (4 posts)

  1. presidentejrt
    Member
    Posted 4 months ago #

    Hi, I would like to add a custom header right above the orange bar. Not to change the current header but add a larger header for title and back ground image.

  2. You'd first need to set up a child theme, so your tweaks won't be overwritten when updating the theme. Here are some guides in case you haven't made one before:

    http://codex.wordpress.org/Child_Themes
    http://op111.net/53/
    http://vimeo.com/49770088

    Once your child theme is set up, make a copy of header.php from the parent theme and place it in your child theme folder.

    Add an image tag referencing your header graphic between lines 53 & 54:

    <body <?php body_class(); ?>>
    <div class="sunstrip"></div>

    So it'll look something like this:

    <body <?php body_class(); ?>>
      <img id="mynewheader" src="http://path/to/your/image.png" alt="your alt text">
    	<div class="sunstrip"></div>

    If you want to apply some margin above or below your new header, you can apply CSS to this ID in your child theme's stylesheet: #mynewheader

  3. presidentejrt
    Member
    Posted 4 months ago #

    Excellent! Thanks for the help

  4. You're welcome. :-)

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.