• Resolved kathw

    (@kathw)


    Hi

    Total newbie here!

    I have created a child theme folder (twentyseventeen-child) in the themes folder.

    Inside the child theme folder, I have created a style.css file and a functions.php file.

    It looks like my style.css and functions.php file aren’t being called properly.
    What have I done wrong?

    
    functions.php file....
    add_action ("wp_enqueue_scripts", "theme_enqueue_styles");
    
    function theme_enqueue_styles() 
    {
         wp_enqueue_style ("parent-style", get_template_directory_uri() . "/style.css");
         wp_enqueue_style ("child-style", get_stylesheet_directory_uri() . "/style.css", array("parent-style"));
    }
    
    function hsl_breadcrumbs() 
    {   
    	...my code here (tested this function in main theme functions.php file and it works.
    }
    
    .style.css file....
    /*
    Theme Name:     	Twenty Seventeen Child Theme
     Author:         	KW
     Template:       	twentyseventeen
     Version:        	1.0.0
    */
    
    /* HSL Breacrumb Navigation  */
    .breadcrumb{
        width:645px;
        float:left;
        padding:0 0 0 47px;
        margin:9px 0 0 0;
        font-size:90%;
        clear:both;
    }
    
    .delimiter{
        color:#000;
        background-color:inherit;
    }
    
    .delimiter1{
        color: #627FC3;
        background-color:inherit;
    }
    
Viewing 16 replies (of 16 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Great, you didn’t waste anyone’s time here and I’m glad you got it resolved. If you had another issue please do ask ??

Viewing 16 replies (of 16 total)
  • The topic ‘Twenty Seventeen Child Theme Issue’ is closed to new replies.