Found the issue.
Was using child theme and didnt realise that functions.php had a peiece of code calling the css.
add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' );
function enqueue_parent_theme_style() {
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
if (is_rtl()) {
wp_enqueue_style( 'parent-rtl', get_template_directory_uri().'/rtl.css', array(), RH_MAIN_THEME_VERSION);
}
}
I had copied the functions.php from old child theme overwriting the code. Adding the above code back to functions.php resolved this issue.
Not sure why the developer is using code calling stylesheets in the child theme functions.php but all good.
Found the issue.
Was using child theme and didnt realise that functions.php had a peiece of code calling the css.
add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' );
function enqueue_parent_theme_style() {
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
if (is_rtl()) {
wp_enqueue_style( 'parent-rtl', get_template_directory_uri().'/rtl.css', array(), RH_MAIN_THEME_VERSION);
}
}
I had copied the functions.php from old child theme overwriting the code. Adding the above code back to functions.php resolved this issue.
Not sure why the developer is using code calling stylesheets in the child theme functions.php but all good.