In Phase 6 of our Mastering Flexbox route, we shared key tips for construction responsive layouts in Divi 5 with cleaner building, smarter breakpoint choices, and real-content testing.
Now, in Section 7, we’ll point of interest on smaller construction patterns that appear on just about every web site: button groups, navigation menus, breadcrumbs, footer links, and tag rows. The ones portions look simple, alternatively they can be tricky to make responsive on account of they often want to stay horizontal on Desktop, wrap cleanly on Tablet, and stack or magnify on Phone without feeling cramped.
With Divi 5’s Flexbox Structure Tool, you’ll assemble flexible button groups, menu rows, and link sections immediately inside the Visual Builder. Via combining Structure Course, Hollow, Structure Wrapping, Column Elegance, Module Groups, and responsive sizing, you’ll create interaction-heavy rows that adapt all through show sizes without duplicating structures or writing custom designed CSS for not unusual construction patterns.
Let’s dive in.
Why Button, Menu, And Link Rows Need Explicit Attention
Buttons, menus, and link rows are one of the vital most important interactive portions on a web site. They knowledge shoppers to key pages, actions, categories, and conversion problems, so that they want to keep clear and easy to use all through show sizes.
The issue is that the ones rows often have competing construction needs. On Desktop, they typically look absolute best as compact horizontal groups. On Tablet, they’ll want to wrap into multiple strains. On Phone, they’ll want to stack vertically, change into entire width, or switch proper right into a separate mobile menu.
Common problems include cramped spacing, misaligned icons and labels, buttons which will also be too small to tap with ease, menu rows that ruin awkwardly on Tablet, and link groups that lose their building once they wrap.
Divi 5’s Flexbox apparatus have the same opinion treatment the ones issues at the container level. As a substitute of together with guide margins to every products or duplicating separate mobile diversifications, you’ll use parent-level controls like Horizontal Hollow, Vertical Hollow, Structure Course, and Structure Wrapping to keep watch over how the gang behaves.
Core Flexbox Techniques For The ones Elements
Rising flexible button, menu, and link rows in Divi 5 becomes easier once which Flexbox controls do the heavy lifting.
Structure Course controls the main waft of the container. Use Row when items will have to sit side-by-side and Column once they will have to stack vertically. You’ll alternate this in keeping with breakpoint, which is useful for button groups that stay horizontal on Desktop alternatively stack on Phone.
Justify Content material subject material and Align Items keep watch over distribution and alignment. Justify Content material subject material works along the main axis, while Align Items works along the transfer axis. Together, they mean you can heart icon-and-text pairs, distribute navigation groups, and keep buttons aligned inside of their mom or father container.

Horizontal Hollow and Vertical Hollow provide consistent spacing between direct child items without together with margins to every button, link, or module. This is specifically useful when a row wraps given that spacing between items and contours stays centralized in one place.

Structure Wrapping lets items switch onto additional strains once they no longer are compatible in one row. Combine it with Column Elegance or Development Templates when you wish to have additional keep watch over over what selection of items appear in keeping with line at each breakpoint.
In the end, Module Teams let you create smaller construction contexts inside of a larger row or column. Wrap similar buttons, links, icons, or menu items in a Module Group so that you’ll observe independent Flexbox settings without affecting the rest of the construction.

Together, the ones controls mean you can assemble reusable, responsive interaction rows with a lot much less guide spacing and not more breakpoint-specific fixes.
Precise-World Examples
Let’s check out 5 examples that show learn how to create flexible button, menu, and link rows using Divi 5’s Flexbox choices. Each one incorporates the Desktop construction, the responsive downside, and the settings used.
Example 1: Flexible Button Group

Function: Create a row of buttons that continues to be neatly spaced on Desktop, then stacks and expands on Phone for easier tapping.
The Downside: Buttons can change into cramped when show width is restricted, specifically when labels are longer or multiple CTAs sit side-by-side.
The Solution: Place the buttons inside of a Module Group. Use Structure Course > Row on Desktop and Tablet, then switch the Group to Structure Course > Column on Phone. Use Horizontal Hollow and Vertical Hollow for spacing, then alter the button sizing on Phone when you wish to have the buttons to span a whole lot of the viewport.
Settings Used: Place a Module Group with 3 Button modules inside of a single-column row. At the Desktop and Tablet breakpoints, set the Group’s Structure Course to Row and observe a 10px Horizontal Hollow and 10px Vertical Hollow.

On the Phone breakpoint, switch the Group’s Structure Course to Column.

