Invitation page look and custom CSS

Colours, background image and CSS examples for customising the invitation page.

For:ProducerPartner

Counter+This feature is included in the Counter+ and Venue Counter packages. See pricing

In this section: Invitation links, media and subcontractors (7)

You can customise the invitation page in three ways: Colours, Background image and Custom CSS. The organiser sets the event's look on the dashboard's Kutsu (Invitation) tab. A partner the organiser has allowed sets its own look from its management link, and it overrides the event's look on the invitation page for the partner's own guests.

  • Start with the colours. Four colours (page background, card, text, and buttons and highlights) are usually enough, and the softer shades are derived from them.
  • Readability below the colours shows the contrast of text, hints, buttons and links on the card and warns if any falls below the recommended 4.5:1. Button text is always white, so the accent colour must be dark enough.
  • Use CSS for what colours can't do: shapes, fonts, shadows and layout.
  • The partner's CSS comes after the event's CSS, so where rules target the same thing, the partner's rule wins.
  • Save and open the invitation page with Open invitation page to see the result.

CSS classes

  • .kutsu-sivu: the whole page around the card, including the background image. Inside it, main is the card column.
  • .kutsu-kortti: the light or dark box holding the invitation.
  • .kutsu-otsikko: logos, the overline (e.g. Company Ltd invites you), the event name (h1), date and location.
  • .kutsu-teksti: the partner's own invitation text.
  • .kutsu-lomake: the registration form and its fields.
  • .kutsu-suostumukset: the partner's checkboxes at the end of the form.
  • .kutsu-nappi: the Register button.

Colours as CSS variables

The page colours are CSS variables, so changing one variable changes everything that uses it. The variables are --color-canvas (page background), --color-surface (card), --color-surface-2 (fields), --color-line (borders), --color-ink (text), --color-muted and --color-dim (softer text), and --color-enter and --color-enter-bright (buttons and links). The Colours choices set the same variables, so use either them or CSS.

Brand colour for buttons and links
.kutsu-sivu {
  --color-enter: #0f766e;
  --color-enter-bright: #14b8a6;
}

Background

Gradient instead of a background image
.kutsu-sivu {
  background: linear-gradient(160deg, #1e1b4b 0%, #7c2d12 100%) !important;
}
Darken the background image so the card stands out
.kutsu-sivu {
  box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, 0.45);
}
Remove the event's background image from a partner page
.kutsu-sivu {
  background-image: none !important;
}

Card

Translucent light card over a background image
.kutsu-kortti {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.6);
  color: #1a1a1a;
  color-scheme: light;
  --color-ink: #1a1a1a;
  --color-muted: #4b5563;
  --color-dim: #6b7280;
  --color-line: rgba(0, 0, 0, 0.12);
  --color-surface-2: rgba(0, 0, 0, 0.05);
}
Sharp corners and a deep shadow
.kutsu-kortti {
  border: none;
  border-radius: 0;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
Wider card on a computer
@media (min-width: 768px) {
  .kutsu-sivu main {
    max-width: 36rem;
    padding-top: 4rem;
  }
}

Text

Event name in a serif font
.kutsu-otsikko h1 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
Overline colour and wider spacing
.kutsu-otsikko > p {
  color: #c2410c;
  letter-spacing: 0.2em;
}
Invitation text as a quote
.kutsu-teksti {
  border-left: 3px solid #c2410c;
  font-family: ui-serif, Georgia, serif;
  font-size: 17px;
  font-style: italic;
}
Rounder font for the whole page
.kutsu-sivu {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
}

Form and button

Rounded gradient button
.kutsu-nappi {
  background: linear-gradient(135deg, #c2410c, #9a3412);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kutsu-nappi:hover {
  filter: brightness(1.1);
}
Fields with an underline only
.kutsu-lomake input {
  background: transparent;
  border-width: 0 0 2px 0;
  border-radius: 0;
  padding-left: 0;
}

.kutsu-lomake input:focus {
  border-color: #c2410c;
}

Restrictions

Guests type their contact details on the invitation page, so the CSS mustn't load anything from elsewhere. Saving rejects CSS that contains an address (url(), @import, @font-face, image-set()), a backslash or a < character.

  • Upload the background image under Background image, not with CSS.
  • Web fonts can't be loaded. Use the devices' own fonts, such as ui-serif, Georgia, ui-rounded or system-ui.
  • The CSS can be up to 8,000 characters.

Didn't find an answer?

Tell us what you were looking for and we'll help.

Contact us