child theme create width problem
-
After I created a child theme, I recieved a bug on chrome?
The site width is infinite.style.css is empty. only the first settings:
/*
Theme Name: PartiezT-Child
Theme URI: https://www.partiez.co.il/
Description: A PartiezT child theme
Author: Erez
Author URI: https://www.partiez.co.il/
Template: twentytwenty
Version: 1.0.0
*/<?php
/* enqueue script for parent theme stylesheeet */
function childtheme_parent_styles() {// enqueue style
wp_enqueue_style( ‘parent’, get_template_directory_uri().’/style.css’ );
}
add_action( ‘wp_enqueue_scripts’, ‘childtheme_parent_styles’);When I return to Twenty Twenty theme, the problem fixed.
When I return to child theme, the problem return.I also tried to created one more child theme, but the same problem.
Is there any idea what is the problem?
functions.php includeThe page I need help with: [log in to see the link]
- The topic ‘child theme create width problem’ is closed to new replies.