Skip to content
Help Center
  • Pricing
  • ProductsExpand
    • Premium PlansGet all the tools you need in one plan
    • Kadence ThemeLightning-fast performance theme for modern websites
    • Kadence BlocksDrop in ready designs with advanced controls for pixel perfect websites
    • Kadence Shop KitCreate a more effective WooCommerce shopping experience
    • Kadence ConversionsBoost sales and build engaged audiences with popups and banners
    • Kadence InsightsEasily create A/B tests. Optimize your pages to drive higher conversions.
    • View All Products
    • Get Kadence + Hosting
      In One Place

      Enjoy faster setup, top-tier performance, and worry-free WordPress hosting – Kadence Theme, Kadence Blocks, and Solid Security all pre-installed.

      Learn More

  • Kadence AI
  • Starter Templates
  • Blog
  • SupportExpand
    • Resource HubStart here for guides, Product docs, FAQs, and Troubleshooting tips, all in one place.
    • Contact SupportStuck on something? We’re here to help! Open a ticket for top-notch support.
    • Contact Our TeamGot pre-sales questions or need help choosing a plan? Open a ticket and our team will guide you.
    • About usCrafted with love in Missoula, Montana. Meet the team behind the mission.
Account Account
Get Kadence
Kadence Theme
  • Features
  • Pro
  • Starter Templates
  • HelpExpand
    • Documentation
    • Facebook Group
    • Submit a Ticket
    • Feature Requests
    • Roadmap
    • Changelog
Help Center
Kadence Theme

Getting Started

  • Installing the Kadence Theme
  • How to use the Kadence Theme Style Guide
  • Installing Kadence Starter Templates (Unlock AI and Pre-Designed Templates)
  • Getting Started with Kadence Site Assist
  • Starter Templates: AI Powered Vs Pre-Designed
  • Getting Started with a Pre-Designed Starter Template
  • Setting up Posts, Pages, and Archive Layouts in Kadence

Customize Settings

  • The Kadence Theme Performance Settings
  • How to use the Kadence Theme Color Palette
  • Typography Settings
  • How to Style Buttons in the Kadence Theme
  • How to Add a Sidebar
  • Sticky Sidebars
  • Page Layout Customizer Settings
  • Single Post Layout Customizer Settings
  • Archive Layout Customizer Settings
  • Kadence WooCommerce Customizer Settings
  • Understanding CSS Clamp and How It Works in the Kadence Theme
  • The Kadence Theme Breadcrumb Settings
  • How to add Scroll To Top
  • How to Enable Scroll to ID
  • How to Add an Author Box to Your Posts
  • Search Results Customizer Settings
  • How to customize the Kadence Footer
  • How to Import, Export, and Reset Kadence Theme Customizer Settings Using Starter Templates Plugin
  • How to Host Google Fonts Locally
  • How to Remove the Page Title in Kadence Theme
  • How to Enable the Kadence Lightbox Feature for Image Links

Header

  • How to Customize the Kadence Header
  • Kadence Classic Header Items
  • Customizing the Classic Header Navigation Colors (Default Header, Transparent Header, Sticky Header)
  • Editing a Row in the Header
  • Customizing the Mobile Navigation Area
  • Customizing the Topbar
  • Edit Dropdown Menu Styling
  • Social Media Icons in the Header
  • Working with the Sticky Header
  • How to Use a Transparent Header
  • Preventing the Theme Transparent Header from Overlapping Page Content

General WordPress

  • How to Change the Number of Posts Displayed on Your Blog Page in WordPress
  • How to specify different CSS styles for mobile, tablet, and PC layouts
  • Enabling ICO File Uploads in WordPress
  • How to Reset Your WordPress Website for Free
  • How to Create Patterns in WordPress (Reusable Blocks)
  • Understanding PHP Deprecated Notices on Your Site
  • How to create a staging website
  • Reserved Slugs and Terms
  • Using the WordPress Dashboard
  • How to Bulk Update Links and Text (Search & Replace)
  • How to Add a Featured Image to a WordPress Post
  • How to Regenerate Permalinks in WordPress
  • Simulating a Mobile Environment For Testing
  • How to Enable Categories and Tags for Pages
  • Set Site Favicon
  • How do I add Custom CSS
  • Adding Google Analytics
  • How To Backup Your WordPress Website
  • How to add a Custom Post Type
  • Fix: Page Not Updating
  • How to Find the Page or Post ID
  • How to prevent spam comments
  • How do I turn off comments?
  • How to Remove All Spam Comments

