If you are ready to create a child theme and start working on your theme, Child Theme Configurator might be a good way to start. Unless you want to manually create a child theme and have complete control over all files, this free plugin will help you create a child theme in just a few clicks.
This plugin allows you to create any number of child themes from your parent theme. It will give you the power to modify the style sheet and even preview changes before you choose to save them to a new file.
Child Theme Configurator
- Go to Plugins -> Add new
- Search for “Child Theme Configurator”
- Install the plugin and activate it
- Navigate to Tools -> Setting->Child Themes
Here you can find a few options which will give you the ability to create a child theme. Simply select the parent theme, write down a child theme name if you don’t want to use a standard one.
You can choose how to handle a style sheet file. If you’re not sure what each option represents, leave the default one on. You may choose to copy parent theme’s menus, widgets and other customizer options and backup current style sheet.
After you have created a new child theme, it is recommended that you test your child theme before you start making any changes. To do this, simply choose the child theme you have created and click on “live preview” link to make sure everything works fine and the theme does actually load.
If everything was ok, you are ready to modify the styling.
Style the child theme:
Now the fun part starts. If you’re like most of the people, the first thing you will want to do is change some colors and font sizes. For this example, let’s change the color for our links when on hover.
- Navigate to Rule/Value tab
- In the textbox, write “color”
- Choose “color” from the drop down menu
- On the list which appeared in front of you, search for the color of your current hover link
- Click on the “selectors” link
- Find a group with a:hover selector
- Choose a new color and save the changes
Now you can preview your changes by going to Appearance-> Themes and clicking on “Live Preview” under your child theme. If you have already activated your child theme, you can simply open your homepage or any page to see the changes.
Using Query/Selector tab:
This might be a good technique if you can find the color you want to change. But if you already know the selector you want to change, you can do that with the second tab Query/Selector. Most of the time, you will work with the “base” query unless you are changing options for specific @media options.
- Choose “base” for query
- In the Selector textbox, write down a selector you are trying to change
- In selector, write “comments” and choose a “.comments-title” selector
- Select a color and save changes
For example, let’s change a comments title color:
Here you have the number of rules from your parent theme which you can change or add a new rule. If your parent theme had a color selected, simply find the rule and change a color for the child theme. If not, under “new rule” type “color”. A new rule will be created and a color picker box will be shown.
How do you like creating child themes with Child Theme Configurator?