Luthemes

· Themes & Plugins
  • Blog
  • Portfolio
  • Docs
  • Hosting
  • About

Child Themes

Generosity is a parent theme. If you want to change its styles or templates, create a child theme. Your changes live in the child theme, so updating Generosity never overwrites them.

Create the child theme

  1. In your wp-content/themes folder, create a new folder called generosity-child.
  2. Inside it, create a file called style.css.
  3. Add the following to the top of style.css:
/*!
 * Theme Name: Generosity Child
 * Theme URI: https://link-to-your-site.com
 * Description: Describe what your theme should be like.
 * Version: 0.1
 * Author: Your Name
 * Author URI: https://link-to-your-site.com
 * Template: generosity
 */

Template must be the parent theme’s folder name, generosity.

Activate it

Go to Appearance → Themes and activate Generosity Child. The parent theme’s styles load automatically, so your site looks exactly the same. Now add your own CSS below the header in style.css, and it will be applied on top of Generosity.

Keep Generosity installed

The child theme depends on Generosity, so leave Generosity installed, but not active, and keep it updated.

← Previous Generosity Settings Next → Getting Help

Generosity Docs

  • Overview
  • Installing Generosity
  • Customizing Generosity
  • Generosity Settings
  • Child Themes
  • Getting Help

← All theme docs

© 2026 Luthemes · Free themes for ClassicPress
Powered by Novaris · GitHub