Then, widen each button on Phone using the Sizing alternatives inside the Button module’s Design tab. Set the Button Width and Button Max Width to a cost similar to 90vw, then set the Button module alignment to Center.
Example 2: Breadcrumb Link Row

Function: Create a horizontal breadcrumb row this is nonetheless readable on Desktop while stacking neatly on Phone.
The Downside On Cellular: Breadcrumb links can change into cramped or wrap awkwardly, making the row tougher to scan and tap on smaller shows.
The Solution: Place the breadcrumb links inside of a Module Group. Use Structure Course > Row on Desktop and Tablet for a horizontal waft, then switch to Structure Course > Column on Phone. Keep an eye on the vertical spacing so the breadcrumb remains compact alternatively readable.
Settings Used: Set the Module Group’s Structure Course to Row on the Desktop and Tablet breakpoints. Add a 10px Horizontal Hollow and 10px Vertical Hollow, then set Justify Content material subject material and Align Items to Center.

On the Phone breakpoint, set the Module Group’s Structure Course to Column, alter the Vertical Hollow to 5px, and keep the remaining alignment settings unchanged.


Function: Create a multi-column footer with link groups, similar to Product, Company, Assets, and Jail, that continues to be organized on Desktop and stacks cleanly on Phone.
The Downside On Cellular: Footer links can change into cramped, uneven, or hard to scan when the construction narrows.
The Solution: Use a row with Structure Wrapping enabled and alter gaps at each and every the row and Module Group levels. At the row level, gaps keep watch over spacing between the link columns. At the Module Group level, gaps keep watch over spacing between the individual links inside of each group of workers.
Settings Used: At the Row level, set the Horizontal Hollow to 25%, the Vertical Hollow to 30px, and make allowance Structure Wrapping.

At the Row’s Phone breakpoint, set the Vertical Hollow to 20px.

On the Desktop breakpoint, set each Module Group’s Vertical Hollow to 10px.

For each Module Group at the Phone breakpoint, keep the spacing settings unchanged and set Align Items to Center so the link groups align neatly inside the stacked construction.


Function: Assemble a header with a symbol, navigation links, and a button group of workers that continues to be horizontal on Desktop alternatively adapts cleanly on Tablet and Phone.
The Downside On Cellular: Navigation links and buttons can change into cramped or misaligned, and the button group of workers may need different sizing behavior than the main menu.
The Solution: Use a mom or father Column for the entire header row and Module Groups for similar items. The logo and menu can sit in one group of workers, while the CTA buttons can sit in every other. This gives each part of the header its private Flexbox settings and responsive sizing.
Settings Used: At the Column level, set the Structure Course to Row, set the Horizontal Hollow and Vertical Hollow to 10px, set Justify Content material subject material to Space Between, and set Align Items to Center.

For the Module Group, set Justify Content material subject material to Space Between and Align Items to Center.

On the Phone breakpoint, set the Column Vertical Hollow to 15px and leave the remaining settings unchanged apart from your design needs a distinct mobile building.

At the side of the Flexbox settings, alter the Sizing for the Module Group all through breakpoints. Set the Group width to 75% on Desktop, 65% on Tablet, and 100% on Phone. That is serving to the emblem and menu group of workers use the available width additional effectively on smaller shows.

In the end, set each Button‘s width to 80vw on the Phone breakpoint so the buttons can span a whole lot of the viewport.

Example 5: Tag Cloud

Function: Create a flexible tag cloud or magnificence row that flows horizontally on higher shows and wraps naturally on smaller shows.
The Downside On Cellular: Tag clouds can change into cramped, uneven, or hard to tap when tag lengths vary.
The Solution: Use a single Column or Module Group with Structure Course > Row and Structure Wrapping > Wrap. Practice Horizontal Hollow and Vertical Hollow at the mom or father level so tags have consistent spacing as they wrap. Given that construction is designed to wrap naturally, it is going to perhaps often use the identical Flexbox settings all through breakpoints.
Settings Used: The Column uses Structure Course > Row, a 10px Horizontal Hollow, and a 10px Vertical Hollow. Justify Content material subject material and Align Items are each and every set to Center, and Structure Wrapping is enabled. The ones settings keep consistent all through breakpoints.

Step-Via-Step Assemble
Let’s walk via construction a custom designed menu that includes a emblem, navigation links, a CTA, and a mobile menu. Throughout the tip, you’ll understand how to combine Flexbox, Module Groups, Link loops, Canvases, and Interactions for a responsive navigation workflow.

