Viewing 2 replies - 1 through 2 (of 2 total)
  • There is [no longer] a specific child theme for Sparkling, but just as with any other theme, it’s easy to do you own.
    This is all there is, from the latest released basic child theme (I downloaded it 3 years ago):

    == style.css ==

    /*
    Theme Name: Sparkling Child
    Theme URI: https://colorlib.com/wp/themes/sparkling
    Author: Colorlib
    Author URI: https://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 and is available in Spanish. Sparkling is a free WordPress theme with premium functionality and design.
    Version: 2.5.0
    Template: sparkling
    License: GNU General Public License v2 or later
    License URI: https://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 https://underscores.me/, (C) 2012-2015 Automattic, Inc.
    
    */

    == functions.php ==

    <?php
    // Add your custom functions here
    
    // Queue parent style followed by child/customized style
    add_action( 'wp_enqueue_scripts', 'sparkling_enqueue_child_styles', 99);
    
    function sparkling_enqueue_child_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
        wp_dequeue_style('sparkling-style');
        wp_enqueue_style( 'child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array('parent-style')
        );
    }
    
    ?>

    and for completeness == readme.txt ==

    Install it like any other theme and active it via WordPress dashboard. You should have Sparkling theme side by side with Sparkling Child theme when attempting to enable this one.
    
    Thank you for using our themes!
    
    For more awesome themes please visit: https://colorlib.com/wp/themes/

    I also recommend you to take a look at the developers’ forum for topics not covered hree:
    https://colorlibsupport.com/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Child theme’ is closed to new replies.