Troubleshooting

  • How to Reset Your WordPress Website for Free
  • Troubleshooting the “Updating page failed. You’re probably offline.” Error
  • How to Create a Screen Recording for Free
  • Website Favicon is missing on Google Search Results
  • How to Diagnose and Fix Common Google Ads Issues on your site
  • Fixing Mixed Content Errors in WordPress
  • How to resolve the ERR_HTTP2_PROTOCOL_ERROR console error?
  • Troubleshooting White/Blank Screens in the Editor or Customizer
  • Understanding PHP Deprecated Notices on Your Site
  • How to Download Previous Versions of the Kadence Theme and Plugins
  • Fix Starter Template Import Problems When Using Hostinger with Kadence
  • How to run the WordPress built-in database repair tool
  • Recommended Server Resources
  • Troubleshooting the “Update Failed: Service Unavailable” error when updating Pro Kadence WP plugins
  • How to Enable the WordPress Error Logs
  • WordPress Error “Incompatible Archive”
  • Temporarily Deactivating Plugins
  • How to View Console Log Errors
  • Clearing Your Website Cache
  • Getting 500 Errors
  • Broken Styles after version 1.1.15

Advanced

  • How to Use Category & Taxonomy Images with Kadence Dynamic Content
  • How To Add Custom Snippets with Code Snippets
  • Customizing Kadence Related Posts with kadence_related_posts_args Filter
  • How to Use a Post Grid/Carousel Block as Related Posts
  • Customize Pagination in Kadence Theme Using kadence_pagination_args
  • How to Enable Transparent Header on 404 Page
  • How to Customize the Kadence Comment Form
  • Add Thumbnails to Next/Previous Post Navigation
  • Adjusting the Kadence Theme’s scroll offset using a filter
  • Remove title tags on Kadence SVG Icons
  • Adding Kadence Breadcrumbs To Hooked Elements
  • Disable Default Kadence Theme Schema Markup
  • Adding Elements after Specified Paragraphs
  • Common Code Snippets for Kadence Users
  • How to translate using LocoTranslate
  • How to hook elements inside of post or page content
  • What is a Child Theme, Should I Install One, if so How?
  • Adding Custom Fonts to Kadence
  • How to make a custom 404 page
  • How to change a theme icon to something custom
  • Change Any Text on Your Site
  • Changing Various Heading HTML Tags
  • How to Display Custom Post Types with Kadence Template Elements
  • Adding Google Tag Manager with a child theme or code snippet plugin
  • Replace Author HTML (Multiple Author Support)
  • Theme hooks

Theme Kit Pro

  • Kadence Theme Kit Pro Plugin
  • How to create a Mega (multicolumn menu)
  • How to use Conditional Headers
  • Kadence Infinite Scroll
  • Kadence Maintenance Mode
  • How to add scripts in header/footer
  • How to use the Color Palette Switch (Dark Mode)
  • How to use Element Hooks
  • WooCommerce Addons
  • How to Add Icons to Your Classic WordPress Menu Items
  • Archive Custom Page Title Backgrounds (Kadence Theme Kit Pro)
  • Theme hooks
  • Header Addons
  • How to add contact information
  • How to add a toggle open menu for desktop
  • How to add a login and account Menu
  • Kadence Custom Fonts
  • How to open the side cart when a product is added to cart

Kadence Elements

  • How To Use Hooked Element Shortcodes
  • What are Kadence Hooked Elements?
  • Installing and Creating Kadence Elements
  • The Four Types of Kadence Elements
  • Kadence Element Settings
  • Kadence Content Section Hooked Elements
  • Kadence Template Hooked Elements
  • Kadence HTML Editor Hooked Elements
  • Kadence Fixed Section Hooked Elements
  • Switching between different Kadence Elements Types
  • Importing/Exporting Kadence Elements

Woocommerce

  • How to Track WooCommerce Cart Actions with JavaScript
  • How to add Extra/Payment Information to Your WooCommerce Product Pages
  • How to Add Image Switch on Hover for Product Archives
  • How to Add a Mini Cart to the Site Header
  • How to Change the WooCommerce Product Loop Title Tags

Hooked Element Guides

  • How to Use an Element to Replace the Archive Loop Item Content
  • How to Create a Custom Single Post Template with Kadence Hooked Elements
  • How to Create a Custom Archive Page Template with Kadence Hooked Elements
  • How to Replace Specific Posts’ Sidebar Content Using a Kadence Element
  • Programmatically Display Kadence Hook Elements
  • How to Design a Post Grid/Carousel using a Kadence Element
  • How to make a Dynamic Search Results Title in Kadence
  • Adding Kadence Breadcrumbs To Hooked Elements
  • How to Replace the Footer Using a Kadence Element
  • Home
  • Knowledge Base
  • Kadence Theme
  • Kadence Theme
  • Advanced