Set Up The Primary Row Development
Get began by way of together with a single-column row to a brand spanking new internet web page inside the Visual Builder. If sought after, select Flex since the Structure Style. Throughout the Row’s Design tab, magnify the Structure chance group of workers. Set the Horizontal Hollow to 0px, set the Vertical Hollow to 5px, and make allowance Structure Wrapping > Wrap.

Open the Column settings and transfer to the Design tab. Throughout the Structure chance group of workers, set the Structure Course to Row so items waft from left to right kind. Set Justify Content material subject material to Space Between, set Align Items to Center, and make allowance Structure Wrapping > Wrap.

Now add every other Column to the Row. Throughout the Row’s Content material subject material tab, magnify the Elements chance group of workers and click on at the + Add Section button with the intention to upload the Column.
Switch to the Design tab for the new Column. Set Structure Course to Row, Justify Content material subject material to Space Between, Align Items to Center, and Structure Wrapping to Wrap.

Previous than moving on, open the main Column and assign a Background Color, 15px Border Radius, and 10px Padding on all 4 sides.
Add Modules To The Row
Throughout the first Column, add a Module Group to hold an Icon module and a Text module. Style the modules as sought after. Then, inside the Group’s Structure settings, set the Horizontal Hollow to 10px, set Structure Course to Row, and set Align Items to Center.
![]()
Add a Social Media Follow module outside of the Group and magnificence it as sought after.

In the second Column, add an Image module and two Module Groups. The Image module will serve as the emblem. The Module Groups will grab the navigation links, hidden hamburger icon, and CTA.

Throughout the first Group’s Structure settings, set Horizontal Hollow to 15px, Structure Course to Row, Justify Content material subject material to End, and Align Items to Center.

Add a Link module to the Group and magnificence the link as sought after, along side hover and vigorous states.
Throughout the Link module’s Content material subject material tab, magnify the Loop chance group of workers and make allowance Loop Section. Make a selection Menu since the Query Kind and choose your number one menu.

To assign the menu products names, magnify the Text chance group of workers, click on at the Insert Dynamic Content material subject material icon, and choose Loop Menu Text.
In the second Module Group, add an Icon module and a Button module, then style them as sought after. Throughout the Group’s Design tab, set the Structure Course to Row.

Cover the hamburger Icon module on Desktop so it absolute best turns out at the Tablet and Phone breakpoints.
![]()
Then cover the Module Group with the desktop navigation links on the Tablet and Phone breakpoints.

Create The Cellular Menu
In this step, we’ll create a separate Canvas to hold the mobile menu. Click on at the Canvas dropdown menu, select Add Canvas, give it a name similar to Cellular Menu, set a Z-Index of 99999, and click on on Add Canvas.

When the Canvas such a lot, add a single-column row with an Icon module and a Module Group. Open the Section settings and transfer to the Design tab. Make larger the Sizing chance group of workers and set the Width and Max Width to 80%. Select Center for the Section Alignment.

Then open the Column settings and set the Vertical Hollow to 10px.

Next, open the Module Group settings and set the Horizontal Hollow and Vertical Hollow to 15px.

Assign a Close icon to the Icon module, set an Icon Size, and magnify the Sizing chance group of workers to set the Alignment to End.
![]()
Add a Link module, style it, and make allowance looping on your WordPress menu.
Create The Interactions
Previous than final the Canvas, create an Interplay that closes the mobile menu on click on on. Make a selection the Icon module and transfer to the Difficult tab. Make larger the Interactions chance group of workers and click on on + Add Interaction.

Select Click on on since the Reason Event, give the Interaction a name, choose Cover Section since the Affect Movement, and choose Section (Cellular Menu) since the Function Module.
Tip: To make Interactions easier to keep watch over, label your sections clearly so that they’re easy to identify inside the Layers Panel.

Previous than heading once more to the Primary Canvas, magnify the Visibility chance group of workers and disable the mobile menu segment on all breakpoints. Save the Canvas.

In the end, open the Position chance group of workers, set Position to Absolute, set Offset Basis to Best Center, and observe a -50px Vertical Offset so the mobile menu turns out with regards to the main menu when opened. You need to want to alter this worth depending on your header top and spacing.

Switch once more to the Primary Canvas, select the hamburger Icon module, transfer to the Difficult tab, magnify the Interactions chance group of workers, and create a brand spanking new Interaction that opens the mobile menu on click on on.

