Support » Theme: RestImpo » error when create a child of this theme

  • Hi I can’t use the chid of this theme, I create the style.css in the restimpo-child directory and add this line only:
    @import url(“../restimpo/style.css”);
    but the admin show an error:
    donĀ“t find the principal theme,

    How i can solve it?

Viewing 1 replies (of 1 total)
  • Theme Author TT Themes

    (@tomastoman)

    Hi,

    please try to add the following information at the start of your child theme’s “style.css”:

    /*
     Theme Name:   RestImpo Child
     Description:  RestImpo Child Theme
     Author:       Tomas Toman
     Template:     restimpo
     Version:      1.0.0
    */

    For including the parent stylesheet, you should use the “wp_enqueue_style” instead of the “@import”. Here you can find more information how to correctly include the parent stylesheet using the “wp_enqueue_style” in your child theme’s functions.php template.

    Best regards,
    Tomas Toman

Viewing 1 replies (of 1 total)
  • The topic ‘error when create a child of this theme’ is closed to new replies.