What is a Child Theme, Should I Install One, if so How?

A WordPress theme controls the overall appearance and layout of your website. It determines how your content pages (i.e. posts, pages, archives) are displayed. Oftentimes, themes may add additional features such as layout options, colors, fonts, and added functionality to WordPress.

Table of Contents
  • What is a Child Theme?
  • Do I Need a Child Theme?
  • When Do I Need a Child Theme?
  • Creating and Installing a Child Theme
    • Manually Create a Child Theme
    • Download a Pre-Made Child Theme
    • Installing a Child Theme ZIP File Using the WordPress Theme Installer
  • Migrating Your Existing Site Settings to a Child Theme
    • Exporting and Importing your Theme Settings
  • Loading Your Child Theme style.css File
  • Enqueuing Child Styles in the Block Editor

What is a Child Theme?

A child theme is a WordPress theme that inherits all of the qualities of a parent theme, and allows you to extend or customize the functionality of that parent theme. The parent theme can be a commercial theme, one you’ve developed yourself, or any one of the many free themes in the WordPress.org theme directory. And yes, you can create a child theme using the FREE Kadence theme as the parent theme!

Do I Need a Child Theme?

For simplicity and ease of use, Kadence has been developed to be customizable via the WordPress Customizer. Most users may not need to use a child theme when using Kadence. If you need to add a function or custom filter, we often suggest using a code snippets plugin.

When Do I Need a Child Theme?

There are a few scenarios when a child theme might be necessary:

  1. Custom theme functionality or styles. You may require advanced theme modifications that are not possible via the Customizer or by adding code snippets. These types of customizations would be used when you want to override certain parent theme functionality. Copying theme template files to your child theme or including specialized custom functions in the functions.php are common examples.
  2. Custom PHP-based page templates. If you want to create a custom PHP-based page template, you need to use a child theme. You can add the page-template-name.php to the child theme, and it will automatically register as a template option for your pages. You need to use a child theme for this so that your templates are not removed when the theme is updated.
  3. Custom plugin functionality. Many plugins allow you to override their built-in templates and/or functions. For templates, it’s common to copy the plugin templates to your child theme directory and customize the files there. Custom plugin functions can sometimes be included in your child theme functions.php file.

Creating and Installing a Child Theme

You can either manually create a child theme or download a pre-made child theme and install it using the WordPress theme installer.

Manually Create a Child Theme

To manually create a child theme, you can create a separate directory under /wp-content/themes/ at the same level of the parent theme (i.e. /wp-content/themes/kadence-child/). Typically you’ll start with two files, style.css and functions.php, but you can also add other customizations and/or files to a child theme if you like.

Resources:

  • WordPress has a document that explains how child themes work.
  • There are a number of plugins that will create a child theme for you based on the current active theme. These plugins can be removed once the child theme is created.

Download a Pre-Made Child Theme

To quickly get started, download a pre-built child theme zip file using the button below and install it using the WordPress theme installer.

Download Kadence Child Theme

Installing a Child Theme ZIP File Using the WordPress Theme Installer

In WordPress admin go to Appearance → Themes → Add New and click Upload Theme. Choose the kadence-child.zip file you just downloaded and click Install Now.

Click Activate. Congratulations! You have successfully installed and activated the Kadence child theme.

For a deeper look at when and why you might want to consider child themes versus the WordPress Customizer, we have a blog post that explores this further. 

Migrating Your Existing Site Settings to a Child Theme

Customizer settings are theme-specific. If you’ve already developed a site using Kadence and later realize that you need to use a child theme, you will need to re-apply your Customizer settings after switching to your child theme. 

Exporting and Importing your Theme Settings

If you’re using the Kadence theme, you can easily export and re-apply your settings to your child theme. To do so, you’ll need to install the FREE Kadence Starter Templates plugin. Once installed and activated, follow these steps:

  1. With your Kadence theme active, go to the Customizer, click Import/Export and export your settings. This will download a file to your hard drive that will say something like “kadence-theme-export.dat” 
  2. Go to Appearance → Themes and install and activate your child theme.
  3. Go back to the Customizer, click Import/Export. Go to Import and locate the kadence-theme-export.dat file on your hard drive and click “Import.”

Your Kadence Customizer settings should now be applied to your child theme.

