{"id":16085090,"date":"2022-11-02T07:22:09","date_gmt":"2022-11-02T07:22:09","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_article&#038;p=16085090"},"modified":"2025-09-27T11:13:55","modified_gmt":"2025-09-27T11:13:55","slug":"layout-settings-overview","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/layout-settings-overview\/","title":{"rendered":"Layout Settings overview"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The layout settings in&nbsp;<a href=\"https:\/\/wordpress.org\/documentation\/article\/blocks\/\">blocks<\/a> allow you to change the justification and orientation of the nested child blocks inside their parent blocks. These settings can be found in the parent blocks within which the child blocks are nested.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The layout settings are available when you use the&nbsp;<a href=\"https:\/\/wordpress.org\/documentation\/article\/wordpress-editor\/\">block editor<\/a>. If you are new to the block editor,&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/documentation\/article\/working-with-blocks\/\" target=\"_blank\">this guide<\/a>&nbsp;will show you how to work with blocks. You can read more about the new block editor features and improvements&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/make.wordpress.org\/core\/2022\/09\/26\/core-editor-improvement-catalyst-for-creativity\/\" target=\"_blank\">in this article.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to access layout settings<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To access the layout settings (in the parent block), click on any of the child blocks. The first icon in the block toolbar of the child block will select the parent block. In the block settings sidebar in the parent block, you will find the <strong>Layout<\/strong> section as shown below. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/10\/layout-settings-1.gif\" alt=\"Layout Settings for blocks\" class=\"wp-image-16088280\" style=\"width:608px;height:200px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Navigating through nested blocks<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>List View<\/strong> tool can be used to navigate between layers of content and nested blocks. This will make it easy to access the parent and child block. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2021\/07\/Screen-Shot-2021-07-08-at-4.43.32-PM-1.png\" alt=\"Top toolbar of the editor\" style=\"width:466px;height:57px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-0e47273b wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<p class=\"wp-block-paragraph\">To open <strong>List View<\/strong>, select the List View icon from the Top Toolbar of the <a href=\"https:\/\/wordpress.org\/documentation\/article\/wordpress-editor\/\" data-type=\"helphub_article\" data-id=\"11284616\">block editor<\/a> as shown above. It will remain open as you navigate through your content and stay open until you close it by either selecting the \u201cx\u201d or by selecting the List View icon again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/documentation\/article\/list-view\/\" target=\"_blank\">Learn more about the List View<\/a>. <\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2021\/12\/Screen-Shot-2021-12-21-at-3.32.17-PM-1024x926.png\" alt=\"The list view of blocks\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Type of settings <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Each supported block comes with different layout settings. If you make customizations to these settings and want to revert back to the original settings quickly, you can do so by selecting the three-dot menu icon and clicking&nbsp;<strong>Reset All<\/strong>&nbsp;as&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/documentation\/article\/working-with-blocks\/#reset-controls\" target=\"_blank\">shown in this article<\/a>. This resets the settings and removes all of your changes. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Justification <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can set the justification of the child blocks inside the parent block. You can justify the child blocks to the <strong>Left<\/strong>, <strong>Center<\/strong>, or <strong>Right<\/strong>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some blocks like <a href=\"https:\/\/wordpress.org\/documentation\/article\/buttons-block\/\" data-type=\"helphub_article\" data-id=\"13757096\">buttons block<\/a> will have the option to add <strong>Space between items<\/strong> which lets you add equal space between them. Space between items is applicable only for horizontal orientation. Eg: The&nbsp;<em>buttons block<\/em>&nbsp;is centered with equal spacing between the buttons if you have more than 1 button within the&nbsp;<em>buttons block<\/em>. <em>If the child blocks are set to be vertically aligned, you will not be able to put space between them.<\/em> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The justification settings can be found on the parent block&#8217;s toolbar and sidebar settings.   <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/10\/justification-2.gif\" alt=\"Layout settings for justifying blocks\" class=\"wp-image-16088414\" style=\"width:668px;height:242px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Orientation <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When you first add multiple blocks to a parent&nbsp;block, the child blocks will be displayed horizontally (i.e. next to each other.) <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Another option is to display the child blocks vertically (i.e., stacked in the parent block). <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/10\/orientation-1.gif\" alt=\"Orientation for layout Parent Block Settings\" class=\"wp-image-16088369\" style=\"width:591px;height:233px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Allow to wrap to multiple lines <\/h3>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"366\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/10\/wrap.png\" alt=\"Allow to wrap blocks to multiple lines. \" class=\"wp-image-16088481\" style=\"width:420px;height:275px\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/10\/wrap.png 560w, https:\/\/wordpress.org\/documentation\/files\/2022\/10\/wrap-300x196.png 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">By turning on the&nbsp;<strong>Allow to wrap to multiple lines<\/strong>&nbsp;setting, the child blocks will move to the next line when there isn\u2019t enough space on smaller screen sizes <em>(mobile device)<\/em>. With this setting off, all the child blocks will stay on the same line no matter the screen size.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Customizing layout width<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Some blocks such as the <a href=\"https:\/\/wordpress.org\/documentation\/article\/query-loop-block\/\" data-type=\"helphub_article\" data-id=\"14633622\">Query Loop<\/a> block that has nested inner blocks like <a href=\"https:\/\/wordpress.org\/documentation\/article\/post-template-block\/\" data-type=\"helphub_article\" data-id=\"16228384\">Post Template<\/a> block and <a href=\"https:\/\/wordpress.org\/documentation\/article\/group-block\/\" data-type=\"helphub_article\" data-id=\"13426347\">Group block<\/a> will have the following layout option that lets you choose the layout width for the nested blocks. <\/p>\n\n\n\n<figure class=\"wp-block-image size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"137\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/layout-settings-innverblock-1-6.8-300x137.jpg\" alt=\"Toggle off the option- Inner blocks use content width\" class=\"wp-image-16366167\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/layout-settings-innverblock-1-6.8-300x137.jpg 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/layout-settings-innverblock-1-6.8.jpg 558w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Toggle off <strong>Inner blocks use content width<\/strong> so that the nested inner blocks fill the width of the parent container.<\/p>\n\n\n\n<figure class=\"wp-block-image size-medium is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"201\" height=\"300\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/layout-settings-innverblock-2-6.8-201x300.jpg\" alt=\"Toggle on the option- Inner blocks use content width\" class=\"wp-image-16366169\" style=\"width:276px;height:auto\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/layout-settings-innverblock-2-6.8-201x300.jpg 201w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/layout-settings-innverblock-2-6.8.jpg 558w\" sizes=\"auto, (max-width: 201px) 100vw, 201px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Toggle on <strong><strong>Inner blocks use content width<\/strong> <\/strong>so that the nested inner blocks use content width with options for full and wide widths. You can set the value for full width by typing in a value in the <strong>Content<\/strong> textbox. You can also set the value for wide width by typing in a value in the <strong>Wide<\/strong> textbox. You can also set the unit in PX, %, EM, REM, VW, or VH for the <strong>Content<\/strong> width and <strong>Wide<\/strong> width. You can also change the <strong>Justification<\/strong> for the nested elements to left, center or right aligned within the parent container.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Blocks that include layout settings<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Buttons<\/li>\n\n\n\n<li>Column<\/li>\n\n\n\n<li>Columns<\/li>\n\n\n\n<li>Comments Pagination<\/li>\n\n\n\n<li>Gallery<\/li>\n\n\n\n<li>Group<\/li>\n\n\n\n<li>Navigation<\/li>\n\n\n\n<li>Post Content<\/li>\n\n\n\n<li>Post Template<\/li>\n\n\n\n<li>Query<\/li>\n\n\n\n<li>Query Pagination<\/li>\n\n\n\n<li>Social Links<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Demonstration <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To see these specific container-related options in play here\u2019s an example with the navigation block where you can quickly switch between different configurations as you find which best fits with the&nbsp;header&nbsp;of your choosing.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/make.wordpress.org\/core\/files\/2022\/09\/layout-with-menu.mov\"><\/video><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can read more about the new Block Editor features and improvements <a rel=\"noreferrer noopener\" href=\"https:\/\/make.wordpress.org\/core\/2022\/09\/26\/core-editor-improvement-catalyst-for-creativity\/\" target=\"_blank\">in this article.<\/a><\/p>\n\n\n\n<div class=\"wp-block-group changelog has-very-dark-gray-color has-very-light-gray-background-color has-text-color has-background is-layout-flow wp-block-group-is-layout-flow\">\n<h2 class=\"wp-block-heading has-medium-font-size\" id=\"changelog\">Changelog<strong> <\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Created 2022-11-01<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The layout settings in&nbsp;blocks allow you to change the justification and orientation of the nested child blocks inside their parent blocks. These settings can be found in the parent blocks within which the child blocks are nested. The layout settings are available when you use the&nbsp;block editor. If you are new to the block editor,&nbsp;this [&hellip;]<\/p>\n","protected":false},"author":15769828,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false},"category":[81,80],"class_list":["post-16085090","helphub_article","type-helphub_article","status-publish","hentry","category-appearance","category-customization"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/16085090","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles"}],"about":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/types\/helphub_article"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/comments?post=16085090"}],"version-history":[{"count":4,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/16085090\/revisions"}],"predecessor-version":[{"id":16366170,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/16085090\/revisions\/16366170"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wporg\/v1\/users\/thelmachido"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/media?parent=16085090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/category?post=16085090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}