Hi,
Regarding the build the child theme. I want to ask if this is a role that we can apply to all of the WordPress themes. Or is this only on Enfold theme?
Because I’ve checked all the tutorials and Chat GPT. All of them say you have to add a code to the functions.php file.
Anyway. you can close the ticket.
I appreciate your help!
Best regards,
Mohammad
I would like to thank you a lot!
Hi,
When I passed the code inside the Cotomize – additional CSS it works correctly.
But when I passed the code inside the CSS file. it did not work.
I used this code to build the child theme.
<?php
function enfold_child_theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
}
add_action( ‘wp_enqueue_scripts’, ‘enfold_child_theme_enqueue_styles’);