• Resolved ian277

    (@ian277)


    Hi All,

    I’ve started a new thread regarding my problem with the twenty twelve child theme. I can’t get the style css to upload and I can create a child theme but it has no style. I’ve done everything I could think of to fix this problem but can’t seem to get it working.

    https://www.projectforthekids.com

    This was provided for me by esmi –

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    /*
    Theme Name: Twenty Twelve Child
    Version: 1.0
    Theme URI: https://quirm.net/themes
    Description: A basic starter child theme for Twenty Twelve
    Author: Mel Pedley
    Author URI: https://blackwidows.co.uk
    Template: twentytwelve
    License: GNU General Public License v2
    License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    */
    
    /* Import layout */
    @import url(../twentytwelve/style.css);

    Any thought’s on what the issue could be?

    Thanks.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I see this error

    Failed to load resource: the server responded with a status of 404 (Not Found) https://www.projectforthekids.com/wp-content/themes/twentytwelvechild/twentytwelve-child2/style.css?ver=3.4.2

    Your Child Theme should only be within this directory;

    /wp-content/themes/

    Thread Starter ian277

    (@ian277)

    Thanks, I’ve uploaded it directly to the /wp-content/themes/ and it shows up on my dashboard, but still no style.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you resolved the issue?

    Thread Starter ian277

    (@ian277)

    Hi Andrew,

    No I haven’t. I’ve created multiple twenty twelve child theme folders and uploaded a few times and haven’t been able to get the twenty twelve style. I’ve successfully created twentyeleven and twentyten child themes but I haven’t been able to get the style.css for twentytwelve.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I’m seeing the first error again.

    Thread Starter ian277

    (@ian277)

    Any recommendations?

    I’m using cyberduck and uploading the style.css to a twentytwelve child folder under wp/content, themes – Not sure what I’m doing wrong here.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What is inside your twentytwelve child folder?

    Thread Starter ian277

    (@ian277)

    Style.css –

    /*
    Theme Name: Twenty Twelve Child
    Version: 1.0
    Theme URI: https://quirm.net/themes
    Description: A basic starter child theme for Twenty Twelve
    Template: twentytwelve
    */

    /* Import layout */
    @import url(“../twentytwelve/style.css”);

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you just confirm the directory of your Child Theme?

    Thread Starter ian277

    (@ian277)

    wp-content/themes/twentytwelve child.

    Is that what you’re referring to?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Yes, remove the space in your directory name.

    Thread Starter ian277

    (@ian277)

    Holy Cripes! You did it!

    I’ve got the child theme up now. I didn’t realize that the folder name had an influence on the style.css.

    I’m all good now. Thanks Andrew!

    Marking this as resolved.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Twenty Twelve Child issue’ is closed to new replies.