Comments David started the conversationAugust 18, 2020 at 8:51amThe Theme is ignoring the style.css in the child theme?Please advise 1,833Support Agent 1 repliedAugust 18, 2020 at 8:59amHi David, If you are using child theme, in order to have the CSS from the child theme apply to the site, please try adding the following code to your child theme's functions.php file. <?php function my_theme_enqueue_styles() { $parent_style = 'shopscape-style'; wp_enqueue_style( $parent_style, get_parent_theme_file_uri( 'style.css' ) ); wp_enqueue_style( 'child-style', get_theme_file_uri( 'style.css' ), array( $parent_style ), wp_get_theme()->get('Version') ); } add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); ?> Let us know if that helped. Regards, BoldThemes team If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance! Sign in to reply ...
The Theme is ignoring the style.css in the child theme?
Please advise
Hi David,
If you are using child theme, in order to have the CSS from the child theme apply to the site, please try adding the following code to your child theme's functions.php file.
Let us know if that helped.
Regards, BoldThemes team
If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!