Save the Primary Canvas, open the internet web page in a brand spanking new tab, and test the aptitude.
Best Practices And Guidelines
Listed below are a few smart tips to help you assemble upper button, menu, and link rows with Divi 5.
1. Select Wrap Vs. Column Course Correctly
Use Structure Wrapping when you wish to have items to waft naturally onto new strains as area becomes limited. This works neatly for tag clouds, link rows, and button groups that experience the good thing about automated wrapping.
Switch to Column course when you wish to have a strict vertical stack, similar to a mobile menu or full-width CTA group of workers. Steer clear of forcing Column course too early, specifically on Tablet, on account of it is going to perhaps make layouts longer than necessary.
2. Prioritize Crucial CTAs With Display Order
On mobile, you’ll use Display Order to move a primary button, key link, or important menu products earlier inside the visual waft. A unfavorable worth, similar to -1, can pull an products ahead of various portions at a selected breakpoint.
Use this selectively. A clean provide order will have to however do a whole lot of the artwork, with Display Order used absolute best when the mobile hierarchy needs a centered adjustment.
3. Use The Loop Builder For Menu Links
When construction custom designed menus with the Link module, you don’t wish to manually create a separate Link module for every internet web page on your web site. Add a single Link module, open its settings, transfer to the Loop chance group of workers, and toggle Loop Section on. Set the Query Kind to Menu and choose your WordPress menu.
The use of the Loop Builder gives you additional keep watch over over link styling and helps your menu mirror updates when the connected WordPress menu changes.
4. Use Flexbox Controls For Speedy Alignment
For an bizarre emblem, menu, and button construction, set the mum or father container to Structure Course > Row, set Align Items to Center, and use Justify Content material subject material > Space Between. It’ll position the emblem, navigation, and CTA in a balanced horizontal row without relying on guide margins.
Then use Module Groups when part of the header needs its private alignment behavior, similar to a menu group of workers, social icon group of workers, or CTA button group of workers.
5. Assemble Further Difficult Menus With Interactions And Canvases
You’ll use Divi 5’s Interactions and newer menu options to create additional complicated setups, similar to mobile overlays, dropdown-style menus, or mega menus. While Link modules artwork neatly for simple navigation rows, the newer Link and Dropdown modules, Canvases, Loop Builder, and Interactions make it conceivable to build additional custom designed navigation patterns inside the Visual Builder.
Download The Layouts
That can assist you apply along, we’ve created a zip report containing the examples from this publish. You’ll to find an ALL report containing all sections, a folder with particular person sections, and a folder containing the entire step-by-step example.

To use the ALL report or particular person sections, import them into the Divi Library. Cross to Divi > Divi Library and click on at the Import & Export button.

Switch to the Import tab, choose an particular person JSON report or the ALL report from your computer, and select Import Divi Builder Layouts.

To use an imported segment, open a internet web page inside the Visual Builder. Click on at the blue + icon with the intention to upload a work to the internet web page.

Switch to Add From Library and choose the segment you wish to have with the intention to upload to the internet web page.

For the step-by-step example, permit the Export & Import Internet web page Bar Icon. Click on at the Workspace icon inside the Builder Bar, to find Export & Import beneath Internet web page Bar Icons, and click on at the Export & Import icon inside the top bar of the Visual Builder.

Switch to the Import tab, to find the folder containing the Menu – Step Via Step.json report, and select Import Structure. This JSON report should be uploaded this solution to import the Cellular Menu Canvas associated with it.

Must you intend to use the example as your web site’s navigation, you’ll add it as a World Header inside the Theme Builder after importing the construction.

Grab Flexible Button, Menu, And Link Rows With Flexbox
With Divi 5 and its Flexbox Format Device, you’ll assemble button groups, link rows, custom designed menus, and tag clouds that adapt all through show sizes while staying easier to deal with.
The necessary factor is picking the right building for each construction. Use Row course for horizontal layouts, Column course for strict vertical stacks, Hollow for centralized spacing, Structure Wrapping for natural line breaks, and Module Groups when a collection of portions needs its private construction behavior.
In Section 8, we’ll dive deeper into one of the vital essential biggest workflow shifts in Divi 5: using Gaps instead of guide margin for cleaner spacing strategies.
Obtain Divi 5, import the example layouts built-in with this publish, and get began experimenting with flexible button, menu, and link rows. Drop a observation underneath and let us know which example you found out most useful, or what navigation downside you’re however running via.
The publish Phase 7 Of Mastering Flexbox: Construction Versatile Button, Menu, And Hyperlink Rows seemed first on Chic Issues Weblog.






0 Comments