Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Child Theme #1412605

    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

    in reply to: Child Theme #1412518

    I would like to thank you a lot!

    in reply to: Child Theme #1412498

    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’);

Viewing 3 posts - 1 through 3 (of 3 total)