Home Forums WoodMart support forum Child theme CSS not loading

Child theme CSS not loading

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #476700

    Alex
    Participant

    Child theme CSS is not loaded.

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

    #476784

    Luke Nielsen
    Keymaster

    Hello,

    Is there any chance that you could give me access to the dashboard area so I can have a look at the settings on your website, please?

    Kind Regards

    #477055

    Alex
    Participant

    Hello Luke, here are the credentials:

    I have added the CSS to the custom CSS tab of Woodmart as well for it to work but that is not optimal.

    #477197

    Luke Nielsen
    Keymaster

    Hello,

    I have applied that code: https://prnt.sc/tSyjx5qXiRo3 and as we can see here: https://prnt.sc/k1q251r2XyTM it is working.

    Also, you can open the child’s CSS via the link and see that the code is applied as well: https://prnt.sc/_cNM0_iID9qZ

    Kind Regards

Tagged: 

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