Shapes, the pen and tables
Draw shapes with the Shape tool or your own outline with the Pen, round their corners in the Points panel, and add tables that turn into cards on phones. Each is a real element in your site's code, on every plan.
On this page
Drawing in Xodia: Rectangle is picked from the Shape tool's list and drawn under the bakery's hero button; the Points panel rounds its top right corner, which makes it your own shape, and the Style panel's Styles group fills it with a gradient of three colours.
Draw a shapeLink to this section
Pick the shape
In the canvas tools under the page, the small arrow beside the Shape button lists the shapes: Rectangle, Oval, Triangle, Polygon, Star, Diamond, Heart, Cloud, Speech bubble, Cross, Ring, Arrow, Wave, Squircle and Blob. R picks a rectangle and O an oval.
Drag it onto the page
Drag where it should go; a click puts in a 160px one. Shift keeps it square, Esc stops.
Style it
The Style panel's Shape group changes its type, the points of a star or the sides of a polygon, and adds an outline in any colour and width. Under Styles, Fill takes a colour, a picture or a gradient.
Add elements has a Shapes group too, with the same shapes plus Badge, Pill and Line, to add after the element you selected or drag onto the page.
The Add elements panel open on Shapes: rectangle, oval, polygon, star, triangle, diamond, heart, cloud, speech bubble, badge, cross, ring, arrow, wave, squircle, blob, pill and line, ready to add after the selected element or drag onto the page.
Draw your own outline with the PenLink to this section
Choose the Pen in the canvas tools (P) to draw a vector path of your own. Click to place a point, drag for a curve, click the first point to close the shape, press Enter to finish it open, or Esc to stop.
Move points and round cornersLink to this section
Double-click a shape to edit its points. The Points panel floats over the canvas:
- Click a point to see where it is from the shape's top left corner, and type a new place.
- On a sharp point, Corner rounds it: a radius in px and a smoothing in % for a softer curve, then Round.
- Curve makes the point Sharp, Smooth (its handles in one line) or Free (each handle moves on its own).
- Add point, Delete point and Done; click the outline to add a point where you clicked.
Keys: C sharp or smooth, Delete removes the point, the arrows nudge it (Shift for 10), Tab goes to the next one, Alt-drag moves one handle alone, and Esc is done.
Gradients with several coloursLink to this section
Under Styles, set Fill to Gradient, then pick a Direction: Down, Up, Across, Diagonal or From the centre. Colours shows a bar with a handle for each colour: click the bar to add one, drag a handle to move it, and set each colour and its place in %. Remove a colour with the minus beside it; a gradient keeps at least two.
TablesLink to this section
Choose Table in Add elements, under Basics. It starts with a header row and two rows, and you type into each cell. Select the table, a row or a cell and the Table bar opens over the canvas:
- Row: add a row above or below, or remove the row.
- Column: add a column left or right, or remove the column.
- The header row, on or off.
Each is one change and one undo step. Drag the bar by its title, or close it with its x until you select a table again.
A bakery's Classes table in Xodia with All sizes on: a row is selected with the Table bar over the canvas to add or remove rows and columns, the tablet page keeps the columns, and on the phone page each row shows as a card with its headings.
The Table groupLink to this section
The Style panel's Table group sets Lines (None, Rows or All) and their colour, Stripes, Row hover, the header's fill and text colour, and Cell space (Tight, Normal or Roomy). Select one row or cell to colour it alone.
Small screens chooses what happens on phones: Cards stacks each row as a card with its column's headings, and Scroll keeps the columns and scrolls sideways. Cards on picks from which size: Small phones, Phone (below Tablet) or Tablet (below Desktop). A new table starts with Cards below Tablet.
The Style panel on a table: the Table group with lines between rows, their colour, a header fill, normal cell space, and Cards on small screens from the Phone size, beside the bakery's Classes table with the Table bar.
Collection tablesLink to this section
In Add elements, CMS, pick a collection and choose Collection table. Its rows come from the collection's items, so a new item shows up by itself; the Table bar says to add or remove items in Content, and a column you add changes every row. Collections are part of Xodia CMS.
A Collection table on the bakery's journal page in Xodia: the table is selected, its rows are the Journal collection's posts, and the Table bar says rows come from the collection, so items are added or removed in Content.