storefront child theme broken
-
I know this topic has been kicked around ad nauseum, but I just can’t seem to find the answer I need. Using the Codex instructions I built a child theme for my Storefront parent theme, but I can’t get it to show up in Appearance>Themes. In my child folder I have 3 files: style.css, functions.php, and rtl.css. I coded them thus:
STYLE.CSS/* Theme Name: Storefront Child Theme URI: http://picklestreetcreations.com/PSC_E_com/ Description: Storefront Child Theme Author: WooThemes, with help from Nancy Bode Author URI: http://picklestreetcreations.com Template: storefront Version: 1.3.1 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments Text Domain: storefront-child */ @import url("../storefront/style.css"); @charset "UTF-8";FUNCTIONS.PHP
<?php 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') ); }RTL.CSS
/* Theme Name: Storefront Child Template: storefront */The only thing I found strange was that there was no closing ?> in the Codex php text, so I left it out of mine, too. Someone please help!
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
The topic ‘storefront child theme broken’ is closed to new replies.