{"id":6279,"date":"2026-11-22T04:17:38","date_gmt":"2026-11-22T04:17:38","guid":{"rendered":"https:\/\/shapekode.com\/product\/shapeblock\/docs\/divider\/"},"modified":"2026-11-22T04:17:38","modified_gmt":"2026-11-22T04:17:38","password":"","slug":"divider","status":"publish","type":"docs","link":"https:\/\/shapekode.com\/product\/shapeblock\/docs\/divider\/","title":{"rendered":"Divider"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The <strong>Divider<\/strong> block draws a line between the sections of a page. Pick one of seven styles, paint it with a colour or a gradient, and put a few words or an icon in the line if you like. It is free in ShapeBlock.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to Add a Divider in WordPress Gutenberg | ShapeBlock Divider Block (Free)\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/mamoUSU1dvU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">See it in use on the <a href=\"https:\/\/shapekode.com\/product\/shapeblock\/divider\/\">Divider demo page<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Turn the block on<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>ShapeBlock \u2192 Blocks<\/strong>.<\/li>\n\n\n\n<li>Search for <strong>Divider<\/strong> and switch it on.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Add it to a page<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open a page in the block editor, click the <strong>+<\/strong> button, search for <strong>Divider<\/strong> and click or drag the block onto the page. It starts as a thin grey line across the full width.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Settings tab<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Line<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Click a style to use it: <strong>Solid<\/strong>, <strong>Double<\/strong>, <strong>Dashed<\/strong>, <strong>Dotted<\/strong>, <strong>Wave<\/strong>, <strong>Zigzag<\/strong> or <strong>Slashes<\/strong>. Each button shows a small drawing of the line.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Text or Icon<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>In the Line<\/strong>: <em>None<\/em>, <em>Text<\/em> or <em>Icon<\/em>.<\/li>\n\n\n\n<li><strong>Text<\/strong> and its <strong>HTML Tag<\/strong> (span, p, div or a heading from H2 to H6). You can also click the words right on the block and type over them; bold and italic are kept.<\/li>\n\n\n\n<li><strong>Icon<\/strong>: choose any icon from the icon library.<\/li>\n\n\n\n<li><strong>Position<\/strong>: <em>Start<\/em>, <em>Center<\/em> or <em>End<\/em>. At the start or the end, a single line fills the rest of the width.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Layout tab<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Every setting here can be set for desktop, tablet and phone separately.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Width (%)<\/strong> of the line, and its <strong>Alignment<\/strong>: left, center or right.<\/li>\n\n\n\n<li><strong>Weight (px)<\/strong>: how thick the line is. It is 1px when not set.<\/li>\n\n\n\n<li><strong>Pattern Length<\/strong> (dashed and dotted) or <strong>Pattern Width<\/strong> (wave, zigzag and slashes): how long each dash, dot gap or wave is.<\/li>\n\n\n\n<li><strong>Space Above and Below<\/strong> the line, and the <strong>Space Around Text or Icon<\/strong>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Style tab<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Line<\/strong>: a colour or a gradient. A gradient follows every style, the wave and the dots included.<\/li>\n\n\n\n<li><strong>Text<\/strong>: colour, typography per device, a background, padding per device and a border radius. With a background and a large radius the text becomes a pill, for example &#8220;RSVP by June 1&#8221;.<\/li>\n\n\n\n<li><strong>Icon<\/strong>: <em>Default<\/em>, <em>Stacked<\/em> (in a filled circle) or <em>Framed<\/em> (in an outlined circle), with its colour, size per device, background, border colour and width, padding and border radius.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Advanced tab<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Margin, padding, background, position and hiding on desktop, tablet or phone, the same as every ShapeBlock block.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Can the line be shorter than the text column?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Set the <strong>Width (%)<\/strong> in the Layout tab, for example 20% for a short rule under a heading, and choose the alignment.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Does the wave look right on phones?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. The weight and the pattern width can be set per device, so a wave or zigzag can be smaller on a phone than on a desktop.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>The Divider block draws a line between the sections of a page. Pick one of seven styles, paint it with a colour or a gradient, and put a few words or an icon in the line if you like. It is free in ShapeBlock. See it in use on the Divider demo page. Turn the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[16],"doc_tag":[],"class_list":["post-6279","docs","type-docs","status-publish","hentry","doc_category-content-block"],"year_month":"2026-11","word_count":443,"total_views":"1","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Sojib","author_nicename":"shapekode-admin","author_url":"https:\/\/shapekode.com\/product\/shapeblock\/author\/shapekode-admin\/"},"doc_category_info":[{"term_name":"Content Block","term_url":"https:\/\/shapekode.com\/product\/shapeblock\/docs-category\/content-block\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs\/6279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/comments?post=6279"}],"version-history":[{"count":0,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/docs\/6279\/revisions"}],"wp:attachment":[{"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/media?parent=6279"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/doc_category?post=6279"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/shapekode.com\/product\/shapeblock\/wp-json\/wp\/v2\/doc_tag?post=6279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}