• Resolved rubberfishstudios

    (@rubberfishstudios)


    I would like to have a header placed in the space above the white body.
    I am not sure where to code in the new header. I have been looking for hours. I also, don’t know what the code should look like. I have a URL of the image I would like to use as my header.

    Here is the site: http://286.43a.myftpupload.com

    Please Help.
    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Are you using a child theme?

    Thread Starter rubberfishstudios

    (@rubberfishstudios)

    This is my first wordpress site. I started messing with the code and then later found out about child themes. I am currently not using a child theme. I am transiting to one. However, I would still like to know where to place the new header code so it is above the page not on the white of the page.

    Thanks!

    Make sure it’s in your child-theme or it will be erased with any theme updates.
    This would make the image clickable and link to the homepage.

    <div id="custom-logo"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><img src="LINK TO LOGO" /></a></div>

    You would place it just below the <body <?php body_class(); ?>> in the header.php file.

    Depending on the width you would need to style with css and would go in the style.css file:

    #custom-logo {
        margin: 0 auto;
    }
    Thread Starter rubberfishstudios

    (@rubberfishstudios)

    That is amazing!! Thank you. I can tweak most of it to do what I want with padding and margin.

    But for some reason it doesn’t want to
    align: center;

    what should I do?

    #custom-logo {
    text-align: center;
    }

    Thread Starter rubberfishstudios

    (@rubberfishstudios)

    batharoy, Can you help me with a child theme issue that I am having?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Theme: Twenty Twelve] adding a extra header’ is closed to new replies.