Documentation

Search Documentation

Type to search. Use the arrow keys to move through the pages found.

    On this page

    Design

    Design sets how the Site you manage looks. Pages, posts and menus keep their content whatever the look; Dimdata keeps the pages readable and quick on every screen.

    Template, colors and fonts

    Template shows Dimdata's templates, each with a small sketch of its colors, letters and corners; the one in use is outlined. Every Site starts with Classic, Dimdata's standard look. Use this template on another asks whether to keep this Site's changes on top of it or start fresh; nothing changes for visitors until you publish. Dimdata improves its templates from time to time: your Site picks up an improvement wherever you haven't changed that part. None of them sets the Site's color, so yours stays:

    • Classic: Dimdata's own look.
    • Campus: for universities, with serif headings, wide pages and a header in the Site's color.
    • Care: for hospitals and clinics, with friendly letters, round corners and pill buttons.
    • School: for schools, with warm tones, Prompt letters and a centred header.
    • Civic: for agencies, with Sarabun letters, square corners and a dark footer.
    • Journal: for news and magazines, with a narrow reading column, serif letters and rules.
    • Studio: quiet and modern, with wide pages, square corners and plenty of space.
    • Library: warm and made for reading, with serif headings, paper tones and a two-row header.

    CMS Managers can change each color:

    • Site color: buttons, links and highlights. Text on it is chosen for you, and it is shaded a little where its text wouldn't read.
    • Accent color: a second color for highlights. It is the same as the Site color until you choose one. Buttons use it when Button color is Accent color, and custom blocks can use it.
    • Dark sections: the background of blocks whose Background is Dark, with white words on it. It is the Text color until you choose one, and is drawn a little darker than picked when white words would not read on it.
    • Footer background and Footer text: the footer's own colors, in place of its Background choice. With a background only, the footer's words turn white or dark by themselves. A text color counts only while it reads on that background.
    • Text, Quieter text and Hints and dates: the three shades of text.
    • Lines and Outlines: dividers and card edges, and the edges of fields and buttons.
    • Panels: pale areas behind text, such as the footer.

    Pick a color, or type its code such as #8e1b3c. A color changed from the template is marked Changed for this Site; the arrow beside it puts the template's back. The Preview shows the Site's home page (or its first page) with your colors as you change them.

    Fonts: choose one for Body text and one for Headings from fonts that cover Thai and English, all served by the Site itself: IBM Plex Sans Thai (Classic's), IBM Plex Sans Thai Looped (with looped Thai letters), Sarabun, Noto Sans Thai, Prompt, Anuphan, Noto Serif Thai (with serifs), and Inter, an English face whose Thai letters are IBM Plex Sans Thai's. The preview shows them as you choose. English pages use the same fonts unless you choose their own in Body text, English pages and Headings, English pages: Inter for English with Prompt for Thai headings, say.

    Your own fonts: to use your organization's own typeface, select Your font files… and add it as WOFF2 files, one for each weight you use (often 400, 600 and 700), giving every file the same family name. A file can be at most 1 MB, and a workspace keeps at most 12. For each file, tick the box confirming that your organization holds a licence to use the font on its websites; CMS keeps who confirmed it and when. The family then appears under Your fonts in each font choice. Thai letters the font doesn't have are drawn in IBM Plex Sans Thai. A file can't be removed while it is the last of a family a Site's design uses. Adding and removing font files needs the CMS Manager role.

    Headings and spacing: Heading size makes every heading on the Site's pages a little smaller (Compact), as it is (Standard) or larger (Large): heroes, section headings, cards, page and post titles. Heading weight is Regular, Semibold or Bold. Space between blocks is the gap from one block to the next on a page: Compact, Standard, or Roomy, which grows with the screen.

    Buttons: how the main buttons on pages look, in heroes, calls to action, slideshows and searches. Button style is Filled, Outlined (a line around the words) or Tint (a pale wash that fills when pointed at); Button size is Standard or Large; Button color is the Site color or the Accent color. The search button in the header keeps its size.

    Shape and width: how round corners are, for cards, panels and pictures (square, soft, rounded or round) and for buttons and fields (square, soft, rounded or pill), and how wide pages are on large screens (narrow, standard or wide). Side margins is the space beside the content: standard, or roomy, which grows with the screen up to 56px. Every block, full-width ones too, lines up with it, so a custom block doesn't set its own.

    Header: its Layout (Classic; Centered, the name or logo on a row of its own; Stacked, the search on a row of its own; or Menu beside the name, the menu in the same row as the name or logo on screens 1200 px and wider), where the Menu position is in its row (start, center or end), its Menu look (the current item underlined, plain words, or the current item on a pill), whether the Last menu item is drawn as a button, such as Get started, its Background (white, a tint of the Site color, or the Site color itself) and what it does On scroll (stays at the top, scrolls away, shrinks, or hides while visitors scroll down and comes back as they scroll up). Its Search is a box, an Icon that opens a search panel, or None; Bookmarks and account can be hidden for a Site whose visitors never sign in, such as one without a library.

    Text inside search boxes, in Thai and English, replaces “Title, author, subject or ISBN” in the header, its search panel and every Search box block without words of its own; it is published with the design. With the header's Search on Icon or None, the search results pages still show the search box in the header, which stays as visitors scroll; there the header menu, its button included, opens from the Menu button instead.

    Footer: its Layout (Columns, the footer menu as columns; Simple, the menu on one row; or Centered) and Background (pale, white, the Site color or dark; the text color follows). Footer block draws one of your shared blocks in the footer of every page, above the footer menu, one for Thai pages and one for English pages: a logo and address, columns of links, a closing call to action. It looks as it does on a page, whatever the footer's background, and a block set to full width reaches the edges of the screen. It shows once the shared block is published; blocks that list titles or posts are not drawn there. Footer text puts your own words in the footer's last line, where the Site's name stands otherwise: a short address, a phone number or opening hours, in Thai and in English, on up to 4 lines. Choose its Text size (Small, Standard or Large) and Weight (Regular or Bold); the preview shows it as you type. A language left empty shows the other's, and with both empty the footer shows the Site's name again. On a Site with Chinese or Arabic (Staff Console › Sites › General), Text inside search boxes, Footer block, Footer text and the Top bar each take a version in that language too. Left empty (or None for the footer block), those pages show the English one. Show the library's links keeps or hides Branches and opening hours and Suggest a title in the footer's last line: turn it off for a Site that isn't a library's. A Site without Library Manager never shows Branches. Show “Powered by dimdata” puts a small link to Dimdata at the end of the footer, in the footer's text color. New Sites start with it on. The Site shows a change within a minute, without publishing; template CSS can restyle it but not hide it.

    Pages and posts: how pages and posts are laid out unless one chooses its own in its Page settings: the width (narrow, standard or full width) and whether the title shows.

    Blocks: how five kinds of block look unless a block chooses its own Style on its page:

    • Hero: Panel (on the background chosen for it), Picture behind (its picture fills the hero with the words over it; without a picture it stays a panel) or Large words (on the page itself).
    • Cards: Outlined, No box (picture and words only) or Raised (on a soft shadow).
    • Call to action: Side by side or Centered.
    • Questions and answers: Lines between them or Boxes.
    • Virtual bookshelf: Wood (covers standing on wooden shelves), Plain (covers on the page) or Cards (each title in a box with its author and whether a copy is free).

    The preview shows the change at once on blocks that follow the template.

    Top bar: turn on Show a top bar for a short line above the header on every page, such as an announcement or opening hours, in Thai and English (written in one only, it shows in both), with an optional link to a path of the Site such as /th/news, or an https address.

    Custom CSS: for a look the choices can't make. It applies after everything else, on every page but account pages and the e-book reader. Style Dimdata's part names, which stay the same: dd-topbar, dd-header, dd-brand, dd-header-search, dd-account, dd-language, dd-menu, dd-main, dd-page, dd-title, dd-post-head, dd-block (every block) with dd-hero, dd-search, dd-slides, dd-text, dd-cards and dd-card, dd-cta, dd-image, dd-faq, dd-form, dd-shelf, dd-bookcase, dd-bookshelf (with dd-bookshelf-panel, dd-bookshelf-board, dd-book, dd-book-cover, dd-book-type, dd-book-ribbon, dd-book-title, dd-book-author), dd-posts, dd-button, dd-footer, dd-footer-menu, dd-powered. Other classes may change, and CMS says which ones your CSS uses. Pictures and fonts must come from this Site's Media, as url(/media/…); CMS says what it can't keep, such as @import, other sites' addresses or selectors on what visitors type. It also points out rules that name left or right (such as margin-left or text-align: right): they look the same on Thai, English and Chinese pages but won't mirror on right-to-left pages (Arabic), so prefer start and end (margin-inline-start, text-align: start). That note never stops a save.

    Changes wait as a draft: select Save draft to keep them, Publish to put them on the Site, or Discard changes. Visitors see the published look until then. While some text would be hard to read on what it sits on (4.5 to 1 is needed), the page says which and Publish waits.

    Logo and icon

    CMS Managers set these here (Staff Console points here while a Site uses CMS):

    • Logo: a wide logo replaces the Site's name at the top of every page.
    • Browser icon: a square icon for browser tabs, bookmarks and phone home screens.

    These show on the Site as soon as they are saved.

    Import and export

    Export design saves the design as you see it here (its template, this Site's changes and its CSS) as a .json file: to use on another Site, keep a copy, or send to Dimdata. Import design loads such a file here, unsaved, for you to check in the preview, then save or publish; the top bar stays this Site's own. A file made with a template this platform doesn't have keeps its look as changes on Classic.

    Designs from AI agents

    An AI agent with a token from AI agents can prepare the design for you. What it saves appears here as unpublished changes: look at it in the Preview, change anything, then publish or discard it as usual.

    Updated