WordPress.org

Ready to get started?Download WordPress

Forums

Frau
[resolved] Child Theme (3 posts)

  1. lmwatts
    Member
    Posted 6 months ago #

    Very nice theme, thanks!

    I am trying to create a child theme so I can customize my site and after adding the styles.css to the frau-child theme folder, I am getting an error that I am missing a file (forgot exact wording. After adding several files from the original frau theme folder, I realized it was the index.php file and the child theme was available to activate.

    Once I activated the child theme the site broke. Is there some file that I am missing from the frau-child theme folder that should be added. I have most of the files in the original folder (including the functions.php) in the child theme folder and my style sheet is as follows:

    /*
    Theme Name: Frau-Child
    Theme URI: http://lizardthemes.com/frau/
    Version: 1.0.0
    Description: Child Theme for Frau
    Author: Lizard Themes
    Author URI: http://lizardthemes.com
    Template: frau
    */
    @import url("../frau/style.css");

    /* Below you can write your style */

    thanks in advance!

  2. batharoy
    Member
    Posted 6 months ago #

    Don't copy the original files over. Your child-theme folder should only have a style.css with the info you posted above. Don't copy the style.css from the parent folder, it is used to overwrite any changes you want made.

  3. lmwatts
    Member
    Posted 6 months ago #

    Thanks for the quick reply. That was was I did originally and had some issues which was the reason I began adding other files. After removing the files all seems to be well.

    Thanks batharoy!

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.