{"id":10010,"date":"2024-03-21T16:56:06","date_gmt":"2024-03-21T14:56:06","guid":{"rendered":"https:\/\/creativethemes.com\/blocksy\/?post_type=documentation&#038;p=10010"},"modified":"2025-06-20T10:48:20","modified_gmt":"2025-06-20T07:48:20","slug":"content-blocks-header-template","status":"publish","type":"documentation","link":"https:\/\/creativethemes.com\/blocksy\/docs\/modules\/content-blocks-header-template\/","title":{"rendered":"Content Blocks &#8211; Header Template"},"content":{"rendered":"\n<figure class=\"wp-block-video\"><video height=\"2064\" style=\"aspect-ratio: 3456 \/ 2064;\" width=\"3456\" autoplay loop muted src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2024\/03\/Screen-Recording-2025-06-20-at-10.36.39.mov\" playsinline><\/video><figcaption class=\"wp-element-caption\">Creating a Content Block Header Template.<\/figcaption><\/figure>\n\n\n\n<p>Blocksy\u2019s built-in header builder offers plenty of flexibility \u2014 but if you need something beyond what the builder allows, a fully custom header layout is possible using&nbsp;<strong>Content Blocks<\/strong>.<\/p>\n\n\n\n<p>With the&nbsp;<strong>Header Template<\/strong>&nbsp;type, you can design your own header using the&nbsp;<strong>Gutenberg editor<\/strong>, giving you total creative freedom. Whether you\u2019re adding advanced blocks, custom layouts, or dynamic content \u2014 it\u2019s all up to you.<\/p>\n\n\n\n<p>This feature also works hand-in-hand with the\u00a0<strong><a href=\"https:\/\/creativethemes.com\/blocksy\/docs\/modules\/conditions-module\/\" target=\"_blank\" rel=\"noreferrer noopener\">Conditional Module<\/a><\/strong>, which lets you apply different headers across various pages, user roles, post types, and more.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Getting Started<\/h2>\n\n\n\n<p>Creating a header template is quick and easy:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open your\u00a0<strong>WordPress dashboard<\/strong>.<\/li>\n\n\n\n<li>Go to\u00a0<strong>Blocksy \u2192 Content Blocks<\/strong>.<\/li>\n\n\n\n<li>Click\u00a0<strong>Add New<\/strong>.<\/li>\n\n\n\n<li>Choose\u00a0<strong>Custom Template<\/strong>.<\/li>\n\n\n\n<li>Select the\u00a0<strong>Header Template<\/strong>\u00a0option.<\/li>\n<\/ol>\n\n\n\n<p>You\u2019ll now see a clean Gutenberg canvas, where you can start building your header just like any other page \u2014 using blocks, columns, images, menus, or anything else you need.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Granular Controls<\/h2>\n\n\n\n<p>After creating your header template, you\u2019ll gain access to several controls that help you fine-tune its behaviour and layout.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"1380\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2024\/03\/Screenshot-2025-06-20-at-10.41.59.png\" alt=\"\" class=\"wp-image-13456\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<h3 class=\"wp-block-heading\">Display Conditions<\/h3>\n\n\n\n<p>The header template is fully compatible with the\u00a0<strong><a href=\"https:\/\/creativethemes.com\/blocksy\/docs\/modules\/conditions-module\/\" target=\"_blank\" rel=\"noreferrer noopener\">Conditional Module<\/a><\/strong>, giving you full control over where the template is used. Apply it only to specific pages, user roles, or even custom post types \u2014 it\u2019s all up to you.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Page Structure<\/h3>\n\n\n\n<p>Define how your header layout is presented:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Boxed<\/strong>\u00a0or\u00a0<strong>Wide-width<\/strong>\u00a0content area<\/li>\n\n\n\n<li><strong>Standard<\/strong>\u00a0or\u00a0<strong>Narrow<\/strong>\u00a0layout styles<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Content Area Vertical Spacing<\/h3>\n\n\n\n<p>Use this control to add spacing above or below your header template. It\u2019s helpful when you want to create breathing room around your content or align it more precisely.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Visibility<\/h3>\n\n\n\n<p>Control which devices the custom header appears on \u2014 desktop, tablet, or mobile. This gives you the flexibility to show different headers for different screen sizes.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Demonstration<\/h2>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a04c869d05c3&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a04c869d05c3\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"3456\" height=\"2064\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2024\/03\/Screenshot-2025-06-20-at-10.41.39.png\" alt=\"\" class=\"wp-image-13455\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Template editor.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Blocksy\u2019s built-in header builder offers plenty of flexibility \u2014 but if you need something beyond what the builder allows, a fully custom header layout is possible using&nbsp;Content Blocks. With the&nbsp;Header Template&nbsp;type, you can design your own header using the&nbsp;Gutenberg editor, giving you total creative freedom. Whether you\u2019re adding advanced blocks, custom layouts, or dynamic content [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_categories":[120],"class_list":["post-10010","documentation","type-documentation","status-publish","hentry","doc_categories-modules"],"blocksy_meta":{"docs_item_badge":"PRO","styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6},"header_after_body_scripts":"<style>\nfigure > img, figure > video {\n    border: 1px solid rgba(225,225,225,0.50);\nbox-shadow: 0px 0px 50px -30px rgba(0,0,0,0.25);\n\n}\n<\/style>"},"acf":[],"_links":{"self":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/10010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/comments?post=10010"}],"version-history":[{"count":4,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/10010\/revisions"}],"predecessor-version":[{"id":13457,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/10010\/revisions\/13457"}],"wp:attachment":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/media?parent=10010"}],"wp:term":[{"taxonomy":"doc_categories","embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/doc_categories?post=10010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}