• Resolved Esti Meisels

    (@estimeisels)


    I used the Child Theme Configurator plugin to make a child theme from my Hello Elementor theme.

    No CSS is pulling from the stylesheet there. And the php file looks all good. What went wrong?

    here’s the default php that I’m using (have it on a different hello elementor site and it works perfectly with this code)

    if ( !function_exists( ‘chld_thm_cfg_locale_css’ ) ):
    function chld_thm_cfg_locale_css( $uri ){
    if ( empty( $uri ) && is_rtl() && file_exists( get_template_directory() . ‘/rtl.css’ ) )
    $uri = get_template_directory_uri() . ‘/rtl.css’;
    return $uri;
    }
    endif;
    add_filter( ‘locale_stylesheet_uri’, ‘chld_thm_cfg_locale_css’ );

    if ( !function_exists( ‘child_theme_configurator_css’ ) ):
    function child_theme_configurator_css() {
    wp_enqueue_style( ‘chld_thm_cfg_child’, trailingslashit( get_stylesheet_directory_uri() ) . ‘style.css’, array( ‘hello-elementor’,’hello-elementor’,’hello-elementor-theme-style’,’hello-elementor-header-footer’ ) );
    }
    endif;
    add_action( ‘wp_enqueue_scripts’, ‘child_theme_configurator_css’, 10 );

Viewing 1 replies (of 1 total)
  • Plugin Author lilaeamedia

    (@lilaeamedia)

    This looks like the standard setup with no parent stylesheet being pulled into the queue.

    In this case please go to https://www.lilaeamedia.com/contact where you can enter more information about your site and setup and we can continue this discussion there.

    Thanks,

Viewing 1 replies (of 1 total)
  • The topic ‘Hello Elementor Child Theme css not showing’ is closed to new replies.