Studio Editor: Managing and Customizing Flexboxes
5 min read
Manage and customize your flexboxes to create a unique experience for your visitors. You can resize items to fit your page structure, adjust the display settings, and add, delete, and re-order items as you go.
In this article, learn how to:
Managing flexbox items
Manage your flexbox items to further personalize your content and keep it up to date. You can hide items from breakpoints, change their order, and more.
To manage your flexbox items from the Inspector:
- Click your flexbox.
- Click the Open Inspector arrow
at the top right of the Editor.
- (In the Inspector) Click Manage next to the number of items.
- Choose what you want to do with your items:
- Reorder:
- Hold the Reorder icon
next to the relevant item and drag it to its new position.
- Hold the Reorder icon
- Manage:
- Click the More Actions icon
next to the relevant item.
- Manage the items using the options:
- Duplicate: Make a copy of a specific item.
- Rename: Give each item a name you can recognize.
- Delete: Remove the item completely.
- Hide: Hide this item from the specific breakpoint you're working on.
- Click the More Actions icon
![The Manage items section of the Inspector panel. The cursor is hovering over the option to rename an item.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/651c25b0-2d60-43c8-addf-1df2fd575568/2023/10/17/2e49dd59-ac5e-40eb-9318-e0f7613ecd1a/300d475c-90df-4843-927b-ca4a3dedfcf6.png)
Customizing your flexbox display
Select a flexbox display to complement your page's structure. Depending on the display you choose, you can further customize its look by adjusting settings such gaps, direction, and width.
To customize the display:
- Click your flexbox.
- Click the Open Inspector arrow
at the top right of the Editor.
- Select the Design tab
.
- Click Layout.
- (Optional) Click Display type and select a type from the drop-down.
- Customize your flexbox based on the display type you choose:
- Direction: Decide whether your items are organized from left to right or right to left.
- Item proportions: Click Equalize to give all flexbox items the same size definitions.
- Item width: Select the width of the flexbox items in percentage, or set them all as the max width.
- Gaps: Enter a value (in px, vh, vw, or to scale) for the horizontal and vertical spaces between the flexbox items. Note: If you choose the slider or slides display, the available options (horizontal or vertical) depend on the slider direction you choose.
- Item alignment: Choose how your items should be aligned and positioned. Depending on the look you want to achieve, you can align the items to the flexbox edges (start or end), or create space between / around the items.
- Overflow content: Select whether to hide or display overflow content.
- Slider direction: Display your items on a horizontal or vertical slider.
- Scroll snap align: Click the toggle to enable it. When scrolling through the slides of your flexbox, it "snaps" to each item (slide) so visitors don't miss it.
- Items per slide: Set how many items are displayed per slide action.
- Navigation: Add arrows, a button, or text to help visitors navigate through the items.
- Show scrollbar: Show or hide a scrollbar for your visitors to scroll through the items.
![The Layout section of the Inspector panel. The cursor is hovering over the gaps field.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/651c25b0-2d60-43c8-addf-1df2fd575568/2023/10/17/3aa8cdb7-4759-4e6c-b764-d44e8cb94ed7/76e4f341-7e50-4fd6-810c-e46d495b6edb.png)
Notes:
- The customization options depend on the display style you choose.
- Some older browsers don't support gaps (e.g. Chrome 76-83, Safari 12-14 and Edge 79-83). This means visitors who access your site from these browsers don't see the gaps you set between flexbox items.
Working with breakpoints:
- You can set a different flexbox layout for each breakpoint.
- We recommend the column or slider layout on smaller screens such as mobile devices.
Resizing flexbox items
You can resize each individual flexbox item to make them bigger or smaller than the others. Use the Inspector panel to adjust each item's width and height, as well as the horizontal and vertical margins around items.
To resize an item:
- Click your flexbox.
- Select the item you want to resize.
- Click the Open Inspector arrow
at the top right of the Editor.
- Select the Design tab
and select how you want to adjust the item:
- Size: Enter your chosen size into the field, and select the unit of measurement.
- Position: Select the relevant Margins / Padding option, and enter the chosen amount into the field.
![The Design tab of the Inspector panel. The cursor is hovering over the minimum width field.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/651c25b0-2d60-43c8-addf-1df2fd575568/2023/10/17/cc19497c-323b-4d20-b9a0-0cf34bcb872d/130324cb-5f82-4482-a24a-2f66f4a8a9df.png)
Did this help?
|