• Hello, I am trying to build a child-theme from the 2012 theme. you can look at the site here: http://parkin.silverfir.net/wordpress/ I am trying to move the header image to the upper right corner. Firebug has told me that the class for this image is .header-image:

    I think this is the proper style-rule:

    img.header-image {
    margin-top: 24px;
    margin-top: 1.714285714rem;
    border-radius:0;
    box-shadow:0 0 0 rgba(0,0,0,0);
    position:relative;top:100px;
    right:100px;
    )

    the header image has not moved

    any help would be appreciated!

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Your child theme isn’t set up correctly – the stylesheet should only contain changes, not a copy of the parent stylesheet – so start with this:

    /*
    Theme Name:     Twenty Twelve Child
    Theme URI:      http://example.com/
    Description:    Child theme for the Twenty Twelve theme
    Author:         Your name here
    Author URI:     http://example.com/about/
    Template:       twentytwelve
    Version:        0.1.0
    */
    
    @import url("../twentytwelve/style.css");

    Then your changes go after that.

    You’ll have to modify the header.php file to move the header image above the navigation.

    The changes in header.php file should be made in a copy of that file in the child folder. See:

    http://wordpress.org/support/topic/how-to-move-menu-below-header-image-in-twenty-twelve-theme?replies=40

    Thread Starter riseassist

    (@riseassist)

    Thank you, I have another question, I made change to the style sheet comment but when I upload the child theme It “says this child theme requires its parent theme 2012” this suggests to me that the path to the parent theme is incorrect. on my server the child theme is located above the parent theme. It should be directly below I have been try trying to move it but haven’t been able to I use Core FTP lite for FTPing does anybody know how I can move the child theme below the parent theme This is probably ridiculously basic question but its really giving me trouble.

    Thanks

    says this child theme requires its parent theme 2012

    That does not mean anything is wrong – it’s normal.

    The child theme goes on the SAME level as the parent theme:

    themes
       twentytwelve
       twentytwelvechild

    Your site/child theme looks fine now.

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

The topic ‘Moving header image 2012 child theme’ is closed to new replies.