The Houzez theme includes a child theme, which is a separate theme that inherits the functionality of the main theme (also known as the parent theme). Child themes are used to make customizations to a theme without modifying the main theme's code.
Using a child theme has several benefits:
- Customizations are preserved: When you make customizations to the main theme, they will be lost if you update the theme. By using a child theme, your customizations are preserved even when you update the main theme.
- Easy to use: The child theme comes with a pre-configured "style.css" file, so you can easily add your own styles to the theme without having to create the file from scratch.
- Safe and secure: If you make customizations directly to the main theme, you risk breaking the theme or making it vulnerable to security issues. By using a child theme, you can make customizations safely without affecting the main theme.
To use the child theme, you will need to install and activate it on your WordPress website, just like you would any other theme. You can then make customizations to the child theme's "style.css" file or create new templates using the main theme's templates as a starting point.
Install the Child Theme
Navigate to Appearance > Themes and click on Add New or Add New Theme as displayed in the image below.
Click on Upload Theme and Choose File,
Select houzez-child.zip – This is the child theme you to upload and activate
Be sure the child theme is active under Appearance > Themes
Edit the Child Theme
Navigate to Appearance > Editor and select the theme to edit.
To add your custom CSS code select styles.css, add the code in the editor and Update File.