WordPress.org

Ready to get started?Download WordPress

Forums

Grisaille
Creating child theme (5 posts)

  1. Nice_one
    Member
    Posted 1 year ago #

    Hi Nudge
    Thanks for this great theme very easy to use and so beautiful.
    I want to make child theme and make view changes in the style. I don't want to change in the main stylesheet that's wont be good. When I made the child theme I got this message:
    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    There is something funny happening to be honest. When I tried it on my localhost the child theme worked fine, but when I uploaded it to my server didn't work.
    Could you please help me with your advice what shall I do?

    Thanks again for this Great theme and thanks in advanced for reading this.

  2. Nice_one
    Member
    Posted 1 year ago #

    Sorry I forgot to mention that I put this in my child theme

    /**
    
      Theme Name: Grisaille_child
      Theme URI: http://grisaille.nudge.ca/
      Version: 1.5.1
      Author: Nudge Design
      Author URI: http://www.nudgedesign.ca
      Tags: featured-images, custom-background, custom-header, custom-menu, two-columns, fixed-width, right-sidebar, gray, blue, light, sticky-post,theme-options, threaded-comments, translation-ready, editor-style
      License: GNU General Public License v2.0
      License URI: http://www.gnu.org/licenses/gpl-2.0.html
      Description: A classic and simple two-column design adjusted for mobile browsing. Latest post will display larger image when inserted with post thumbnail/featured image option. Twitter and Facebook links available via the theme's option page, as well as customizable menu, header image and background. It's pronounced "griz-eye".
    
    */
    
    @import url("../Grisaille/style.css");

    do I need to add anything else?
    Thanks

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Yes, you need the "template" line in the header part - see

    http://codex.wordpress.org/Child_Themes

    /*
    Theme Name:     Twenty Twelve Child
    Theme URI:      http://example.com/
    Description:    Child theme for the Twenty Twelve theme
    Author:         Your name here
    Author URI:     http://example.com/about/
    Template:       twentytwelve
    Version:        0.1.0
    */

    It must be identical (including caps or not as the name on the parent theme folder. Ditto the @import line url

  4. Nice_one
    Member
    Posted 1 year ago #

    Hi WPyogi. Thanks for your help.
    I just changed it to this

    /*
    Theme Name:     Grisaille Child
    Theme URI:      http://example.com/
    Description:    Child theme for the Grisaille theme
    Author:         Nice_one
    Author URI:     http://Grisaille.com/about/
    Template:       Grisaille
    */
    @import url("../Grisaille/style.css");

    and still not working it works on my localhost but it doesn't work on the server it says:
    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    Name Description
    Grisaille Child The parent theme is missing. Please install the "Grisaille" parent theme.
    Thanks

  5. reo
    Member
    Posted 1 year ago #

    The path you have under @import to the parent theme has "Grisaille” instead of “grisaille.” When I decompress the parent-theme it has a lower-case g. You could try changing the g to lower-case.
    This may sound silly, but I say it just in case: you did install the grisaille parent-theme too, yes?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.