DOCUMENTATION

Guest portal design

Everything the guest portal designer offers: which fields the page asks for, its look, texts, languages and links, the preview, and how the finished page gets onto your firewall or access point. Colours, texts and layout are baked into a file you download, so the last part matters as much as the design itself.

Where it lives and how editing works

Open Settings → Portal (page title Portal Customization). Admins and Managers can edit it and download the files; the User role does not see the menu item. The page has two tabs: Design (this topic) and Templates (the files for your device).

The Design tab is one form made of six collapsible sections. Only Login Methods is open at first; the row of buttons above the form jumps to any section and opens it. Next to the form a live preview redraws the page as you type, before anything is saved.

The Design tab: six sections on the left, the live preview on the right.
  • The preview has Mobile / Desktop frames, a Turkish / English switch and Fullscreen. Switching the preview language changes nothing stored on the device.
  • The preview shows the unsaved draft. View Portal (under the form) opens the saved page: /p/<your-slug> on Cloud, /p on an on-premise server.
  • As soon as something changes, a bar sticks to the bottom with the number of unsaved changes, Reset to Defaults and Save Changes.

Three other pages shape what a guest receives or gets after signing in: message templates (the SMS and e-mail texts), guest profiles (time, speed, quota) and panel branding (the admin panel only).

Login Methods

The first section decides which ways in the guest is offered: SMS Verification, Email Verification, Sponsor Approval System, User Login, voucher and Hotel Guest Login, plus Section Shown on Open (which one the guest sees first; left on Automatic it is chosen for them) and Password field shape (6-digit code or a 6 to 64 character password). Each method, its prerequisites and when to choose it are explained in guest sign-in methods.

The designer refuses a few combinations when you save:

  • All methods off: "At least one sign-in method must stay on." With nothing on, the guest page would open empty. (On-premise installs with directory sign-in enabled are exempt.)
  • User Login off while SMS or Email is on: the SMS and e-mail flows send the guest to the user-login form to type the password they just received, so that form must stay.
  • Switching the password box back to the 6-digit shape while a local user has a longer password is refused until those passwords are changed.
Turning a method off hides it from the guest page; it is a design choice. It does not by itself make the matching server-side feature refuse requests. Do not rely on these switches as an access control.

Form Fields

What the page asks for besides the phone number or e-mail address itself.

SettingWhat it doesDefault
Full NameShows the name and surname boxes (the preview shows both).On for a new portal
EmailAdds an e-mail box to the sign-up form.Off
Email RequiredMakes that box mandatory. Only appears while Email is on; the box is marked optional otherwise.Off
Default phone countryThe country preselected in the phone box (flag and dialling code). The guest can still pick another from the list.Türkiye (TR)
Allow only this countryLocks the box to that country; the guest cannot change it.Off
Form Fields: name, e-mail and the phone country. The demo has the default country set to the United States.
Example: a hotel in Harare sets the default country to Zimbabwe so guests only type the local number. Turn on Allow only this country when your SMS provider delivers only domestically. Netgsm and İleti Merkezi send to Turkish numbers only, so with them the lock saves guests from a code that never arrives.

Brand & Appearance

Brand & Appearance: logo, welcome message, sector templates, colour schemes, colours, background, theme, font and layout.
SettingDetails and limits
LogoPNG, JPG or WebP, up to 2 MB (the type is checked on the file content, not the name). The file is stored the moment you pick it, without pressing Save; the X button deletes it after a confirmation. With no logo the page shows the first letter of your organisation name on a tile in your primary colour.
Welcome MessageThe title of the page, 160 characters. The English field below it is optional and falls back to the Turkish text. If you leave the Turkish one empty, the page shows "<organisation name> Misafir İnternet" to everyone, including English readers, because the grey English example is only a hint. Fill in both.
Sector TemplatesOne click sets colours, theme, header, corners, shadow, buttons, inputs, density, header alignment and font. Hospital / Clinic: teal, colour-band header, large corners, humanist font. Airport (dark): dark theme on navy, strong shadow. Office / Visitor: slate blue, sharp corners, compact. They never touch which login methods are on, but they do set Section Shown on Open (SMS for the first two, Voucher for Office). Undo template restores the previous values.
Quick Color SchemesEight swatches: Modern Blue, Ocean, Forest, Sunset, Rose, Professional, Minimal, Warm (the names are English in both panel languages). Each sets the primary, secondary and background colours together. Restore previous colors undoes the last click.
Primary / Secondary / Background ColorHex codes such as #0f766e (3, 4, 6 or 8 digits). Primary is the button and accent colour, secondary the link and secondary button colour, background the page colour. Primary and background are required. A small badge next to Primary shows the contrast against the background (for example AA · 5.5:1); aim for AA or better so button text stays readable.
Background ImagePNG, JPG or WebP, up to 5 MB. It replaces the background colour. Like the logo, it is stored on upload and removed with the X button.
Portal ThemeLight (default), Dark, or Auto, which follows the guest's own device setting.
FontSix choices: System (default), Serif warm (Georgia), Serif elegant (Palatino), Humanist (Segoe UI), Geometric (Futura), Monospace. They are faces already installed on the guest's device, because the page opens before the guest is online and cannot download a font. The same choice therefore looks slightly different on Windows, iOS and Android.
Guest Portal LayoutTabbed View (a tab per method) or Accordion View (every method as a collapsible section, the default).

