Nearly all of website online guests browse on cell gadgets, so making sure the hero phase is responsive is the most important in your good fortune. With Divi 5’s Flexbox format machine, reordering hero content material for various display sizes is fast to do. The mixing of Flexbox and Customizable Responsive Breakpoints makes it simple to regulate content material, letting you fine-tune layouts with a couple of clicks.
On this publish, we’ll dive into development and reordering a hero phase with Flexbox, so that you’ll higher perceive the machine and how you can use it.
What Is Flexbox?
Flexbox, brief for Versatile Field Structure, is a CSS format style designed for arranging components in rows or columns. It lets in pieces to dynamically increase, shrink, or wrap to suit the to be had house. This makes it ideally suited for developing versatile and responsive designs with exact keep an eye on over alignment, spacing, and ordering.
In Divi 5, Flexbox has been absolutely built-in because the core format machine, marking an evolution from earlier variations. It replaces older methods, reminiscent of Uniqueness Sections and Fullwidth Sections (that have been deprecated), getting rid of most of the constraints that required workarounds. In Divi 5, you not wish to reproduction content material or use customized CSS for responsive reordering. At its core, Divi 5 lets you use Nested Rows and Module Groups, and lets in for limitless format probabilities.
Operating with Flexbox in Divi 5 is simple. When including new rows, Flex is chosen because the default format taste, except you select a Grid-specific construction. When the use of Structure Packs or Divi Starter Websites, you’ll lately have to change from Block to Flex. It’s as simple as opening the Design tab within the Row’s settings, increasing the Structure menu, and environment Structure Taste to Flex.

From there, you’ll acquire get admission to to intuitive controls for Structure Route, Justify Content material, Align Pieces, and Structure Wrapping. Those settings are absolutely responsive, taking into consideration distinctive layouts in step with breakpoint proper throughout the Visible Builder.
Key Options Of Flexbox

- Structure Route: Make a choice from Row, Row Opposite, Column, and Column Opposite to keep an eye on the principle axis and glide of components. This environment is perfect for reversing content material order on cell or switching to vertical stacking.
- Justify Content material and Align Pieces: Exact horizontal and vertical alignment choices, together with Get started, Middle, Finish, Area Between, Area Round, Area Lightly, and Stretch, for best possible spacing and positioning.
- Structure Wrapping: This environment makes a decision how components behave when house is restricted. Use Wrap for pieces to glide to a brand new line, Wrap Opposite, or No Wrap to stay pieces on one line.
- Nested Parts: Limitless nesting of rows and modules allows advanced, multi-level designs, reminiscent of overlapping-element grids.
- Responsive Integration: Seamlessly pairs with Divi 5’s Customizable Responsive Breakpoints and the Responsive Editor, permitting per-device tweaks like distinctive instructions, alignments, or particular person column reordering.
- Construction Templates: A collection of pre-built row templates that leverage Flexbox for fast begins on hero sections and past.
Advantages Of Flexbox
Flexbox in Divi 5 simplifies responsive design by way of letting you reorder components throughout gadgets very easily. The usage of Show Order and Structure Route adjustments, you’ll be able to prioritize content material — like transferring textual content above photographs on cell — with out duplicating sections, hiding modules, or including customized CSS.
It additionally boosts flexibility, permitting components to develop, shrink, or wrap dynamically to suit any house. This ends up in fluid layouts that adapt easily to other display sizes and ranging quantities of content material. Flexbox generates cleaner, lighter CSS for sooner web page a lot and a extra responsive Visible Builder enjoy, even with advanced, nested layouts.
The intuitive controls put the ability at your fingertips during the Visible Builder’s real-time previews and responsive toggles, making changes fast and simple.
How To Reorder Hero Content material According to Breakpoint
This phase will stroll you via how you can reorder hero content material at each and every breakpoint — Desktop, Pill, and Telephone — so that you’ve got a blank, constant hero phase that presentations superbly on any display dimension. I gained’t stroll you during the design procedure. As an alternative, I’ll focal point on demonstrating how you can use Divi 5’s Flex settings to create a responsive hero phase in a couple of simple steps.
Enabling Responsive Breakpoints In Divi 5
Prior to starting, be sure that you allow all seven customizable responsive breakpoints. This may occasionally assist you to keep an eye on how your website online appears to be like throughout other display sizes.
Find the ellipsis menu within the toolbar on the height heart of the Visible Builder. Make a selection it to open the settings.

