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

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you link your website & tell us what is your Child Theme folder name?

    Thread Starter BekBek20

    (@bekbek20)

    sparkling-child

    import url (../sparkling/style.css)

    for the theme name I copied everything at the top of the style in the parent folder

    Theme Author Silkalns

    (@silkalns)

    One thing is missing from style.css header why it doesn’t show up in theme preview:

    Theme Name: Sparkling Child

    Probably some more details are missing as well. But it is difficult to give you suggestion when we don’t see your code.

    Thread Starter BekBek20

    (@bekbek20)

    this is the cost.

    /*
    Theme Name: Sparkling-child
    Theme URI: http://colorlib.com/wp/themes/sparkling
    Author: Colorlib
    Author URI: http://colorlib.com/
    Description: Sparkling is a clean minimal and responsive WordPress theme well suited for travel, health, business, finance, design, art, personal and any other creative websites and blogs. Developed using Bootstrap 3 that makes it mobile and tablets friendly. Theme comes with full-screen slider, social icon integration, author bio, popular posts widget and improved category widget. Sparkling incorporates latest web standards such as HTML5 and CSS3 and is SEO friendly thanks to its clean structure and codebase. It has dozens of Theme Options to change theme layout, colors, fonts, slider settings and much more. Theme is also translation and multilingual ready. Sparkling is a free WordPress theme with premium functionality and design.
    Version: 1.1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: sparkling
    Domain Path: /languages/
    Tags: green, light, white, gray, black, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, photoblogging, left-sidebar, translation-ready, custom-background, custom-colors, custom-menu, featured-images, full-width-template, post-formats, theme-options, threaded-comments

    This theme, like WordPress, is licensed under the GPL.

    sparkling is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.

    */

    /* Table of content
    ———————————————–
    1. Global
    2. Content
    3. Post styling
    4. Singe Post/Page Pagination
    5. Media
    6. Widgets
    7. Buttons
    8. Infinite Scroll
    8. Custom Styles
    9. Navigation
    10. Comments
    11. Attachment styling
    12. Footer
    13. Social icons
    14. Call For Action
    */
    @import url(“../sparkling/style.css”);

    /*
    my works
    */

    Theme Author Silkalns

    (@silkalns)

    Add this line right after Author URI

    Template: sparkling

    Thread Starter BekBek20

    (@bekbek20)

    its still the same thing. i cant find it. in theme section

    this is the code now

    /*
    Theme Name: Sparkling-child
    Theme URI: http://colorlib.com/wp/themes/sparkling
    Author: sparkling
    Author URI: http://colorlib.com/
    Description: Sparkling is a clean minimal and responsive WordPress theme well suited for travel, health, business, finance, design, art, personal and any other creative websites and blogs. Developed using Bootstrap 3 that makes it mobile and tablets friendly. Theme comes with full-screen slider, social icon integration, author bio, popular posts widget and improved category widget. Sparkling incorporates latest web standards such as HTML5 and CSS3 and is SEO friendly thanks to its clean structure and codebase. It has dozens of Theme Options to change theme layout, colors, fonts, slider settings and much more. Theme is also translation and multilingual ready. Sparkling is a free WordPress theme with premium functionality and design.
    Version: 1.1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: sparkling
    Domain Path: /languages/
    Tags: green, light, white, gray, black, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, photoblogging, left-sidebar, translation-ready, custom-background, custom-colors, custom-menu, featured-images, full-width-template, post-formats, theme-options, threaded-comments
    
    This theme, like WordPress, is licensed under the GPL.
    
    sparkling is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.
    
    */
    
    /* Table of content
    -----------------------------------------------
    1. Global
    2. Content
    3. Post styling
    4. Singe Post/Page Pagination
    5. Media
    6. Widgets
    7. Buttons
    8. Infinite Scroll
    8. Custom Styles
    9. Navigation
    10. Comments
    11. Attachment styling
    12. Footer
    13. Social icons
    14. Call For Action
    */
    @import url("../sparkling/style.css");
    
    /*
    my works
    */
    Thread Starter BekBek20

    (@bekbek20)

    sorry this is the code

    /*
    Theme Name: Sparkling-child
    Theme URI: http://colorlib.com/wp/themes/sparkling
    Author: Colorlib
    Author URI: sparkling
    Description: Sparkling is a clean minimal and responsive WordPress theme well suited for travel, health, business, finance, design, art, personal and any other creative websites and blogs. Developed using Bootstrap 3 that makes it mobile and tablets friendly. Theme comes with full-screen slider, social icon integration, author bio, popular posts widget and improved category widget. Sparkling incorporates latest web standards such as HTML5 and CSS3 and is SEO friendly thanks to its clean structure and codebase. It has dozens of Theme Options to change theme layout, colors, fonts, slider settings and much more. Theme is also translation and multilingual ready. Sparkling is a free WordPress theme with premium functionality and design.
    Version: 1.1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: sparkling
    Domain Path: /languages/
    Tags: green, light, white, gray, black, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, photoblogging, left-sidebar, translation-ready, custom-background, custom-colors, custom-menu, featured-images, full-width-template, post-formats, theme-options, threaded-comments
    
    This theme, like WordPress, is licensed under the GPL.
    
    sparkling is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.
    
    */
    
    /* Table of content
    -----------------------------------------------
    1. Global
    2. Content
    3. Post styling
    4. Singe Post/Page Pagination
    5. Media
    6. Widgets
    7. Buttons
    8. Infinite Scroll
    8. Custom Styles
    9. Navigation
    10. Comments
    11. Attachment styling
    12. Footer
    13. Social icons
    14. Call For Action
    */
    @import url("../sparkling/style.css");
    
    /*
    my works
    */
    Thread Starter BekBek20

    (@bekbek20)

    i am made mistake in the code and i have corrected it. but it still the same.

    /*
    Theme Name: Sparkling-child
    Theme URI: http://colorlib.com/wp/themes/sparkling
    Author: Colorlib
    Author URI: http://colorlib.com/
    Template: sparkling
    Description: Sparkling is a clean minimal and responsive WordPress theme well suited for travel, health, business, finance, design, art, personal and any other creative websites and blogs. Developed using Bootstrap 3 that makes it mobile and tablets friendly. Theme comes with full-screen slider, social icon integration, author bio, popular posts widget and improved category widget. Sparkling incorporates latest web standards such as HTML5 and CSS3 and is SEO friendly thanks to its clean structure and codebase. It has dozens of Theme Options to change theme layout, colors, fonts, slider settings and much more. Theme is also translation and multilingual ready. Sparkling is a free WordPress theme with premium functionality and design.
    Version: 1.1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: sparkling
    Domain Path: /languages/
    Tags: green, light, white, gray, black, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, photoblogging, left-sidebar, translation-ready, custom-background, custom-colors, custom-menu, featured-images, full-width-template, post-formats, theme-options, threaded-comments
    
    This theme, like WordPress, is licensed under the GPL.
    
    sparkling is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.
    
    */
    
    /* Table of content
    -----------------------------------------------
    1. Global
    2. Content
    3. Post styling
    4. Singe Post/Page Pagination
    5. Media
    6. Widgets
    7. Buttons
    8. Infinite Scroll
    8. Custom Styles
    9. Navigation
    10. Comments
    11. Attachment styling
    12. Footer
    13. Social icons
    14. Call For Action
    */
    @import url("../sparkling/style.css");
    
    /*
    my works
    */
    Theme Author Silkalns

    (@silkalns)

    /*
    Theme Name: Sparkling Child
    Theme URI: http://colorlib.com/wp/themes/sparkling
    Author: Colorlib
    Author URI: http://colorlib.com/
    Description: Sparkling Child Theme
    Version: 1.2.0
    Template: sparkling
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: sparkling
    Domain Path: /languages/
    Tags: green, light, white, gray, black, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, photoblogging, left-sidebar, translation-ready, custom-background, custom-colors, custom-menu, featured-images, full-width-template, post-formats, theme-options, threaded-comments
    
    */
    
    @import url("../sparkling/style.css");

    Just copy/paste this code. This is what I use for my theme, if it doesn’t work for you then I can’t help you with that.

    You should understand that screenshot in theme preview will be blank because there is no screenshot if you haven’t uploaded it manually.

    And make sure that child theme folder is called sparkling-child

    Thread Starter BekBek20

    (@bekbek20)

    Thanks For you answer it worked

    Theme Author Silkalns

    (@silkalns)

    Everyone who might find this thread and gets stuck with technical things, you might want to download Sparkling sample Child Theme from here.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘having problem with child theme’ is closed to new replies.