Can you post the child themes css file please?
At this point, I took everything out and just stripped it to this basic template(below) until I can figure out whats up. I also tried putting the full path for the import url but there is no difference. Appreciate you taking a moment.
/*
Theme Name: Hostmarks Child
Theme URI: http://www.abhyasayogacenter.com/wp-content/themes/hostmarks-child
Description: Hostmarks Child Theme
Author: Hostmarks.com
Author URI: http://hostmarks.com/
Template: hostmarks
*/
@import url(“../hostmarks/style.css”);
/* =Theme customization starts here
——————————————————- */
That all looks good.
Have you tried activating it when its empty just too see if it shows while viewing page source?
Yes. I have tried activating it but all I get is content with no theme.
Thanks. This does point me in the right direction. Definitely a wp_enqueue_style issue. I’ve been researching it and I’m still a little lost as to the function that needs to be added and if it goes in the parent or child theme folder.
If you or anyone might be so kind to hook me up, I’d be much obliged
This is in the parent theme functions.php:
/**
* Enqueue scripts & styles
*/
if ( ! function_exists( 'hostmarks_custom_scripts' ) ) :
function hostmarks_custom_scripts() {
wp_enqueue_script( 'hostmarks_custom_js', get_template_directory_uri() . '/library/js/scripts.js', array( 'jquery' ), '1.0.0' );
wp_enqueue_style( 'hostmarks_style', get_stylesheet_uri() );
}
endif;
add_action('wp_enqueue_scripts', 'hostmarks_custom_scripts');
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]