• Hi, every one . Help me to resolve this issue.

    Did follow the instruction to create the wp-content>themes>-child. After that created the child>style.css file. I got the broken message in Dashboard>Apperance>themes

    Please help to resolve.

    Thanks in advance.

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

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What’s in your Child Theme style.css file?

    Thread Starter azizpermata

    (@azizpermata)

    Hi Andrew,

    This,

    /*
    Theme Name: Twenty Fourteen Child
    Theme URI: http: //autotopup.com.my/
    Description: Child Theme for the Twenty Fourteen
    Author: me
    Author URI: https://autotopup.com.my/about/
    Template: twentyfourteen
    Version: 1.0
    */
    @import url(“../twentyfourteen/style.css”);
    /*
    * Theme customization begins below this line */

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What’s your site? And what is the name of your Child Theme folder?

    Thread Starter azizpermata

    (@azizpermata)

    I did follow as in the wp documentation.

    My website, https://www.autotopup.com.my

    My folder, wp-content>themes>twentyfourteen-child.

    Originaly, the style.css without “* Theme customization begins below this line */, I added it up after looking on one of the advice in other thread.

    Please.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try deactivating all of your plugins to isolate the issue

    Thread Starter azizpermata

    (@azizpermata)

    I will do that from the WP Dashboard.

    Will come back shortly.

    Thread Starter azizpermata

    (@azizpermata)

    ok…what’s next. All the plugins deactivated.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Sorry it still looks like you have plugins active on your site. Do you have a caching plugin? If you do, you need to clear its cache through what ever setting it has and then deactivate it.

    Thread Starter azizpermata

    (@azizpermata)

    Andrew,

    Sorry, I don’t understand what do you meant by caching plugins..
    All the 18 plugins have been deactivated, except the widget left.

    Do you meant widgets too.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Okay, it looks like you do have all plugins deactivated.

    This is what WordPress is trying to load from your Child Theme style.css file: https://autotopup.com.my/wp-content/themes/twentyfourteen-child/style.css?ver=3.8.1

    WordPress can’t load your style.css file because there’s loads of irrelevant code in there. This is all the code that’s loading: https://pastebin.com/xgErwCaT

    Thread Starter azizpermata

    (@azizpermata)

    Ok. What should I do next. Looking at the Dashboard there’s still the broken message at the bottom of the Appearance>Themes.

    For my info, what cause all that?

    Pls advice.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    How did you create your style.css file?

    Thread Starter azizpermata

    (@azizpermata)

    I downloaded from the twentyfourteen>style.css to my pc and after changing the domain and URL, uploaded it back to child themes after created the twentyfourteen-child>stlye.css

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Remove all of the code in your Child Theme style.css file and replace it with this:

    /*
     Theme Name:   Twenty Fourteen Child
     Theme URI:    https://example.com/twenty-fourteen-child/
     Description:  Twenty Fourteen Child Theme
     Author:       John Doe
     Author URI:   https://example.com
     Template:     twentyfourteen
     Version:      1.0.0
     Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
     Text Domain:  twenty-fourteen-child
    */
    
    @import url("../twentyfourteen/style.css");
    
    /* =Theme customization starts here
    -------------------------------------------------------------- */

    See: https://codex.www.ads-software.com/Child_Themes#How_to_Create_a_Child_Theme

    Thread Starter azizpermata

    (@azizpermata)

    Andrew,

    For your info, here;s the Broken Message,

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.

    Name Description
    twentyfourteen-child Template is missing.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Child Theme broken’ is closed to new replies.