When the Sitewide Responsive Breakpoints modal seems, toggle on the breakpoints you need to allow. Click on the Save button after which Replace so as to add the ones breakpoint perspectives to the Visible Builder.
Past the default Desktop view, we’ve added six new breakpoints. With them, you’ll be able to simply view and edit designs from Extremely Vast to Telephone Vast, in addition to Pill and Telephone perspectives. Adjustments are stored particularly to each and every breakpoint, permitting you to edit particular person perspectives with out affecting the others.
Working out Show Order and Construction Templates
One in all Flexbox’s very best options for responsive reordering is the Show Order box. In Divi 5, you’ll be able to assign an order worth to particular person columns inside of a Flex row. Those values help you change column positions with out the use of Visibility settings or customized CSS. For instance, you’ll be able to stay a picture at the left and textual content at the proper for desktop, then set the textual content column to reserve 1 and the picture to reserve 2 on cell so the textual content seems first.

You’ll assign any numerical worth within the Show Order box, with the default all the time set to 0. Pieces with decrease numbers seem first within the visible glide, whilst upper numbers come later. For instance, set a Column to 1 to make it seem first. Set every other to 2 or go away it at 0 if you need it first. Unfavourable numbers also are allowed if you wish to have to push one thing to the very height.
Those order values are absolutely responsive. Set them as soon as in step with breakpoint within the Visible Builder. This will give you exact keep an eye on over stacking order with out converting the underlying HTML construction or depending on CSS.
What Are Construction Templates?
Complementing Show Order are Divi 5’s Construction Templates. You’ll alter the column construction for smaller display sizes to keep an eye on how content material is displayed.

For instance, a two-column format on Desktop can also be modified to a one-column format for pill and cell, putting in place a greater viewing enjoy in your website’s guests.
Construction Templates are pre-built Flex or CSS Grid row configurations, like Equivalent Columns, Offset Columns, or Multi-Row stacks, that you’ll be able to follow with one click on by the use of the Observe Construction Template button within the Row’s Content material tab.

You’ll follow a distinct template for each and every breakpoint, permitting the similar row to become totally for Capsules, Telephones, and even Extremely Vast perspectives with out duplicating content material or the use of CSS.
Reordering Content material For Capsules & Telephones
With all customizable responsive breakpoints enabled, we will alter each and every one to make sure the most productive imaginable surfing enjoy.
Modify The Pill Vast Breakpoint
On this format, we have now a two-column Row with a Nested Row in the second one Column. Get started by way of clicking at the Pill Vast breakpoint.

Within the Content material tab, click on the Observe Construction Template button underneath the Column components.

When the Reset Pill Vast Column Construction modal seems, make a selection a pre-made template to switch the column construction of the Row. On this instance, I’ll make a choice an Offset Column template to present the content material in the second one column extra respiring room.

Whilst within the Pill Vast view, transfer to the Design tab. Amplify the Structure dropdown menu to regulate the row’s Flex homes. Within the Align Pieces box, make a selection Get started to align all content material to the highest of the row.

Modify The Pill Breakpoint
Subsequent, click on at the Pill breakpoint.

Within the Pill Vast breakpoint, our three-column row (offset row + two-column nested row) has numerous house. Then again, at the Pill breakpoint, the content material turns out cramped. Let’s click on Observe Construction Template over again. This time, make a selection a one-column row from the Equivalent Columns choices.

Scroll right down to the Nested Row. Click on the Observe Construction Template button over again and make a selection a single-column row.

With our column construction in position, we wish to do extra paintings to reach the supposed glance.
That is the place column reordering comes into play. Make a selection the row after which click on to edit the first column‘s settings.

