WordPress.org

Forums

Sparkling
[resolved] having problem with child theme (12 posts)

  1. BekBek20
    Member
    Posted 1 year ago #

    After following the instructions here http://codex.wordpress.org/Child_Themes , I created the theme But when I went to appearance in the theme zone I can't find the child theme to activate.

    Please teach me if am wrong on how to activate it.

  2. Andrew
    Nuh uh moderator
    Posted 1 year ago #

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

  3. BekBek20
    Member
    Posted 1 year ago #

    sparkling-child

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

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

  4. Silkalns
    Member
    Theme Author

    Posted 1 year ago #

    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.

  5. BekBek20
    Member
    Posted 1 year ago #

    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
    */

  6. Silkalns
    Member
    Theme Author

    Posted 1 year ago #

    Add this line right after Author URI

    Template: sparkling

  7. BekBek20
    Member
    Posted 1 year ago #

    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
    */
  8. BekBek20
    Member
    Posted 1 year ago #

    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
    */
  9. BekBek20
    Member
    Posted 1 year ago #

    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
    */
  10. Silkalns
    Member
    Theme Author

    Posted 1 year ago #

    /*
    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

  11. BekBek20
    Member
    Posted 1 year ago #

    Thanks For you answer it worked

  12. Silkalns
    Member
    Theme Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.