Texts & Labels

FieldLimitNotes
Tab Labels: Get Credentials, Login, Hotel40 characters eachEmpty means the built-in names (Şifre Al / Giriş Yap / Otel in Turkish, Get Credentials / Login / Hotel in English). Each has a Turkish and an English field. The Hotel label can only be edited while Hotel Guest Login is on. In the accordion layout the same labels title the sections.
Footer Text300 charactersA line at the bottom of the card. Turkish and English fields.
Footer — Right Side (TR / EN)free textWhen filled, the footer becomes two columns: Footer Text on the left, this on the right (for example Support: Reception). It is shown as written and changes no setting.
Copyright Text200 charactersUnder the footer, e.g. © 2026 Acme Hotels. Turkish and English fields.
Texts & Labels. An empty English field shows the Turkish text.

The line Powered by Captivo under the card is part of the page and has no setting to hide or change it. The consent boxes for the terms and privacy are fixed too; see KVKK, privacy and data retention.

Style Fine-Tuning

Style Fine-Tuning: eleven drop-downs, three visual effects and the collapsed custom CSS box.
SettingChoicesDefault
Corner RoundnessSharp, Small, Medium, Large, PillMedium
DensityCompact, Normal, ComfortableNormal
Card ShadowNone, Soft, Medium, StrongMedium
Font SizeSmall, Normal, LargeNormal
Button StyleSolid, Outline, GradientSolid
Input StyleOutline, Underline, FilledOutline
Card PositionLeft, Centred, Right (wide screens only; a phone is always centred). With a background image, a side position leaves the other half of the image visible.Centred
Header StyleClassic (centred logo + title), Colour band (a primary-colour strip with logo beside the title), Photo band (a wide photo on top, round logo on its edge)Classic
Header AlignmentLeft, CenterCenter
Card WidthNarrow, Normal, WideNormal
AnimationsOn, OffOn
  • Photo Band Image appears only when Header Style is Photo band: PNG, JPG or WebP up to 5 MB, a wide photo because the band crops to its centre. Without one the band is a gradient between your brand colours. Like the logo it is stored on upload.
  • Visual Effects: Gradient Background (primary to secondary colour), Blur Effect (a frosted, semi-transparent card) and Large Logo (120 px).
  • Advanced: Custom CSS (collapsed): up to 10,000 characters. For safety the server strips <style>, <script> and similar tags, @import, expression(, javascript: and SVG or text data: addresses on save; anything else stays. The page body carries the class portal-container, the card portal-card, the logo portal-logo. Test on a real device after saving, because CSS that fights the generated styles can break the layout.

Links & redirect

Links & redirect: the card on top lists the host to allow on the network.
FieldWhat it does
Terms of Use URL (Optional)Address behind the terms link next to the consent box. It opens in a window inside the portal so the guest does not leave sign-in; if that window cannot open, an "open in a new tab" option appears.
Privacy Policy URL (Optional)Same for the privacy link.
Post-Login Redirect (Optional)The page the guest is sent to after connecting, for example https://acme.example/welcome.
  • All three must start with http:// or https://, be at most 2,048 characters and may not point to localhost or a private or link-local address (10.x, 172.16-31.x, 192.168.x, 127.x, 169.254.x). Such a save is refused with a message.
  • The yellow card These addresses must be allowed on the network lists the hosts of the terms and privacy links, with a Copy button. The guest taps them before they are online, so add those domains to the walled garden (allowed addresses) of your firewall or access point or the pages will not open. The redirect address is not listed: the guest follows it after sign-in, with full internet.

Languages

The portal exists in two languages, Turkish and English; there is no setting to add a third. The fixed texts (buttons, errors, consent wording) are built in. The texts you write (welcome message, tab names, footer, copyright) each have a Turkish and an English field, and English falls back to the Turkish text when empty.

A TR / EN switch sits on the page. It opens in the language the guest chose last time (remembered in the browser); if there is none, in Turkish for a browser set to Turkish and in English for any other. The SMS or e-mail the guest then receives follows the language of the page, provided the file on your device is recent (see below).

Preview, saving and Reset to Defaults

  • Save Changes stores every field of the form. Nothing you typed reaches guests until you save and the page on the device is replaced.
  • Uploads and deletions of the logo, background and photo band act immediately on the server, whether or not you press Save.
  • Reset to Defaults asks for confirmation and then puts the whole form back to its factory values: colours #3b82f6 / #6366f1 / #f8fafc, System font, accordion layout, medium style options, empty texts and links, and also the login methods (SMS and User Login on, everything else off; Full Name on, Email unticked). Everything, including removing the logo and background image, only happens in the form until you press Save: the two files are deleted from the server when you save, and not before. The photo band image file is not deleted.
If you reset by accident, do not save: reload the page and the stored settings, logo and background are all still there.

Getting the page onto the network device

Open the Templates tab. Each card builds a file from your saved settings when you click download, and the file is complete on its own: the CSS and the script are inside it.

The Templates tab. UniFi and Ruijie have no file, only instructions.
DeviceYou downloadIt goes to
pfSenseDownload Login Page and Download Error Page: captivo-portal-<slug>.html, captivo-portal-error-<slug>.htmlServices → Captive Portal → zone → HTML Page Contents
OPNsensecaptivo-opnsense-<slug>.zipServices → Captive Portal → Templates
MikroTikcaptivo-mikrotik-<slug>.zipthe hotspot html-directory on the router (login.html, alogin.html)
FortiGatecaptivo-fortigate-<slug>.htmlReplacement Messages → Login Page
Cisco Merakicaptivo-meraki-<slug>.htmlSplash page → custom theme
UniFino fileConnector; the page is served by Captivo
Ruijieno filethe gateway points at the page Captivo hosts

The exact upload steps are in each device topic. Three things are common to all of them:

  • Download again after every change. Colours, texts, layout and the list of methods are written into the file at download time, so a saved change does nothing on the device until you download and upload again. The save bar only reminds you after changes to login methods, header, card position, right footer and the password box, but the rule covers every setting. UniFi and Ruijie, and the saved page at /p/<slug>, are built on each request and need no re-upload.
  • The page asks Captivo for everything (sending the code, checking it). An unauthenticated guest must be able to reach the Captivo address, and the logo and background are loaded from there too. If the logo is missing on the device but fine in the panel, the walled garden is the first thing to check. The OPNsense ZIP additionally carries a copy of the logo.
  • pfSense also needs the error page. With RADIUS MAC authentication it is the first page an unknown device sees.
If the file on your device is older than the current format and it has called Captivo within the last 30 days, a banner at the top of the page says The portal template on your network device is out of date, with the version it saw. The old file keeps working, but newer features stay silently off (for example the guest's SMS following the page language). Download and upload it again. A device that has not called Captivo for 30 days shows no banner.
The download needs an API key to exist: Settings → RADIUS → API Settings, Create API Key. Without one the download is refused with a message (in Turkish). On-premise: the file must contain an address guests can reach, so fill in the server address on the RADIUS page first, otherwise the download stops with an error instead of producing a file that points to localhost. Cloud: the address is your Captivo address and needs nothing.

The API key inside the downloaded file

Every file (and the page Captivo hosts) carries your organisation's API key from Settings → RADIUS → API Settings, written into the page script. The page sends it in an X-API-Key header, along with an X-Captivo-Template header holding the file's format version, on each call it makes to Captivo. The server uses the key to find which organisation the call belongs to; it refuses a call when the key is unknown, when RADIUS is switched off for the organisation, or when the organisation is suspended.

  • The key is part of a page that is sent to every guest device, so anyone who can open the guest page can read it in the page source. Treat it as an identifier that ships to guests, not as a password, and do not use it for anything private.
  • Allowed Origins on the same page limit which web origins may call the API from a browser: empty means any origin, * any origin, otherwise an exact origin such as https://portal.acme.example or a *.acme.example pattern. The origin is the address the guest page itself is served from, so a list that does not include your device's portal address makes the page fail to reach Captivo. Leave it empty unless you know that address.
  • Regenerate revokes the old key at once. The file on your device still holds it, so guests cannot sign in until you download the files again and upload them. Revoke has the same effect with no replacement. Plan the change outside busy hours.
  • For building your own page against the same endpoints, see Public API and API key.

Common problems

What you seeCause and fix
Preview shows the new look, the real portal does notThe device still serves the old file. Save, download again, upload again (section above).
Save fails with "At least one sign-in method must stay on"Every method is off. Turn one on.
Save fails on a URLThe address is not http(s), is longer than 2,048 characters or points to a private address. Use a public address.
Terms or privacy links do not open on the deviceAdd the hosts from the yellow card to the walled garden.
The page is English but the SMS arrives in TurkishThe file on the device is older than the language feature: the stale banner explains it. Download and upload again.
Guests cannot sign in right after a key changeThe old key is embedded in the old file. Download and upload the files again.
An error message is in Turkish in the English panelSome server messages (for example from Save or the download) are only available in Turkish today; the meaning is the one described on this page.

If the page does not open at all, see the portal does not open. Sign-in methods: guest sign-in methods. Consent texts: KVKK, privacy and data retention. Texts of the messages: message templates.

Was this article helpful?