WordPress.org

Forums

[resolved] Twenty Twelve Child issue (13 posts)

  1. ian277
    Member
    Posted 2 years ago #

    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.

    http://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: http://quirm.net/themes
    Description: A basic starter child theme for Twenty Twelve
    Author: Mel Pedley
    Author URI: http://blackwidows.co.uk
    Template: twentytwelve
    License: GNU General Public License v2
    License URI: http://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.

  2. Andrew
    Forum moderator
    Posted 2 years ago #

    I see this error

    Failed to load resource: the server responded with a status of 404 (Not Found) http://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/
  3. ian277
    Member
    Posted 2 years ago #

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

  4. Andrew
    Forum moderator
    Posted 2 years ago #

    Have you resolved the issue?

  5. ian277
    Member
    Posted 2 years ago #

    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.

  6. Andrew
    Forum moderator
    Posted 2 years ago #

    I'm seeing the first error again.

  7. ian277
    Member
    Posted 2 years ago #

    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.

  8. Andrew
    Forum moderator
    Posted 2 years ago #

    What is inside your twentytwelve child folder?

  9. ian277
    Member
    Posted 2 years ago #

    Style.css -

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

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

  10. Andrew
    Forum moderator
    Posted 2 years ago #

    Can you just confirm the directory of your Child Theme?

  11. ian277
    Member
    Posted 2 years ago #

    wp-content/themes/twentytwelve child.

    Is that what you're referring to?

  12. Andrew
    Forum moderator
    Posted 2 years ago #

    Yes, remove the space in your directory name.

  13. ian277
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic