WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Thirteen
Change height of header in Twenty Thirteen (3 posts)

  1. alyssaLvan
    Member
    Posted 8 months ago #

    Hi there,

    I am fairly new to WordPress, so please be patient with me. I am working with a child theme of Twenty Thirteen and am trying to make the header image 1600 px x 288 px rather than the standard 1600 px x 230 px. I've followed a good deal of the advice in this thread (changed the css and the custom-header.php, adding the header as a bg img instead of through the header menu item etc) but nothing seems to work. Posting my CSS, header.php and custom-header.php here for reference . Please let me know if there are other things I can post for reference. Basically, I just want the header to display a taller image.

    Thanks!

    Alyssa

    [Excessive code removed - please use a pastebin to post that much code per the forum guidelines]

  2. agentbey
    Member
    Posted 7 months ago #

    Alyssa,

    Did you follow the instructions in the codex located here: http://codex.wordpress.org/Child_Themes

    I have reviewed your CSS and realized you might have missed a few steps. Basically, your Child Theme should appear like below. You are not required to copy the complete CSS style from the parent theme. Only make customizations in the the area indicated as seen below.

    Take a moment to review the instructions again.

    /*
     Theme Name:     Twenty Thirteen Child
     Theme URI:         http://example.com/twenty-thirteen-child/
     Description:        Twenty Thirteen Child Theme
     Author:               John Doe
     Author URI:         http://example.com
     Template:           twentythirteen
     Version:             1.0.0
    */
    
    /* =Imports styles from the parent theme
    -------------------------------------------------------------- */
    @import url('../twentythirteen/style.css');
    
    /* =Theme customization starts here
    -------------------------------------------------------------- */

    With that said you need to put a copy of the header.php and custom-header.php into your child theme folder. Perhaps you have already. Provided that you be editing these php files.

    I noticed that <header> is missing from the header.php.

    Hope this helps.

  3. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    Changing the header image size is a bit involved - please see this thread:

    http://wordpress.org/support/topic/massive-headers?replies=16

Reply

You must log in to post.

About this Theme

About this Topic