Skip to main content

Adjust Table Box Design and Size

Learn how to customize the appearance of a Table Box—including width, row height, borders, and backgrounds. This guide also covers sticky rows and columns for scrolling and optimizing table layouts for mobile devices.

A Table Box's visual styling is primarily configured at the cell level. Selecting a row or column lets you apply settings to all cells within it at once.

This article explains how to adjust sizes, borders, and cell styles, as well as how to configure sticky headers and mobile layouts. To learn how to insert a table or manage rows and columns, see Add a Table Box in the Editor.

Configurable Properties by Selection

Available settings in the right panel depend on which part of the Table Box you have selected:

Selected Element

Configurable Properties

Entire Table Box

Width, margin, border, background, border collapse, cell spacing

Row / Column

Bulk styling for all cells in the row or column

Cell

Padding, border, background, alignment, direction, text wrap, shadow

Element inside a cell

Same as standard elements

Unavailable properties are either hidden or grayed out in the right panel. Hovering over a grayed-out option displays: "Cannot be set on this table element."

Adjust Table Size

Resize a Table Box by dragging its borders or entering exact values in the right panel. Unlike standard boxes, Table Boxes and cells do not display resize handles.

Available units depend on what is selected:

Selected Element

Width

Height

Entire Table Box

px / % / auto

Not configurable

Column

px / % / auto

Not configurable

Row

px / % / auto

px / auto

Width units vw and flex, and height units vh, dvh, and %, are not supported. See Box Size Units for details.

Adjust Column Width

  1. Select the table.

  2. Hover over a column border to view its current width.

  3. Drag the border left or right.

The dragged column's width is set in px, leaving other columns unchanged. To enter an exact value, click the border to select the column and type the width in the right panel. Double-click the border to reset the width to auto.

Adjust Row Height

  1. Select the table.

  2. Hover over a row border.

  3. Drag the border up or down.

This sets the height (in px) of the row directly above the border. Double-click the border to reset the height to auto.

Note: Row height cannot be smaller than cell content

A row's minimum height is determined by the height of the boxes inside its cells. If you enter a smaller value, it automatically adjusts to fit the content and displays: "Cannot set a value smaller than the height of the box inside the cell." To make a row shorter, reduce the size of the inner elements or decrease cell padding.

Adjust Overall Table Box Width

  1. Select the entire Table Box.

  2. Drag the right edge of the Table Box left or right.

As it approaches the parent box's width, it snaps to 100%. You cannot set a height for the entire Table Box—adjust individual row heights instead.

Configure Borders and Cell Spacing

Choose whether adjacent cell borders merge into a single line or stay separated per cell:

[Border collapse]

Appearance

Available Options

[Collapse] (Default)

Adjacent cell borders merge into a single line

—

[Separate]

Each cell has its own individual border

Cell spacing, border radius, table padding

  1. Select the entire Table Box.

  2. Open [Table] in the right panel.

  3. Under [Border collapse], choose [Collapse] or [Separate].

  4. If using [Separate], enter values for [Cell spacing] as needed (horizontal and vertical spacing can be set independently).

You can keep [Separate] active with cell spacing set to 0. If you switch back to [Collapse], your cell spacing values are saved.

Tip: Create a card-style table

Select [Separate] and apply cell spacing and border radius to create a detached, card-style table layout.

Style Cells

Configure backgrounds, borders, padding, and alignment by selecting cells:

  1. Select the cell you want to style (or click a row/column handle to select the entire row or column).

  2. Adjust background, borders, padding, and other properties in the right panel.

Rows and columns do not hold styles themselves; selecting a row or column applies your changes to every cell within it.

To prevent layout issues, the following properties cannot be applied directly to cells:

  • Margin

  • Position

  • Transforms (rotate, scale, etc.)

  • Entrance and scroll animations

To use these effects, place a box inside the cell and apply the settings to that box instead. Elements inside cells support all standard properties.

Tip: Ensure sufficient border contrast

The default border color (#cccccc) has low contrast against white backgrounds. For tables relying solely on borders for separation, switch to a darker shade to improve readability.

Pin Rows and Columns on Scroll (Sticky)

Setting rows or columns to sticky keeps them visible on screen while scrolling—ideal for keeping headers pinned in long vertical or wide comparison tables.

  1. Select the row or column you want to pin using its handle.

  2. In the right panel under [Position], select [Sticky].

  3. To unpin, switch [Position] back to [Relative].

You can make any row or column sticky, not just header rows or columns. Sticky rows and columns are outlined in orange on the canvas.

Keep the following rules in mind when using sticky rows or columns:

  • When multiple rows are sticky, only the bottom-most sticky row can have its height set to auto; all sticky rows above it must have an explicit px height.

  • You cannot merge cells across sticky and non-sticky rows or columns.

Tip: Keep borders pinned with sticky rows

Due to browser behavior, borders on sticky rows do not stay pinned when [Border collapse] is set to [Collapse]. To keep borders fixed as you scroll, switch to [Separate] (you can leave cell spacing at 0).

Optimize Display for Mobile Devices

Table Boxes do not automatically scroll horizontally or stack vertically on mobile screens. Adjust settings per breakpoint to fit smaller viewports.

Customize Settings per Breakpoint

Width, height, sticky positioning, border collapse, and cell spacing can be customized independently for each breakpoint:

  1. Switch to the target breakpoint at the top of the Design Editor.

  2. Adjust column widths, row heights, and other settings as usual.

To revert breakpoint-specific overrides, click [Clear overrides] in the right panel.

Enable Horizontal Scrolling

Wide tables can cause the entire page to overflow horizontally. To scroll only the table, wrap it inside a container box and enable scrolling on that box:

  1. Select the entire Table Box.

  2. Press ⌘ + G (Mac) or Ctrl + G (Windows) to group and wrap the table in a box.

  3. Select the outer wrapper box.

  4. In the right panel under [Overflow], select [Scroll].

The Table Box itself does not have an [Overflow] setting—be sure to apply it to the outer wrapper box.

Add an Accessible Table Label

To help screen readers announce the table's name, add an aria-label:

  1. Select the entire Table Box.

  2. Open [Settings] in the right panel.

  3. Enter a descriptive name in the aria-label field (e.g., "Pricing Plan Comparison").

Table Boxes do not support HTML <caption> elements. Placing a heading directly above the table is another effective way to describe its content.

Publish Your Changes

Styling changes will not appear on your live site until you publish:

  1. Check the layout across all breakpoints in Live Preview.

  2. Update your site from the Publish panel.

Related articles

Did this answer your question?