{"id":526,"date":"2023-05-20T15:29:16","date_gmt":"2023-05-20T14:29:16","guid":{"rendered":"https:\/\/greatsite.dev\/makegreatsite\/docs\/site-editing\/adding-blocks-with-tabs\/"},"modified":"2023-05-26T22:11:48","modified_gmt":"2023-05-26T21:11:48","slug":"adding-blocks-with-tabs","status":"publish","type":"docs","link":"https:\/\/greatsite.dev\/makegreatsite\/docs\/site-editing\/adding-blocks-with-tabs\/","title":{"rendered":"Adding blocks with tabs"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Tabs are useful for organizing chunks of related information into a single block, thereby freeing space on a page. With this feature, you can structure the pictures in a gallery by general topics, organize your company&#8217;s products and services, and much more.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MakeGreatSite editor allows you to add a pre-made block with tabs or enable tabs mode in some of the existing blocks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s a good example of block with tabs:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"425\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1056-4_1f3i9qr-1024x425.png\" alt=\"\" class=\"wp-image-527\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1056-4_1f3i9qr-1024x425.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1056-4_1f3i9qr-300x125.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1056-4_1f3i9qr-768x319.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1056-4_1f3i9qr-1536x637.png 1536w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1056-4_1f3i9qr.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Adding a block with tabs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1. To add a block with tabs, open the blocks gallery and choose a suitable block with tabs:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"427\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1072-2_132v7k8-1024x427.png\" alt=\"\" class=\"wp-image-528\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1072-2_132v7k8-1024x427.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1072-2_132v7k8-300x125.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1072-2_132v7k8-768x320.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1072-2_132v7k8-1536x640.png 1536w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1072-2_132v7k8.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2. Hover over the content of the block and click on the &#8220;gear&#8221; to access the&nbsp;<strong>Collection settings<\/strong>. In the pop-up window, navigate to the&nbsp;<strong>Modes<\/strong>&nbsp;tab and choose the type, quantity, and alignment of your tabs:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"704\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-1_1c9pxr9-1024x704.png\" alt=\"\" class=\"wp-image-530\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-1_1c9pxr9-1024x704.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-1_1c9pxr9-300x206.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-1_1c9pxr9-768x528.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-1_1c9pxr9-1536x1056.png 1536w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-1_1c9pxr9.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tip:<\/strong> Proceed with customizing your block according to the instructions in the <a href=\"https:\/\/greatsite.dev\/makegreatsite\/docs\/site-editing\/changing-the-design-of-a-block\/\">Changing the design of a block<\/a> article.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Enabling the tabs mode in a collection<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Some blocks in our gallery can contain a set of entirely interdependent elements gathered in a collection. Each item in a collection keeps the same layout as others \u2014 if you delete an element from one item in a collection, it will be automatically deleted from every item.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The collection blocks can be re-structured into tabs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tip:<\/strong> To learn more about the collections, check the <a href=\"https:\/\/greatsite.dev\/makegreatsite\/docs\/site-editing\/collection-items-settings\/\">Collection items settings<\/a> article.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. For that, hover over the collection item and click on the &#8220;gear&#8221; in the top right corner to access its settings:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"458\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1071-2_e8v2wx-1024x458.png\" alt=\"\" class=\"wp-image-531\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1071-2_e8v2wx-1024x458.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1071-2_e8v2wx-300x134.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1071-2_e8v2wx-768x343.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1071-2_e8v2wx-1536x686.png 1536w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1071-2_e8v2wx.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2. In the pop-up window, navigate to the&nbsp;<strong>Modes<\/strong>&nbsp;tab and enable the&nbsp;<strong>Tabs<\/strong>&nbsp;option:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"290\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1067-1_19dp1x6-1024x290.png\" alt=\"\" class=\"wp-image-532\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1067-1_19dp1x6-1024x290.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1067-1_19dp1x6-300x85.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1067-1_19dp1x6-768x217.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1067-1_19dp1x6-1536x435.png 1536w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1067-1_19dp1x6.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3. Here you can change the type, quantity or alignment of your tabs, and also set the accent color:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"704\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-1_1c9pxr9-1-1024x704.png\" alt=\"\" class=\"wp-image-533\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-1_1c9pxr9-1-1024x704.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-1_1c9pxr9-1-300x206.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-1_1c9pxr9-1-768x528.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-1_1c9pxr9-1-1536x1056.png 1536w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-1_1c9pxr9-1.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> The maximum number of tabs is 8. The acceptable size of the icons in the tab name is 40&#215;40 px.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Managing tabs and their content<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1. To rename a tab, click on its name, highlight it and add a new one:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"458\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1070-1_tpja9h-1024x458.png\" alt=\"\" class=\"wp-image-534\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1070-1_tpja9h-1024x458.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1070-1_tpja9h-300x134.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1070-1_tpja9h-768x343.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1070-1_tpja9h-1536x686.png 1536w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1070-1_tpja9h.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tip: <\/strong>You can switch between tabs just by clicking on the tab name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. To access the tabs settings, hover over the collection element and click on three stripes icon:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"458\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1070-1_tpja9h-1-1024x458.png\" alt=\"\" class=\"wp-image-535\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1070-1_tpja9h-1-1024x458.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1070-1_tpja9h-1-300x134.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1070-1_tpja9h-1-768x343.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1070-1_tpja9h-1-1536x686.png 1536w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1070-1_tpja9h-1.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3. In the new window, you can drag the tabs to change their order, duplicate, delete or hide them:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"404\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-7_1tgkw28-1024x404.png\" alt=\"\" class=\"wp-image-536\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-7_1tgkw28-1024x404.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-7_1tgkw28-300x119.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-7_1tgkw28-768x303.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-7_1tgkw28-1536x607.png 1536w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1073-7_1tgkw28.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">4. To move elements within one tab, hover over the element and drag it to the desired position:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"458\" src=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1069-1_1j3rh0h-1024x458.png\" alt=\"\" class=\"wp-image-537\" srcset=\"https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1069-1_1j3rh0h-1024x458.png 1024w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1069-1_1j3rh0h-300x134.png 300w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1069-1_1j3rh0h-768x343.png 768w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1069-1_1j3rh0h-1536x686.png 1536w, https:\/\/greatsite.dev\/makegreatsite\/wp-content\/uploads\/template-1069-1_1j3rh0h.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Don&#8217;t forget to publish your site for the changes to appear live.<\/p>\n","protected":false},"featured_media":0,"parent":111,"menu_order":20,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-526","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs\/526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/comments?post=526"}],"version-history":[{"count":2,"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs\/526\/revisions"}],"predecessor-version":[{"id":1730,"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs\/526\/revisions\/1730"}],"up":[{"embeddable":true,"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs\/111"}],"next":[{"title":"List items settings","link":"https:\/\/greatsite.dev\/makegreatsite\/docs\/site-editing\/list-items-settings\/","href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs\/539"}],"prev":[{"title":"Hiding a block on different devices","link":"https:\/\/greatsite.dev\/makegreatsite\/docs\/site-editing\/hiding-a-block-on-different-devices\/","href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/docs\/520"}],"wp:attachment":[{"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/media?parent=526"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/greatsite.dev\/makegreatsite\/wp-json\/wp\/v2\/doc_tag?post=526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}