Skip to content

Website preset

A preset is a website saved as a JSON file: the theme, pages with blocks in every language, including the menu and footer, and the store homepage. You save and apply it under Content › Website preset.

What the platform does with the file

  • It reads the file with the same rules as the page editor, Look and feel and Homepage. Anything it would drop (an unknown block, a field outside the description, an unsafe link, an invalid colour) is listed for you one by one before you apply it.
  • Pages are created as drafts, and you review them before they go live. An existing page is overwritten only if you explicitly choose to.
  • The file does not carry images, only their addresses. The target store downloads them into its media library and accepts JPEG, PNG, GIF, WebP and AVIF. An address starting with a slash is combined with the zdroj field.
  • Homepage categories and products are referenced by slug, not by id: an id from one store is meaningless in another.
  • A newer format version than the platform knows is rejected as a whole.

Limits

File size
2 MB
Pages per file
300
Blocks per page
200
Images per use
80

From the platform code. This list is built directly from the platform source code, and every deployment checks that the two still match.

File fields

FieldWhat it holds
druhFile marker, always portican-predvolba. It tells the platform this is not just any JSON.
verziaFormat version, currently 2.
nazovThe name the agency gave the preset.
vytvoreneWhen the preset was created, in ISO 8601. For humans only.
zdrojThe address of the website the preset came from. Image addresses starting with a slash are built from it.
temaThe website theme; fields below. Optional.
strankyThe list of pages; fields below.
uvodnaStranaThe store homepage; fields below. Optional.
eshopThe store layout from a template: homepage banner, columns on a phone, categories and product card, each option from a closed list. May be missing; version 1 has none.

Page fields

FieldWhat it holds
slugThe page address. Empty means the website homepage.
jazykLanguage code of the page, for example sk, cs, en.
adresaThe address in the page's language, when it differs from the slug.
nazovPage name in the menu.
seoTitulokTitle for search engines.
seoPopisDescription for search engines.
poradieVMenuPosition in the website menu. Without a number the page stays out of the menu.
blokyPage blocks in the order they appear. Kinds and fields are covered in Blocks and fields.

Theme fields

FieldWhat it holds
lightTheme colours as #rrggbb: background, foreground, primary, primaryForeground, accent, accentForeground, mutedForeground, surface, line, brand2, brand3.
radiusCorner radius in rem, for example 0.75rem.
tmavyRezimWhether the store offers a dark mode switch (true or false).
fontBody font: Geist, Jost, Inter, Lora, Playfair Display, Old Standard TT, Space Grotesk, Bodoni Moda, Archivo, system-ui, Faustina, DM Sans, Montserrat, Work Sans, Manrope, Nunito Sans, Cormorant Garamond, Source Serif 4, Libre Baskerville, Merriweather.
pismoScript font: Allura, Kaushan Script.
sablonaTemplate: zaklad, expert.
stylStyle of the Expert template: vyrazny, triezvy, redakcny, produktovy, teply.
fontNadpisovHeading font, from the same list as the body font.
znackaText wordmark instead of a logo: up to 40 characters plus an optional script addition.
logoLogo address.
logoWidthLogo width in pixels.
logoHeightLogo height in pixels.
titulnaFotkaHero photo address.
popisZnackyShort brand tagline, up to 40 characters.

Store homepage fields

FieldWhat it holds
pasTexts of the banner at the top of the homepage.
sekcieHomepage sections in order, always all of them.
dlazdiceCategory tiles; the category is a slug.
pocetKategoriiHow many categories to show when they are picked automatically.
pasyProduct strips; both the collection and the products are slugs.
pocetProduktovHow many products one strip holds.
vyhodyStore benefits below the banner.

Example

The smallest useful preset: a theme and one page with two blocks. The platform reads all of it without a single finding; every deployment checks that.

{
  "druh": "portican-predvolba",
  "verzia": 1,
  "nazov": "Florist, simple website",
  "vytvorene": "2026-09-29T10:00:00Z",
  "zdroj": "https://example.com",
  "tema": {
    "light": {
      "primary": "#0f5c4a",
      "primaryForeground": "#ffffff"
    },
    "radius": "0.75rem",
    "font": "Inter",
    "sablona": "expert",
    "styl": "teply"
  },
  "stranky": [
    {
      "slug": "",
      "jazyk": "en",
      "nazov": "Home",
      "poradieVMenu": 1,
      "bloky": [
        {
          "id": "uvod",
          "druh": "hlavicka",
          "obsah": {
            "nadpis": "Flowers for every day",
            "text": "We tie our bouquets in the morning and deliver them the same day.",
            "tlacidlo": "See what we offer",
            "odkaz": "/shop"
          }
        },
        {
          "id": "otazky",
          "druh": "otazky",
          "obsah": {
            "nadpis": "Frequently asked questions",
            "polozky": [
              {
                "otazka": "Do you deliver on Sundays?",
                "odpoved": "Yes, orders placed by 10:00 are delivered the same day."
              }
            ]
          }
        }
      ]
    }
  ]
}