{"id":1734,"date":"2018-11-01T06:08:25","date_gmt":"2018-11-01T06:08:25","guid":{"rendered":"https:\/\/wpthemetestdata.wordpress.com\/?p=1734"},"modified":"2018-11-01T06:08:25","modified_gmt":"2018-11-01T06:08:25","slug":"blocks-layout-elements","status":"publish","type":"post","link":"https:\/\/dev.azuratheme.com\/?p=1734","title":{"rendered":"Block category: Layout Elements"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The Layout Elements category includes the following blocks: <em>Button, Columns, Media &amp; Text, separator, spacer, read more, and page break.<\/em><\/p>\n\n    \n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link\">The button<\/a><\/div>\n\n\n\n<div class=\"wp-block-columns has-4-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\">The columns:<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Column two.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Column three.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Column four.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide\"><figure class=\"wp-block-media-text__media\"><img decoding=\"async\" src=\"https:\/\/dev.azuratheme.com\/wp-content\/uploads\/2011\/07\/dcp_2082.jpg\" alt=\"Boardwalk\"\/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size wp-block-paragraph\">Media &amp;Text<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For displaying media and text next to each other. By default, the media is to the left.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-media-text alignfull has-media-on-the-right is-stacked-on-mobile\" style=\"background-color:#ebf5fe;grid-template-columns:auto 54%\"><figure class=\"wp-block-media-text__media\"><img decoding=\"async\" src=\"http:\/\/localhost:8080\/wp-content\/uploads\/2011\/07\/100_5540-33.jpg\" alt=\"Golden Gate Bridge\"\/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"wp-block-paragraph\">This time our block is full width, and the image is to the right. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The background color is a pale blue.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Test to make sure that the editor and the front match.&nbsp;To test the <em>Stack on mobile <\/em>setting, reduce the browser window width.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The control these settings, the block uses the css classes &#8220;has-media-on-the-right&#8221; and &#8220;is-stacked-on-mobile&#8221;.<\/p>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The separator has three styles: short line, wide line, and dots.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<hr class=\"wp-block-separator is-style-dots\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">The spacer block has a default height of 100 pixels:<\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The read more block should be right below this text:<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">And finally, the page break:<\/p>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">This paragraph block is on page two, after the page break.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Layout Elements category includes the following blocks: Button, Columns, Media &amp; Text, separator, spacer, read more, and page break. The columns: Column two. Column three. Column four. Media &amp;Text For displaying media and text next to each other. By default, the media is to the left. This time our block is full width, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[],"class_list":["post-1734","post","type-post","status-publish","format-standard","hentry","category-block"],"_links":{"self":[{"href":"https:\/\/dev.azuratheme.com\/index.php?rest_route=\/wp\/v2\/posts\/1734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.azuratheme.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.azuratheme.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.azuratheme.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.azuratheme.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1734"}],"version-history":[{"count":0,"href":"https:\/\/dev.azuratheme.com\/index.php?rest_route=\/wp\/v2\/posts\/1734\/revisions"}],"wp:attachment":[{"href":"https:\/\/dev.azuratheme.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.azuratheme.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.azuratheme.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}