Subsequent, increase the Order dropdown menu and set the Show Order to 1.

As you scroll the phase, you’ll see that the columns were reversed, permitting the content material to glide extra naturally.
Repeat the stairs as important to reorder any further rows within the hero phase.
Trying out And Superb-Tuning Throughout Gadgets
With reordering whole, it’s time to check the hero phase throughout all breakpoints. Cycle via each and every breakpoint and make any important revisions.
Preview the reside web page during the browser the use of Divi 5’s Preview function.

You’ll additionally browse display sizes the use of third-party programs like Sizzy or view them on precise gadgets, as real-world trying out steadily unearths delicate problems chances are you’ll another way omit.

All the way through this section, double-check alignment problems and make ultimate polish revisions the use of Flexbox settings, reminiscent of Align Pieces or Justify Content material. Use Divi 5’s Horizontal and Vertical Hole controls to regulate the volume of spacing between pieces all over the format.

As soon as the whole lot appears to be like best possible throughout gadgets, save your adjustments and put up the web page.
You’ve now effectively reordered content material in your hero phase with out duplicating sections or the use of customized CSS, demonstrating the transformative energy of Flexbox in Divi 5.

Obtain The Recordsdata
Fill out the shape under to obtain the educational’s operating recordsdata. The incorporated JSON comprises two variations: a base report with out Flex settings, and a finished model that includes the reordered hero phase content material for each and every breakpoint.
@media best display and ( max-width: 767px ) {.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:prior to { border-top-color: #ffffff !vital; border-left-color: clear !vital; }.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:after { border-bottom-color: #ffffff !vital; border-left-color: clear !vital; }
}.et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !vital; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_fields i { colour: #f92c8b !vital; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_custom_field_radio i:prior to { background: #f92c8b !vital; } .et_bloom .et_bloom_optin_1 .et_bloom_border_solid { border-color: #f7f9fb !vital } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !vital; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 robust { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; }.et_bloom .et_bloom_optin_1 .et_bloom_form_container p, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p robust, .et_bloom .et_bloom_optin_1 .et_bloom_form_container shape enter, .et_bloom .et_bloom_optin_1 .et_bloom_form_container shape button span { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; } p.et_bloom_popup_input { padding-bottom: 0 !vital;}
Obtain For Loose
Sign up for the Divi Publication and we can e-mail you a duplicate of without equal Divi Touchdown Web page Structure Pack, plus heaps of alternative wonderful and loose Divi sources, pointers and tips. Apply alongside and you’ll be a Divi grasp very quickly. If you’re already subscribed merely kind on your e-mail deal with under and click on obtain to get admission to the format pack.
You’ve effectively subscribed. Please verify your e-mail deal with to verify your subscription and get get admission to to loose weekly Divi format packs!
Conclusion
Flexbox in Divi 5 represents a forward-thinking responsive internet design machine that makes it more uncomplicated than ever to construct hero sections that glance shocking throughout all display sizes. With intuitive controls for Structure Route, Show Order, Construction Templates, and seamless integration with Customizable Responsive Breakpoints, you’ll be able to reorder content material with a couple of clicks.
We inspire you to download the latest Divi 5 Public Beta, experiment with Flexbox, and percentage your ideas within the feedback under.
The publish How To Reorder Hero Content Per Breakpoint With Flexbox In Divi 5 seemed first on Elegant Themes Blog.
Contents
- 1 What Is Flexbox?
- 2 How To Reorder Hero Content material According to Breakpoint
- 3 Obtain The Recordsdata
- 4 Obtain For Loose
- 5 You’ve effectively subscribed. Please verify your e-mail deal with to verify your subscription and get get admission to to loose weekly Divi format packs!
- 6 Conclusion
- 7 Most sensible 5 Symbol Upscaling Equipment to Check out in 2023 (Evaluate)
- 8 The 4 Greatest Shopper Conduct Shifts of 2023 [According to New Data]
- 9 Easy methods to Use Development Mix Modes on Your Divi Background Photographs



0 Comments