• Hi
    if i try to establish a childtheme i alsways get the error “Parent theme is missing. Please install parent theme “Emphasize”…”

    btw: Its not my first WP. Its not my first Childtheme and yes… i checke for case sensitivity and correct theme name

    What to do now?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    Good morning…Let’s begin with posting your stylesheet header info and then the code you used to grab the stylesheet(s).

    I know you said you’ve done this before, but just to ensure a couple things…

    1. the emphasize theme is installed
    2. in your child style.css, it does state: Template: emphasize

    As a side note…in testing this out on my local test site, I did discover one small issue with the bootstrap css file. The HTML has a font size of 10px which I need to change to 100%

    Hi bydlo,

    try to create a new style.css for a child theme with the following header.

    /*
    Theme Name: (Put here the name of your child theme. It will appear in wp-admin)
    Theme URI: https://#
    Author: YOUR NAME
    Author URI: https://#
    Description: Emphasize child theme
    Template: emphasize
    Version: 1.0
    License: GNU General Public License v3 or later
    License URI: https://www.gnu.org/copyleft/gpl.html
    Text Domain: (put here the text domain of your child theme)
    */
    
    @import url("../emphasize/style.css");

    it works for me.

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Thanks @schastnyy

    One suggestion for the style.css, it’ll be better to enqueue it in a child theme functions.php file like this instead of the inport method:

    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Childthemes not supported??’ is closed to new replies.