[resolved] Custom Header (4 posts)

  1. presidentejrt
    Posted 2 years 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:


    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
    Posted 2 years ago #

    Excellent! Thanks for the help

  4. You're welcome. :-)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.