{"id":2625,"date":"2019-04-20T19:26:50","date_gmt":"2019-04-20T19:26:50","guid":{"rendered":"http:\/\/docs.creativegigs.net\/docs\/rogan-wordpress-theme-documentation\/faqs\/how-to-customize-theme-using-child-theme\/"},"modified":"2019-04-20T19:26:50","modified_gmt":"2019-04-20T19:26:50","slug":"how-to-customize-theme-using-child-theme","status":"publish","type":"docs","link":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/how-to-customize-theme-using-child-theme\/","title":{"rendered":"How to customize theme using child theme?"},"content":{"rendered":"\r\n<h2 class=\"wp-block-heading\" id=\"overriding-parent-theme-files\">OVERRIDING PARENT THEME FILES<\/h2>\r\n\r\n\r\n\r\n<p>You can not only target individual style declarations via the style sheet but also override entire components of the parent theme.<\/p>\r\n\r\n\r\n\r\n<p>For every theme file present in the parent directory, WordPress will check whether a corresponding file is present in the child theme and if so, use that one instead. This means that a&nbsp;<code>header.php<\/code>&nbsp;file in the child theme will override its equivalent in the parent folder.<\/p>\r\n\r\n\r\n\r\n<p>So, if you don\u2019t like something about a page\u2019s layout, just copy the respective file, implement your changes, and upload it to the child theme\u2019s folder. The modifications will then appear in the child theme, while the original file will remain untouched.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"working-with-template-files\">WORKING WITH TEMPLATE FILES<\/h2>\r\n\r\n\r\n\r\n<p>We\u2019ve learned that we can overwrite any file in the parent theme by placing a copy in the child theme\u2019s folder and customizing it. However, using files that&nbsp;<strong>exist only in the child theme<\/strong>&nbsp;is also possible. Template files are a good example of this.<\/p>\r\n\r\n\r\n\r\n<p>Let\u2019s say we want to build a full-width page template for our child theme. Our theme does not lend itself to the full-screen presentation, but let\u2019s do it anyway for demonstration purposes, shall we?<\/p>\r\n\r\n\r\n\r\n<p>To create a full-width page in Chaoz you have to create a custom page template. Let\u2019s start with the page template.<\/p>\r\n\r\n\r\n\r\n<p>For our custom page template, we simply copy&nbsp;<code>page.php<\/code>&nbsp;from the parent theme, rename it to&nbsp;<code>page-full-width.php<\/code>&nbsp;and place it in the Child theme\u2019s root folder.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>OVERRIDING PARENT THEME FILES You can not only target individual style declarations via the style sheet but also override entire components of the parent theme. For every theme file present in the parent directory, WordPress will check whether a corresponding file is present in the child theme and if so, use that one instead. This [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"parent":2537,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2625","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"OVERRIDING PARENT THEME FILES You can not only target individual style declarations via the style sheet but also override entire components of the parent theme. For every theme file present in the parent directory, WordPress will check whether a corresponding file is present in the child theme and if so, use that one instead. This\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Al Imran\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/how-to-customize-theme-using-child-theme\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"docly -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to customize theme using child theme? - docly\" \/>\n\t\t<meta property=\"og:description\" content=\"OVERRIDING PARENT THEME FILES You can not only target individual style declarations via the style sheet but also override entire components of the parent theme. For every theme file present in the parent directory, WordPress will check whether a corresponding file is present in the child theme and if so, use that one instead. This\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/how-to-customize-theme-using-child-theme\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-04-20T19:26:50+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-04-20T19:26:50+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to customize theme using child theme? - docly\" \/>\n\t\t<meta name=\"twitter:description\" content=\"OVERRIDING PARENT THEME FILES You can not only target individual style declarations via the style sheet but also override entire components of the parent theme. For every theme file present in the parent directory, WordPress will check whether a corresponding file is present in the child theme and if so, use that one instead. This\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/some-common-issues\\\/how-to-customize-theme-using-child-theme\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/#listItem\",\"name\":\"Sample User Guide\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/#listItem\",\"position\":2,\"name\":\"Sample User Guide\",\"item\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/some-common-issues\\\/#listItem\",\"name\":\"Some common issues\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/some-common-issues\\\/#listItem\",\"position\":3,\"name\":\"Some common issues\",\"item\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/some-common-issues\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/some-common-issues\\\/how-to-customize-theme-using-child-theme\\\/#listItem\",\"name\":\"How to customize theme using child theme?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/#listItem\",\"name\":\"Sample User Guide\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/some-common-issues\\\/how-to-customize-theme-using-child-theme\\\/#listItem\",\"position\":4,\"name\":\"How to customize theme using child theme?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/some-common-issues\\\/#listItem\",\"name\":\"Some common issues\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/#organization\",\"name\":\"docly\",\"url\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/author\\\/imrandocly\\\/?post_type=docs#author\",\"url\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/author\\\/imrandocly\\\/?post_type=docs\",\"name\":\"Al Imran\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/some-common-issues\\\/how-to-customize-theme-using-child-theme\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cc77391ad47082ac8b9ee5fff6c8af76cca2bd15364c1f52b9956e9f3a9ce85e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Al Imran\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/some-common-issues\\\/how-to-customize-theme-using-child-theme\\\/#webpage\",\"url\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/some-common-issues\\\/how-to-customize-theme-using-child-theme\\\/\",\"name\":\"How to customize theme using child theme? - docly\",\"description\":\"OVERRIDING PARENT THEME FILES You can not only target individual style declarations via the style sheet but also override entire components of the parent theme. For every theme file present in the parent directory, WordPress will check whether a corresponding file is present in the child theme and if so, use that one instead. This\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/docs\\\/sample-user-guide\\\/some-common-issues\\\/how-to-customize-theme-using-child-theme\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/author\\\/imrandocly\\\/?post_type=docs#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/author\\\/imrandocly\\\/?post_type=docs#author\"},\"datePublished\":\"2019-04-20T19:26:50+00:00\",\"dateModified\":\"2019-04-20T19:26:50+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/#website\",\"url\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/\",\"name\":\"docly\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/wordpress-theme.spider-themes.net\\\/docly\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to customize theme using child theme? - docly","description":"OVERRIDING PARENT THEME FILES You can not only target individual style declarations via the style sheet but also override entire components of the parent theme. For every theme file present in the parent directory, WordPress will check whether a corresponding file is present in the child theme and if so, use that one instead. This","canonical_url":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/how-to-customize-theme-using-child-theme\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/how-to-customize-theme-using-child-theme\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly#listItem","position":1,"name":"Home","item":"https:\/\/wordpress-theme.spider-themes.net\/docly","nextItem":{"@type":"ListItem","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/#listItem","name":"Sample User Guide"}},{"@type":"ListItem","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/#listItem","position":2,"name":"Sample User Guide","item":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/","nextItem":{"@type":"ListItem","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/#listItem","name":"Some common issues"},"previousItem":{"@type":"ListItem","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/#listItem","position":3,"name":"Some common issues","item":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/","nextItem":{"@type":"ListItem","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/how-to-customize-theme-using-child-theme\/#listItem","name":"How to customize theme using child theme?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/#listItem","name":"Sample User Guide"}},{"@type":"ListItem","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/how-to-customize-theme-using-child-theme\/#listItem","position":4,"name":"How to customize theme using child theme?","previousItem":{"@type":"ListItem","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/#listItem","name":"Some common issues"}}]},{"@type":"Organization","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/#organization","name":"docly","url":"https:\/\/wordpress-theme.spider-themes.net\/docly\/"},{"@type":"Person","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/author\/imrandocly\/?post_type=docs#author","url":"https:\/\/wordpress-theme.spider-themes.net\/docly\/author\/imrandocly\/?post_type=docs","name":"Al Imran","image":{"@type":"ImageObject","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/how-to-customize-theme-using-child-theme\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/cc77391ad47082ac8b9ee5fff6c8af76cca2bd15364c1f52b9956e9f3a9ce85e?s=96&d=mm&r=g","width":96,"height":96,"caption":"Al Imran"}},{"@type":"WebPage","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/how-to-customize-theme-using-child-theme\/#webpage","url":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/how-to-customize-theme-using-child-theme\/","name":"How to customize theme using child theme? - docly","description":"OVERRIDING PARENT THEME FILES You can not only target individual style declarations via the style sheet but also override entire components of the parent theme. For every theme file present in the parent directory, WordPress will check whether a corresponding file is present in the child theme and if so, use that one instead. This","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/#website"},"breadcrumb":{"@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/how-to-customize-theme-using-child-theme\/#breadcrumblist"},"author":{"@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/author\/imrandocly\/?post_type=docs#author"},"creator":{"@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/author\/imrandocly\/?post_type=docs#author"},"datePublished":"2019-04-20T19:26:50+00:00","dateModified":"2019-04-20T19:26:50+00:00"},{"@type":"WebSite","@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/#website","url":"https:\/\/wordpress-theme.spider-themes.net\/docly\/","name":"docly","inLanguage":"en-US","publisher":{"@id":"https:\/\/wordpress-theme.spider-themes.net\/docly\/#organization"}}]},"og:locale":"en_US","og:site_name":"docly -","og:type":"article","og:title":"How to customize theme using child theme? - docly","og:description":"OVERRIDING PARENT THEME FILES You can not only target individual style declarations via the style sheet but also override entire components of the parent theme. For every theme file present in the parent directory, WordPress will check whether a corresponding file is present in the child theme and if so, use that one instead. This","og:url":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/how-to-customize-theme-using-child-theme\/","article:published_time":"2019-04-20T19:26:50+00:00","article:modified_time":"2019-04-20T19:26:50+00:00","twitter:card":"summary_large_image","twitter:title":"How to customize theme using child theme? - docly","twitter:description":"OVERRIDING PARENT THEME FILES You can not only target individual style declarations via the style sheet but also override entire components of the parent theme. For every theme file present in the parent directory, WordPress will check whether a corresponding file is present in the child theme and if so, use that one instead. This"},"aioseo_meta_data":{"post_id":"2625","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-05-09 07:27:38","updated":"2025-06-30 12:59:42","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/wordpress-theme.spider-themes.net\/docly\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/\" title=\"Sample User Guide\">Sample User Guide<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/\" title=\"Some common issues\">Some common issues<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to customize theme using child theme?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/wordpress-theme.spider-themes.net\/docly"},{"label":"Sample User Guide","link":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/"},{"label":"Some common issues","link":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/"},{"label":"How to customize theme using child theme?","link":"https:\/\/wordpress-theme.spider-themes.net\/docly\/docs\/sample-user-guide\/some-common-issues\/how-to-customize-theme-using-child-theme\/"}],"_links":{"self":[{"href":"https:\/\/wordpress-theme.spider-themes.net\/docly\/wp-json\/wp\/v2\/docs\/2625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress-theme.spider-themes.net\/docly\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wordpress-theme.spider-themes.net\/docly\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress-theme.spider-themes.net\/docly\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress-theme.spider-themes.net\/docly\/wp-json\/wp\/v2\/comments?post=2625"}],"version-history":[{"count":0,"href":"https:\/\/wordpress-theme.spider-themes.net\/docly\/wp-json\/wp\/v2\/docs\/2625\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/wordpress-theme.spider-themes.net\/docly\/wp-json\/wp\/v2\/docs\/2537"}],"wp:attachment":[{"href":"https:\/\/wordpress-theme.spider-themes.net\/docly\/wp-json\/wp\/v2\/media?parent=2625"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wordpress-theme.spider-themes.net\/docly\/wp-json\/wp\/v2\/doc_tag?post=2625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}