• Resolved Brooke H

    (@brooke-h)


    Hello, I’m a newbie to WP, and I’ve created a child theme, but for some reason the “menu” doesn’t display correctly? I’ve even tried activating different themes and changing the details on the child theme style.CSS file and it displays exactly the same “menu” error. Also it won’t load my page template or sidebar choice for the page either?

    I will put the child theme as active and leave it on my page so you can see how different it looks from what should be displayed. Please note that when I use the TwentyTwelve parent theme, it all displays correctly and looks fine. My site is:

    https://nakoda-enterprises.com/

    Thanks in advance ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Looking at this example…

    /*
    Theme Name: Twentytwelve Child
    Description: Child theme for the twentytwelve theme
    Author: Your name here
    Template: twentytwelve
    */
    
    @import url("../twentytwelve/style.css");

    …check your opening lines carefully. I believe what you are seeing is a result of the Parent’s Template not being called correctly.

    https://codex.www.ads-software.com/Child_Themes

    This is what is in your child theme style.css file — it’s not correct, obviously:

    1.
    /*.
    
     2.
    Theme Name: twentytwelve-child
    
     3.
    Theme URI: http: //www.nakoda_enterprises.com/
    
     4.
    Description: This is a custom child theme I have created
    
     5.
    Author: Brooke Hynch
    
     6.
    Author URI: http: //www.nakoda_enterprises.com/
    
     7.
    Template:twentytwelve
    
     8.
    Version: 0.1.
    
     9.
    */
    @import url("...twentytwelve/style.css");

    Remove all the numbering and fix the @import line – look at the syntax carefully- you have an extra elipsis and missing slash.

    Thread Starter Brooke H

    (@brooke-h)

    Awesome thanks heaps for this…I copied it off another site obviously not realising the line numbers shouldn’t have been in there! or for that matter that the import line was wrong too ??
    ….All fixed now – awesome thanks so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Child Theme Activates, but the header is all wrong?’ is closed to new replies.