DudaFlex is a mode for designing pixel perfect, responsive sections with additional design capabilities. It is integrated in the editor, meaning you can seamlessly switch between DudaFlex and the classic editor. Compared to the classic editor, DudaFlex offers design capabilities such as auto layout, multiple element alignment and distribution, responsive size units, and more control over columns. These design capabilities allow you to create and edit responsive designs more quickly than in the classic editor.
The following provides definitions for terminology specifically related to DudaFlex.
Flex mode. Where you create and edit flex sections. In flex mode, you have access to design capabilities that are not present in the classic editor.
Flex section. A row with default flex columns that create a layout. You can add, remove, or change the order of flex columns within a flex section. Flex sections can be saved as templates for future use.
Flex column. Where you add widgets. Flex columns have an auto layout, meaning the widgets inside are automatically aligned vertically or horizontally. Due to the auto layout you cannot move elements freely inside of a flex column, instead you have to use the alignment, spacing, and margin settings to move elements.
Vertical and horizontal flexboxes. A container that automatically aligns widgets within it vertically or horizontally. Due to the auto layout you cannot move elements freely inside of a vertical or horizontal flexbox, instead you have to use the alignment, spacing, and margin settings to move elements.
Advanced grid. Used to create free-form compositions or overlapping elements. The advanced gird does not provide auto layout or vertical alignment like flex columns. Due to this, we recommend you check your design on all breakpoints.
Breakpoint. Pixel ranges that correspond to the width of different devices, such as desktop, tablet, and mobile. When the width of a device is within a breakpoint’s predefined pixel range, the layout of the site is adjusted so the content and design is optimized for that device size and orientation.
Hierarchy of Elements
In flex mode, flex sections contain flex columns, and flex columns contain widgets. This is a default hierarchy, meaning you cannot add a widget to a flex section without having a flex column.
There are several methods to select an element (flex section, flex column, or widget):
Hover over the element and click. When hovering over an element, look for the blue outline that indicates what element your click will select.
Select elements from layers panel. In the side panel, click Layers. From here, you can select any element from the selected section.
Select elements from design panel. Click the breadcrumbs in the design panel to select an element.
Select elements from the floating menu. If you already have an element selected, hover over the element name in the floating menu and the other elements within that section appear.
The layers panel displays on the left side of flex mode and shows the flex elements in the selected section. Elements are displayed according to their hierarchy, with sections as the top level. From the layers panel you can add new elements, select elements, rearrange elements, rename elements, and hide or show elements on certain breakpoints.
The design panel displays on the right side of flex mode and contains your design controls for the selected element (flex section, flex column, or widget). The design options include layout, sizing, alignment, and more depending on the selected element.
The floating menu appears when you select an element. From the floating menu you can toggle between elements, add elements, open the content or design panels, duplicate the element, adjust alignment, delete the element, and more.
What’s the difference between DudaFlex and the classic editor?
Compared to the classic editor, DudaFlex offers additional design capabilties that enable you to more quickly and easily create responsive sites. The following are design capabilities that DudaFlex offers but the classic editor does not:
Save time. Flex is based on auto-layout, meaning the design is optimized to match any breakpoint.
Content alignment. Allows you to align all elements in a flex column at the same time. In the classic editor, you have to align each element individually.
Automatic alignment. Flex columns and flexboxes automatically align elements vertically or horizontally.
Number of columns. In flex mode you can add more than 4 columns to a section with up to 100% screen width.
Space between items. Allows you to set the space in between items once and it applies to all elements in a flex column.
Element sizing. Adjust element sizes to optimize for screen height in pixels and screen width in percentage.
Faster editing. With DudaFlex advanced design capabilities you can edit an existing design much more quickly than in the classic editor.
What’s the difference between DudaFlex version 1.0 and version 2.0?
Anything created with DudaFlex before July 18, 2022, was created using DudaFlex version 1.0. Templates or team sections created previously will continue to be edited using DudaFlex version 1.0, but going forward newly created designs will use DudaFlex version 2.0. If you are editing a template or team section created in DudaFlex 1.0 there will be an indicator that reads DudaFlex version 1.0 on the top bar, on the section name, and in the layers panel. After July 18, 2022 all new sites or sites that did not previously use flex are on DudaFlex version 2.0 and cannot access DudaFlex version 1.0.
DudaFlex version 2.0 is more simplified and similar to the classic editor than version 1.0. Version 2.0 provides more predefined components so users can create and edit designs more quickly. Instead of using a grid to place objects on, users can now add columns which act as a layout to put widgets in. The columns provide the user with auto-layout, meaning objects will look great on each breakpoint without extra editing.