Hi,
I am using NewsCard Free theme. I have created a child theme and just enqueued the parent theme style.css in functions.php. Nothing less nothing more. But the layout is broken.
Here is my style.css of child theme:
/*!
Theme Name: Shomobindu
Template: newscard
*/
Here is my functions.php of child theme:
<?php
function newscard_child_enqueue_styles() {
wp_enqueue_style(
‘newscard-parent-style’,
get_parent_theme_file_uri( ‘style.css’ )
);
}
add_action( ‘wp_enqueue_scripts’, ‘newscard_child_enqueue_styles’ );
?>
What is the wrong I am doing?
Regards.