{"id":165916,"date":"2026-03-02T16:40:54","date_gmt":"2026-03-02T14:40:54","guid":{"rendered":"https:\/\/elementor.com\/help\/?post_type=videos&#038;p=165916"},"modified":"2026-03-04T14:25:44","modified_gmt":"2026-03-04T12:25:44","slug":"how-to-control-direction-wrap-and-spacing-in-flexbox","status":"publish","type":"videos","link":"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/","title":{"rendered":"How to Control Direction, Wrap, and Spacing in Flexbox"},"content":{"rendered":"\n<p>This tutorial provides a concise guide on managing the layout of items using direction, wrap, and spacing. It walks through the process of arranging items effectively within a container to achieve a polished and professional appearance.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Manage item direction wrap and spacing effectively to achieve a polished layout.\t\t<\/p>\n","protected":false},"featured_media":166085,"template":"","meta":{"_acf_changed":true,"_elementor_kustomer_id":[]},"categories":[1442],"tags":[],"class_list":["post-165916","videos","type-videos","status-publish","has-post-thumbnail","hentry","category-layouts"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Control Direction, Wrap, and Spacing in Flexbox | Help<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Control Direction, Wrap, and Spacing in Flexbox | Help\" \/>\n<meta property=\"og:description\" content=\"Manage item direction wrap and spacing effectively to achieve a polished layout.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/\" \/>\n<meta property=\"og:site_name\" content=\"Help\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-04T12:25:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2026\/02\/Thumbnail-background-3.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/\",\"url\":\"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/\",\"name\":\"How to Control Direction, Wrap, and Spacing in Flexbox | Help\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2026\/02\/Thumbnail-background-3.jpg\",\"datePublished\":\"2026-03-02T14:40:54+00:00\",\"dateModified\":\"2026-03-04T12:25:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/#primaryimage\",\"url\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2026\/02\/Thumbnail-background-3.jpg\",\"contentUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2026\/02\/Thumbnail-background-3.jpg\",\"width\":960,\"height\":540},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Help Center\",\"item\":\"https:\/\/elementor.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Videos\",\"item\":\"https:\/\/elementor.com\/help\/videos\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Control Direction, Wrap, and Spacing in Flexbox\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/elementor.com\/help\/#website\",\"url\":\"https:\/\/elementor.com\/help\/\",\"name\":\"Elementor\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/elementor.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/elementor.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/elementor.com\/help\/#organization\",\"name\":\"Elementor\",\"url\":\"https:\/\/elementor.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png\",\"contentUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png\",\"width\":225,\"height\":225,\"caption\":\"Elementor\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Control Direction, Wrap, and Spacing in Flexbox | Help","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/","og_locale":"en_US","og_type":"article","og_title":"How to Control Direction, Wrap, and Spacing in Flexbox | Help","og_description":"Manage item direction wrap and spacing effectively to achieve a polished layout.","og_url":"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/","og_site_name":"Help","article_modified_time":"2026-03-04T12:25:44+00:00","og_image":[{"width":960,"height":540,"url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2026\/02\/Thumbnail-background-3.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/","url":"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/","name":"How to Control Direction, Wrap, and Spacing in Flexbox | Help","isPartOf":{"@id":"https:\/\/elementor.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/#primaryimage"},"image":{"@id":"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2026\/02\/Thumbnail-background-3.jpg","datePublished":"2026-03-02T14:40:54+00:00","dateModified":"2026-03-04T12:25:44+00:00","breadcrumb":{"@id":"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/#primaryimage","url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2026\/02\/Thumbnail-background-3.jpg","contentUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2026\/02\/Thumbnail-background-3.jpg","width":960,"height":540},{"@type":"BreadcrumbList","@id":"https:\/\/elementor.com\/help\/videos\/how-to-control-direction-wrap-and-spacing-in-flexbox\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Help Center","item":"https:\/\/elementor.com\/help\/"},{"@type":"ListItem","position":2,"name":"Videos","item":"https:\/\/elementor.com\/help\/videos\/"},{"@type":"ListItem","position":3,"name":"How to Control Direction, Wrap, and Spacing in Flexbox"}]},{"@type":"WebSite","@id":"https:\/\/elementor.com\/help\/#website","url":"https:\/\/elementor.com\/help\/","name":"Elementor","description":"","publisher":{"@id":"https:\/\/elementor.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elementor.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/elementor.com\/help\/#organization","name":"Elementor","url":"https:\/\/elementor.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png","contentUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png","width":225,"height":225,"caption":"Elementor"},"image":{"@id":"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/videos\/165916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/videos"}],"about":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/types\/videos"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/media\/166085"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/media?parent=165916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/categories?post=165916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/tags?post=165916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}