Anasaki Studio

Designing pages

Designing pages in the designer

Drag and drop, arrange with Auto layout, adjust tablet and phone separately, set colours and fonts once for the whole site — familiar if you have used Figma

14 min readLast updated

View as Markdown

On this page

The Anasaki Studio designer works much like Figma: what you see on the canvas is the real page, pixel for pixel. Open it from Pages → Design (or Edit the home page on the dashboard) and from Post templates / Components. You need the "Design pages, menus and templates" permission (edit_pages).

The screen#

WhereNameWhat it is for
LeftLayersThe page structure: search layers, hide/lock them and drag to reorder
LeftAssetsReady-made sections, basic elements, data that updates itself, components and plugin blocks — drag onto the canvas, or click to add after the selected layer
RightDesign / ContentDesign = size, colour, type and layout · Content = text, links, images and site data of the selected layer
TopBreakpointsSwitch between Desktop / Tablet / Phone (Alt+1/2/3)
Top right🕘 Version history · Save · PublishGo back to a version, save (Ctrl+S) and publish for everyone

What you can place#

  • Ready-made sections — a hero (big banner), 3-column features, image with text, latest posts, a contact call-to-action and a freeform area — click one and edit the text
  • Basic elements — text, image, button, frame, shapes, embeds (Google Maps, YouTube) and a file download button
  • Data that updates itself — post lists, navigation menus and the post content (used in templates)
  • Plugin blocks — blocks of active plugins, such as a form from the Forms plugin

Everyday techniques#

  • Frames and Auto layout — a frame groups layers: vertical, horizontal, 2/3/4 columns or freeform. Horizontal and column frames placed from Assets already stack vertically on phones. For a row you made horizontal yourself, tick Stack on phones under its direction buttons (CMS 2.3.0) instead of fixing every row in the phone view. In tablet/phone mode, layers that overflow the screen get a red outline and a count above the canvas. Set the number of columns of a horizontal auto layout to build a card grid.
  • Gaps and padding — drag the pink bars on the canvas to change the gap and padding directly
  • Free move — drag a layer anywhere; hold Ctrl to switch between reordering and free placement
  • Multi-colour text — double-click a text, select words and use the toolbar to make them bold, change their colour or add a link inside the line
  • Post lists — choose one of 4 ready card styles (image on top, horizontal, compact list, text only); edit the first card and the others follow. Pick the category, the number of posts and the order (newest, oldest, title A–Z or your manual order)
  • Automatic data — put site data into text, such as {{site.title}} or {{post.title}}, with Insert data (data binding) on the Content tab
  • Shortcuts — press Ctrl+/ to see them all (they work with Thai and English keyboard layouts; on a Mac use ⌘ instead of Ctrl). Rename a layer with F2 or Ctrl+R. Typing quickly outside a text field never switches tools.
  • Clicking an asset — the new layer goes after the selected one; with a frame selected it goes inside that frame. Shift+click places it after the frame instead. In an auto layout, "Bring to front / Send to back" (Ctrl+Shift+[ / ]) moves the layer to the top / bottom.
  • Free placement (absolute) — dragging a layer out of an auto layout shows a warning with an Undo button, because the layer then stays in the same spot on every screen size and may overflow or overlap on phones
  • Full screen height — tick At least the screen height under Min H for a hero section and enter the menu bar's height in Screen − (e.g. 64): the section fits the screen on every device
  • Buttons with icons — Content tab of a button → Button icon: pick an icon and put it before or after the text. By default the icon is a little larger than the text; set its size in Icon size (px)
  • Image gallery / lightbox — tick Open large on click on an image's Content tab (CMS 2.4.0). Visitors click to see the image full screen; ticked images in the same frame form one gallery they page through with ‹ ›, the arrow keys or a swipe, and Esc closes it. Or place Gallery from Assets → Interactive and swap the images.
  • System font — a layer's font list has System font (system-ui): the visitor's own font, nothing to download
  • Field labels — Content tab of a field → Label (for screen readers): the name screen readers announce to blind visitors. Left empty, the placeholder is used.
  • Resize handles — the size only changes after you drag more than 4 px, so a click on a handle never turns "Hug contents" into a fixed height
  • Hover colours — Design tab → On hover: set the background, text and border colours, or pick an effect (lift, grow, glow, fade)
  • Menus: the current page's link — Content tab of a menu → Menu links: spacing and corner radius of the links and the colour of the link to the page the visitor is on (for example a pink pill for the current page)
  • Name for code — Content tab → Name for code lets a code block find the layer with anasaki.ref('name'). See The designer API
  • Searching and filtering post lists — place a search or select field and, under Use as a filter, pick the post list (q = search words, cat = category; press Use this list's categories as options)
  • Code blocks — press ⤢ Expand to open a large code editor (Esc to shrink it)

Figma-style features added in 2.2.2#

WhereWhat it does
Size → Min W / Max HAt least this wide / at most this tall (px), next to the existing Max W and Min H
Size → Aspect ratioKeeps 1:1, 4:3, 16:9, 9:16 and more while the box stretches — for images, embedded videos and cards (height Hug or Fill)
Size → Scroll insideOverflowing content scrolls horizontally, vertically or both — e.g. a row of cards that scrolls on phones
Layer → Blend modemultiply, screen, overlay and others, like Figma's layer blend
Text → At most N linesCuts long text and ends it with … — good for post titles in cards
Stroke → Sides with a strokeA stroke on the top, right, bottom or left only — e.g. a line under a heading or between list items
Edit menu → Copy CSS (Ctrl+Alt+Shift+C)Copies the selected layer's CSS exactly as the live site uses it (like Dev Mode)

Site colours and fonts (theme)#

Click an empty spot outside the canvas and the right panel shows Site colours and fonts (theme):

ValueUsed for
PrimaryButtons, links, highlighted headings
SecondaryThe companion of the primary colour
AccentBadges, eye-catchers
Text / muted textBody text / descriptions and dates
Soft backgroundBackgrounds of sections
Heading font / body fontDefault Inter + Noto Sans Thai
Use the phone / tablet design belowDefault ≤ 640 px / ≤ 1024 px; choose 767 if you are used to Tailwind (md = 768). One setting for every page of the site

Press Save theme and every layer using a theme colour (the round buttons above the colour field) changes across the whole site. For a fixed colour on one layer, use Detach colour.

Adjusting for tablets and phones#

Press Tablet or Phone at the top and edit as usual: your changes apply to that screen size and smaller. The right panel lists what is adjusted separately; press ✕ to go back to the desktop value. Hide a layer on some screen sizes only with Ctrl+Shift+H.

Save, publish and version history#

  1. Press Save (Ctrl+S) to keep your work
    • A page that is not published yet: saved straight to the page, and the previous version is kept (up to 25 versions per page)
    • A page that is already published (CMS 2.3.0): kept as a draft — visitors still see the published version, and the left panel shows ◐ Unpublished changes. Edit and save as often as you like, so big changes never show up half-done.
  2. Press Publish (Ctrl+Shift+P) for visitors to see it: the draft goes live in one go
  3. Don't want your changes? Press Discard draft next to the ◐ mark and the page goes back to the published version
  4. Made a mistake? Press 🕘 Version history → Preview → Use this version, then save (a published page gets it as a draft first; publish when ready)

The ▶ Preview button shows what is in the designer at that moment, including an unpublished draft.

Custom code blocks (your own HTML/CSS/JS) can be added or edited only with the edit_scripts permission; other users see them locked. For binding data from code (collections, conditions, actions) see Binding data to the designer.

Next: Post templates and components