Support » Theme: Twenty Seventeen » Can you share a fully functional child theme with me?

  • Resolved mattshepherd

    (@mattshepherd)



    If somebody out there has successfully created a child theme for Twenty Seventeen where “Theme Options” actually appear in the Appearance/Customize menu, would you mind posting a link to the code for both style.css and functions.php here?

    I’ve tried several methods for child themes, and no matter what I do, I wind up with either Theme Options disappearing, or some other minor disaster. I’ve disabled and re-enabled all plugins with no luck, and I’ve tried probably four different approaches to child themes at this point, including a child theme generator site and the WordPress Codex.

    A Pastebin link or similar text-sharing of style.css and functions.php for a child theme of Twenty Seventeen with Theme Options working under Appearance/Customize would be much appreciated!

Viewing 7 replies - 1 through 7 (of 7 total)
  • All you need to have in the child theme folder is the stylesheet file style.css and that just needs this:

    
    /*
    Theme Name: Twentyseventeen Child Theme
    Theme URI: https://wordpress.org/themes/twentyseventeen/
    Description: Child theme for Twentyseventeen
    Author: Your name here
    Author URI: https://yourdomain.com/
    Template: twentyseventeen
    Version: 1.0
    
    ******** The Child Theme CSS *******
    */
    
    @import url("../twentyseventeen/style.css");
    

    Make sure to use a plain text editor when editing files.

    Create the twentyseventeen-child folder in /wp-content/themes/ folder and add the style.css file.

    Activate the child theme (and then use the CSS Customizer for CSS edits).

    You do not need a functions.php file (if you add one, that file must be done all correctly). If you want to override a parent theme template file, download the file from parent, edit well, upload to same folder within child theme (same folder structure required).

    Thanks for the suggestion, but this doesn’t work.

    Following this to the letter, and without a functions.php file, there is still no “Theme Options” option in Appearance/Customize, even with no plugins running.

    I was hoping to have a child theme in Twenty Seventeen that preserves “Theme Options” under “Appearance/Customize”. With this style.css, “Theme Options” disappears.

    Is there any way to set up a child theme in Twenty Seventeen that preserves the “Theme Options” under Appearance/Customize?

    I suggest the “One Click Child Theme” to start you off. (http://terrychay.com/wordpress-plugins/one-click-child-theme)

    That worked! Thanks — I’ve been trying everything for days now.

    Muthu, thanks for that one – it is exactly what I was looking for. I can try css tweaks in the customizer on the fly and then cut/paste them into the editor if I’m happy with the changes to keep them from being added to the head.

    I just wanted to mention that I used the Child Theme Configurator plugin and it seems to work well. I chose this one over the One Click Child Theme plugin mentioned above because it seems to be updated more recently and has more downloads and slightly higher reviews.

    Child Theme Configurator Plugin

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can you share a fully functional child theme with me?’ is closed to new replies.