• Hi –
    where can i find the exact steps for creating a child theme for Virtue theme?

    My style.css file has nothing in it except for some lines describing the theme and the author, …

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • All you need is this in the style.css file:

    /*
    Theme Name: Virtue – Child
    Description: Child theme for Virtue.
    Author: ME
    Template: virtue
    Version: 1.0.0
    */

    Everything else is optional and depends on what your wanting to do.

    is there something specific your trying to do?

    Kadence Themes

    Thread Starter nellpour

    (@nellpour)

    I want to create a child theme as they say it’s a requirement to prevent losing the changes when we have themes updates.

    Now, i read that the two files, which are the styles.css and the functions.php need to be copied over to a newly created folder called “virtue-child”.

    1) I need to know what are the exact steps I need to take to create this child theme?

    2) and is there any changes I have to make in the “functions.php” file?

    Thank you so much for your help on this!

    Hey,
    If you are not planning to make any changes to template files then you don’t need a child theme. All your theme options are saved from update to update. You don’t need a child theme to have those.

    As for your questions.

    – You don’t need a functions.php file. If you do have one it should be empty not a copy from the parent theme.

    – The exact steps are make a folder, call is “virtue_child”
    Make a file. Call it “style.css”

    Add what I posted above and you have a child theme. You don’t need anything else.

    Kadence Themes

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Creating Virtue Child theme’ is closed to new replies.