Home Forums WoodMart support forum Issue with Child Theme (404)

Issue with Child Theme (404)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #207099

    axxo
    Participant

    Hey there,

    I’m facing an issue with my child theme. In the developer console I can see the following 404 trying to load my style.css:

    https://share.getcloudapp.com/bLujxyZg

    This is the code in my functions.php file placed in the child theme folder:

    
    /**
     * Enqueue script and styles for child theme
     */
    function woodmart_child_enqueue_styles() {
        wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( 'woodmart-style' ), woodmart_get_theme_info( 'Version' ) );
    }
    add_action( 'wp_enqueue_scripts', 'woodmart_child_enqueue_styles', 10010 );
    

    Many thanks for your help.

    Kind regards
    -a

    #207155

    Hello,

    Are there any errors when you delete this code? You need to check the code and make it valid to avoid errors. Our support does not cover checking the third parties’ code.

    Best Regards

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