{"id":8642,"date":"2023-05-29T20:43:23","date_gmt":"2023-05-29T17:43:23","guid":{"rendered":"https:\/\/creativethemes.com\/blocksy\/?post_type=documentation&#038;p=7191"},"modified":"2025-06-19T23:21:22","modified_gmt":"2025-06-19T20:21:22","slug":"content-blocks-no-results-template","status":"publish","type":"documentation","link":"https:\/\/creativethemes.com\/blocksy\/docs\/modules\/content-blocks-no-results-template\/","title":{"rendered":"Content Blocks &#8211; &#8220;Nothing Found&#8221; 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\/2023\/05\/Screen-Recording-2025-06-19-at-22.54.16.mov\" playsinline><\/video><figcaption class=\"wp-element-caption\">Creating a new &#8220;Nothing Found&#8221; template.<\/figcaption><\/figure>\n\n\n\n<p>The&nbsp;<strong>\u201cNothing Found\u201d template<\/strong>&nbsp;from the Content Blocks feature allows you to replace the default \u201cnothing found\u201d message with something more engaging and informative. Whether you want to guide your visitors toward other parts of your site, display a helpful image, or prompt them to try a different search, this template gives you full control over the experience.<\/p>\n\n\n\n<p>You can design the layout visually using the Gutenberg editor, or use your favorite builder if you prefer, ensuring that the fallback page matches your site\u2019s design and tone.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Getting Started<\/h2>\n\n\n\n<p>Creating a custom \u201cNothing Found\u201d layout is quick and familiar if you\u2019ve worked with Content Blocks before. Here\u2019s how:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open your&nbsp;<strong>WordPress Dashboard<\/strong>.<\/li>\n\n\n\n<li>Choose the <strong>Blocksy<\/strong> menu.<\/li>\n\n\n\n<li>Navigate to&nbsp;<strong>Content Blocks<\/strong>.<\/li>\n\n\n\n<li>Click&nbsp;<strong>Add New<\/strong>.<\/li>\n\n\n\n<li>Select&nbsp;<strong>Custom Template<\/strong>.<\/li>\n\n\n\n<li>Choose&nbsp;<strong>Nothing Found Template<\/strong>&nbsp;from the available options.<\/li>\n<\/ol>\n\n\n\n<p>That\u2019s it! You\u2019ll now be able to build your custom layout using the block editor, just like any other page or post.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Granular Controls<\/h2>\n\n\n\n<p>Once your \u201cNo Results\u201d template is created, you\u2019ll have access to a few additional controls that help fine-tune how and where the layout is applied.<\/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=\"1280\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2023\/05\/Screenshot-2025-06-19-at-23.01.49.png\" alt=\"\" class=\"wp-image-13431\" \/><\/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 template works seamlessly with Blocksy\u2019s\u00a0<strong><a href=\"https:\/\/creativethemes.com\/blocksy\/docs\/modules\/conditions-module\/\" target=\"_blank\" rel=\"noreferrer noopener\">Conditional Module<\/a><\/strong>. This gives you full control over where your \u201cNo Results\u201d layout will be active.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Page Structure<\/h3>\n\n\n\n<p>This section lets you adjust the overall layout of the page.<\/p>\n\n\n\n<p>You can choose between:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A&nbsp;<strong>boxed<\/strong>&nbsp;or&nbsp;<strong>wide-width<\/strong>&nbsp;content area<\/li>\n\n\n\n<li><strong>Standard<\/strong>&nbsp;or&nbsp;<strong>Narrow<\/strong>&nbsp;layouts<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Content Area Vertical Spacing<\/h3>\n\n\n\n<p>This control gives you the ability to adjust spacing between your content and the header\/footer. Increasing this spacing is useful if you want your \u201cNo Results\u201d message to appear more centred or visually separated from the rest of the page layout.<\/p>\n<\/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;69d20a403e9e8&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d20a403e9e8\" 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\/2023\/05\/Screenshot-2025-06-19-at-23.00.53.png\" alt=\"\" class=\"wp-image-13429\" \/><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\n\n\n<figure class=\"wp-block-video\"><video autoplay loop muted src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2023\/05\/Screen-Recording-2023-05-29-at-20.41.38.mov\" playsinline><\/video><figcaption class=\"wp-element-caption\">A custom &#8220;no results&#8221; template in action.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The&nbsp;\u201cNothing Found\u201d template&nbsp;from the Content Blocks feature allows you to replace the default \u201cnothing found\u201d message with something more engaging and informative. Whether you want to guide your visitors toward other parts of your site, display a helpful image, or prompt them to try a different search, this template gives you full control over the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_categories":[120],"class_list":["post-8642","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_scripts":"","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\/8642","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/comments?post=8642"}],"version-history":[{"count":8,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/8642\/revisions"}],"predecessor-version":[{"id":13436,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/8642\/revisions\/13436"}],"wp:attachment":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/media?parent=8642"}],"wp:term":[{"taxonomy":"doc_categories","embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/doc_categories?post=8642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}