• Hi, I am curently trying to make a child theme for Rara Clean Theme ,tho unsuccesfully. I have made a child theme before, but for this one, it seems like it is not loading the parent theme ( I guess ). Can you guys help me?

    Link to my site

    Child style.css :

    /*
    Theme Name: rara-clean
    Theme URI: https://example.com/rara-clean/
    Description: This is Rara CLEAN Child Theme
    Author: manubmxnsb
    Author URI: https://www.raratheme.com/
    Template: rara-clean
    Version: 1.6
    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org/licenses/gpl-2.0.html
    Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
    Text Domain: rara-clean-child
    */

    functions.php code:

    <?php
    function theme_enqueue_styles() {

    $parent_style = ‘parent-style’;

    wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘child-style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array( $parent_style )
    );
    }
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    ?>

Viewing 1 replies (of 1 total)
  • Hi, manubmxnsb. Is the parent theme folder named “rara-clean” or something else? The template has to be the exact name of the parent theme folder. You may have checked this; just making sure.

Viewing 1 replies (of 1 total)
  • The topic ‘Child Theme not loading parent theme’ is closed to new replies.