Error when creating child theme

Hello there,
The problem is the following, created a child theme. The contents of the style file.css:

/*
Theme Name:     Illdy
Theme URI:      https://colorlib.com/wp/themes/illdy/
Description:    Child theme for theme Illdy
Author:         
Author URI:     
Template:       illdy
Version:        0.1.0
*/

@import url("../illdy/style.css");
@import url("../illdy/layout/scss/main.scss");

After activation, the theme is not displayed correctly - screenshot1
But if you log on to the website, the theme is uploaded correctly

The console in Chrome gives 2 errors - https://goo.gl/GJ9zPE. Prompt how correctly to connect a child theme and topic.

Thank you!

the second day I…unsuccessfully :frowning:
Please help((

Even after turning define('WP_DEBUG', true); found the following problems in work:
/wp-content/themes/illdy/layout/scss/mixins

Hello there,

I hope you are doing well today.

I would recommend that you use the following plugin to create the child theme and copy over any files from the theme that you would like to edit:

Best Regards,
Support

Not working :frowning: Displayed are also not correct (as in the screenshot I sent.
Could throw the template in the child theme, which is connected to the main topic OK?
Day 3 sit can’t solve the problem.
• in manual - does not work
• using the plug-in does not work

Hello there,

This is quite strange.

Could you please deactivate any third party plugins that you have active to see if one of them may be affecting the theme?

Best Regards,
Support

no problem!
Now installed the plugin 1: Illdy companion

And activated a child theme (connected not through style.css -> @import, but through function.php):

The contents of the child theme files (illdy-child):

  1. screenshot.jpg
  2. style.css
    1. `/* Theme Name: Illdy Theme URI: https://colorlib.com/wp/themes/illdy/ Description: Child theme for theme Illdy Author: Aleksandr Yurchenko Author URI: http: //alexanderyurchenko.com/ Template: illdy Version: 0.1.0 */`
  3. function.php
    1. `<?php function my_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', 'my_theme_enqueue_styles' ); ?>`
As you can see, the theme is not working (sections not loaded) :(

website: alexanderyurchenko.ru

And really want to include a child theme, as the redesign on the local server I did almost completely and would like to implement on a finished project.
Hope only on your help, because I don’t know what it could be :frowning:

no problem!
Now installed the plugin 1: Illdy companion

And activated a child theme (connected not through style.css -> @import, but through function.php):

The contents of the child theme files (illdy-child):

  1. screenshot.jpg
  2. style.css
/*
Theme Name: Illdy
Theme URI: https://colorlib.com/wp/themes/illdy/
Description: Child theme for theme Illdy
Author: Aleksandr Yurchenko
Author URI: http: //alexanderyurchenko.com/
Template: illdy
Version: 0.1.0
*/
  1. function.php
<?php
function my_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', 'my_theme_enqueue_styles' );
?>

As you can see, the theme is not working (sections not loaded) :frowning:

website: alexanderyurchenko

And really want to include a child theme, as the redesign on the local server I did almost completely and would like to implement on a finished project.
Hope only on your help, because I don’t know what it could be :frowning:

Hello there,

I would recommend that you uninstall the theme then reinstall it with a fresh download and use the child theme configurator to create the child theme.

Link reference:

Best Regards,
Support

Yesterday, you recommended me this plugin. I have used - did not help! After creating the child theme using this plugin.
Activated child theme looks like now, simply put - does not work

So I asked to throw a file archive with child theme (created by the plugin) from You. Maybe I’m doing something not right (which I highly doubt).
As I tried yesterday various parameters of this plugin :frowning:

Hi there,
Thanks for keeping in touch with us.

Please remove the previous child themes and try uploading the one below:

I hope this helps :slight_smile:

Best Regards,
Support

Excellent, excellent, excellent :slight_smile:
It worked :slight_smile:
Thank you very much ?