Forum Replies Created

Viewing 1 replies (of 1 total)
  • Using the free version, I m trying to proceed with the child theme [as per the WP guidelines]. I am having a similar issue but with different setup.

    I have been able to activate the child theme from the appearance and it says that it is inheriting.

    If i try to put the enqueue code in the child functions.php, I m getting a 406 error Not available error: [screenshot].

    Upon debugging, if the function is removed, this error disappears.
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
    }
    ( although, removing this function generate another error display message about the missing callback of add_action which makes sense. )

    When the child function.php is empty, the site does load but some placements are disturbed. It means the parent CSS is still being loaded?

    Screenshots:
    Parent Site without child theme
    Child theme with blank function.php

    If you want to check the test site, it is available here until it is live.

Viewing 1 replies (of 1 total)