Child for Chaplin
-
Hi,
First off thanks for such a great template! Im having a bit of an issue with creating a child theme.
functions.php ///////////////////////////
<?php
if (! defined(‘WP_DEBUG’)) {
die( ‘Direct access forbidden.’ );
}add_action( ‘wp_enqueue_scripts’, function () {
// This will load child style.css file
wp_enqueue_style(‘chaplin-child’, get_stylesheet_uri());
});style.css /////////////////////////////
/*
Theme Name: Chaplin Child
Description: Customised child theme for Chaplin
Author: n/a
Author URL: n/a.com
Template: chaplin
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ChaplinChild
*//* Write here your own personal stylesheet */
/* ——————————————————————————————— */
/* 11. Entry Content
/* ——————————————————————————————— */.entry-content {
line-height: 1.5;
/*max-width: 58rem;*/
}Im not able to make any changes in the child css that are reflected on the site.
Any help would be much appreciated, going nuts here.
Cheers
The topic ‘Child for Chaplin’ is closed to new replies.