Loading Your Child Theme style.css File

If you want to have the child theme enqueue your child theme style.css file, you can edit the child theme functions.php file and include a snippet such as the one below. The pre-built child theme already contains this snippet.

/**
 * Enqueue child styles.
 */
function child_enqueue_styles() {
	wp_enqueue_style( 'child-theme', get_stylesheet_directory_uri() . '/style.css', array(), 1.0 );
}

// add_action( 'wp_enqueue_scripts', 'child_enqueue_styles' ); // Remove the // from the beginning of this line if you want the child theme style.css file to load on the front end of your site.

Remove the // before the add_action, and your child theme style.css will be enqueued.

Note: To ensure your child theme style.css file loads after all others, edit the functions.php file and change the action priority to a number such as 999:

/**
 * Enqueue child styles.
 */
function child_enqueue_styles() {
	wp_enqueue_style( 'child-theme', get_stylesheet_directory_uri() . '/style.css', array(), 1.0 );
}

add_action( 'wp_enqueue_scripts', 'child_enqueue_styles', 999 );

Enqueuing Child Styles in the Block Editor

To maintain a true WYSIWYG experience in WP Admin, you may want to enqueue your child theme styles in the Block Editor. To do so, you can add the following snippet to your functions.php file:

// Enqueue child styles in the block editor
add_action( 'enqueue_block_editor_assets', function() {
    wp_enqueue_style(
        'child-theme-editor-styles', 
        get_stylesheet_directory_uri() . '/style.css', 
        array(), 
        1.0
    );
});

Keep in mind that you may need to add additional CSS selectors to your styles. For example, setting the color of an H2 block may require adding an additional selector (i.e. .editor-styles-wrapper):

h2, .editor-styles-wrapper h2 {
	color: red;
}

If you prefer to use a separate stylesheet for the Block Editor only (not used for the front-end), you can create a new file (i.e. editor-style.css) and enqueue that instead.

Do you feel this document was helpful?
How to hook elements inside of post or page contentAdding Custom Fonts to Kadence
The Kadence WP Logo
Crafted in Missoula, Montana
  • Follow Kadence on Facebook
  • Follow Kadence on Youtube
  • X
  • Follow Kadence on Instagram
Trustpilot
Products
  • Kadence Plans
  • Kadence Theme
  • Kadence Blocks
  • Kadence AI
  • Kadence Starter Templates
  • Kadence Shop Kit
  • Kadence Conversions
  • Kadence Pattern Hub
  • View All
Resources
  • Blog
  • Podcast
  • Knowledgebase
  • Support ticket
  • Feature Requests
  • FAQ
  • WordPress Hosting Services
About Us
  • About Kadence
  • Become an affiliate
  • Contact us
  • Terms
  • Privacy Policy
  • Security
Our Partner Brands
  • SolidWP
  • LearnDash
  • The Events Calendar
  • GiveWP
  • MemberDash
Kadence Community
  • Kadence Marketplace
  • Join the Facebook Group
  • Subscribe to our YouTube Channel
© 2024 Kadence WP | All prices are in USD
Logo for StellarWP an umbrella brand of Premium WordPress plugins
  • Pricing
  • Products
    • Premium PlansGet all the tools you need in one plan
    • Kadence ThemeLightning-fast performance theme for modern websites
    • Kadence BlocksDrop in ready designs with advanced controls for pixel perfect websites
    • Kadence Shop KitCreate a more effective WooCommerce shopping experience
    • Kadence ConversionsBoost sales and build engaged audiences with popups and banners
    • Kadence InsightsEasily create A/B tests. Optimize your pages to drive higher conversions.
    • View All Products
    • Get Kadence + Hosting
      In One Place

      Enjoy faster setup, top-tier performance, and worry-free WordPress hosting – Kadence Theme, Kadence Blocks, and Solid Security all pre-installed.

      Learn More

  • Kadence AI
  • Starter Templates
  • Blog
  • Support
    • Resource HubStart here for guides, Product docs, FAQs, and Troubleshooting tips, all in one place.
    • Contact SupportStuck on something? We’re here to help! Open a ticket for top-notch support.
    • Contact Our TeamGot pre-sales questions or need help choosing a plan? Open a ticket and our team will guide you.
    • About usCrafted with love in Missoula, Montana. Meet the team behind the mission.
Account Login
  • Features
  • Pro
  • Starter Templates
  • HelpExpand
    • Documentation
    • Facebook Group
    • Submit a Ticket
    • Feature Requests
    • Roadmap
    • Changelog