Support » Theme: Hostmarks » Child Theme for Hostmarks?

  • Hey-

    I am having some trouble creating a child theme for hostmarks. I did everything as directed and it shows up in my themes but is not importing anything from the parent. I checked that the import url is correct and still no go.

    I am wondering if I am missing something. Is there anything that needs to be done different then the standard instructions given in the WP codex?

    Any help is appreciated.


Viewing 6 replies - 1 through 6 (of 6 total)
  • 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:
    Description: Hostmarks Child Theme
    Author URI:
    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() );
    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.]

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Child Theme for Hostmarks?’ is closed to new replies.