Login page designer
Edit the theme, colors, page blocks, scoped custom CSS, methods and texts of the guest login page with a live preview, keep changes as a draft and publish them.
You design the page guests see when they join your Wi-Fi from the panel. Each hotspot has its own design. Your changes stay in a draft first; guests keep seeing the current page until you publish.
In this guide
- Opening the designer and how drafts and publishing work.
- The tabs: theme, look, methods, texts, legal documents, behavior, versions, link.
- Using the live preview, publishing and rolling back to an older version.
- What happens on the router after you publish.
Before you start
- You need at least one hotspot: Set up your first hotspot.
- The router does not need to be online to publish a design. For guests to see the page, the portal setup on the router must be complete: Portal setup on the router.
- No browser extension or setting is needed, and you do not need to open any ports on the router.
- Arbitrary HTML or JavaScript cannot be uploaded (security policy). You customize the look and layout with the built-in themes, color and font settings, the drag-and-drop block editor on Blocks, and Scoped custom CSS.
Open the designer
- Open Hotspots in the left menu.
- Press Design on the hotspot row.
- The Login Page Design screen opens, with the tabs on the left and the Live preview on the right.
How drafts and publishing work
The badges under the title show the state of the page:
| Badge | Meaning |
|---|---|
| Live: v3 | The version guests see right now. |
| Draft: v4 | Saved changes that are not published yet. |
| Unsaved changes | You changed fields on screen but have not saved them. |
| Old design | The hotspot was never published from the new designer; you see the old design converted. |
The buttons at the top right:
- Save draft: stores your changes as a draft. The guest page does not change.
- Publish: saves the draft first if there are unsaved changes, then publishes. Guests see the new page the next time it opens.
- Discard draft: shown only while a draft exists. It archives the draft; the live page does not change.
Tip
If you try to leave with unsaved changes, the panel asks for confirmation. During a long edit, use Save draft now and then.
Theme
The Theme tab has four built-in themes. The thumbnails are drawn with your own colors.
| Theme | Layout |
|---|---|
| Aurora | Full-screen gradient or image, centered card |
| Classic | Plain background, colored header band |
| Minimal | No card, simple single column |
| Hotel | Image and form side by side on wide screens |
Switching themes keeps your colors, texts and methods; only the layout changes.
Look: colors, font, logo
On the Look tab you set:
- Colors: Primary color, Background, Card surface, Text. If a color pair is hard to read, the panel shows a WCAG AA contrast warning.
- Font: chosen from a fixed list. No font is downloaded from an external server before login; if the guest's device lacks the font, the system font is used.
- Corners and Density.
- Logo and Background image: PNG, JPG, GIF or WebP, up to 8 MB. SVG and external addresses are not accepted. The background image only appears in the Aurora and Hotel themes.
Phone-only values
Editing scope defaults to All devices: one design applies to phones and computers. If you pick Mobile only and change a value, only that value differs on phones. To remove the difference, press Same as all devices next to the field. Check the result by switching the preview between Phone and Computer.
Scoped custom CSS
In the Scoped custom CSS box at the bottom of the Look
tab, you can write rules targeting allowed portal and block classes (hs-card, hs-header,
hs-btn, hs-block-callout, etc.).
- Every rule is validated with a server-side syntax AST parser and automatically scoped under
#hs-portal-root. - External resource fetches (
url(...)), at-rules,expression(...),!important, overlay or hiding properties (position,z-index,display,visibility,opacity), and selectors targeting login forms (.hs-form) or legal consent boxes (.hs-terms,.hs-consent) are rejected. - A rule that sets a text colour, background colour or background gradient must keep a contrast
of at least 4.5:1 together with the active theme's colours (checked for phones and desktops).
Semi-transparent backgrounds over a background image cannot be verified and are rejected, and
inset shadows (
inset) are not allowed. - Login method buttons, form fields, consent checkboxes, legal texts and error messages always use the theme colours; to change them, edit the theme colours instead.
Block editor
On the Blocks tab you can reorder sections in the login body using drag and drop or the up/down arrow buttons, and toggle optional sections:
- Locked sections: Login methods and Legal texts and consents always remain enabled on the page; when any required registration field exists, Registration form also stays locked.
- Extra content blocks: Info / notice box,
Image block (uploaded portal images only),
Link / button block (
https://URLs only), Frequently asked question and Divider / spacer. - Use Reset to default layout at any time to return to the default layout. Existing portals continue to render unchanged until edited.
Methods
On the Methods tab you choose how guests can log in and in which order the methods appear. Drag and drop the rows or use the arrow buttons. The list holds up to 12 methods and at least one must be enabled. To add a method, pick it in Add method and press Add.
A method marked Unavailable is missing a prerequisite and is not shown on the guest page (for example, no SMS provider is configured or the PMS integration is off). For each method's prerequisites and settings, see Login methods overview.
Texts and languages
On the Texts tab:
- Languages: the languages the page is offered in (Türkçe, English, Deutsch, Français, Русский, العربية). The guest's language is taken from their browser.
- Default language and Show a language switcher on the page.
- Per language: Title, Subtitle, Button text and Footer.
Any field you leave empty uses the theme's own translation. The badge next to each field shows where the text comes from: This language, Turkish text or Theme translation.
Legal documents
On the Legal tab you choose Terms of use display (Full text or Short link) and see which document is shown in each language. Accepting the terms is required in both modes. The documents themselves are written and published on the Legal Texts page and are shared by all your hotspots. Details: Legal texts and guest consent.
Behavior
| Setting | Options and effect |
|---|---|
| Method display | List, Tabs or First only (only the first enabled method in the list is shown). |
| Remember device | 0–90 days, default 30. 0 turns it off: guests log in again on every connection. When on, choose Login on a remembered device: One tap or Automatic. |
| Redirect after login | Success page, The page the guest wanted or A specific address (https only). Delay (seconds) 0–30 s. |
| Ad and survey slots | Ad and survey for Before login and After login. The lists come from the items you created for this hotspot under Ads. |
Note
On a remembered device, guests are asked to consent again when a version of one of your legal documents changes.
After-login cards
The After login tab edits the cards shown in order on the landing page after the guest connects. While the tab is open the preview shows the after-login page.
| Card | What it does |
|---|---|
| A link to your Instagram account. Behaviour: Link only, Delayed continue button or Required before continuing. Guests who connected before are exempt. | |
| Social media icons | Up to 8 social network or website links (https addresses only). |
| QR menu link | A link to your menu page. |
| Survey | The after-login survey and ad you selected on the Behavior tab appear in this card's place. |
| Redirect countdown | Shows the time left until the automatic redirect as a progress bar; a redirect must be selected. |
Cards are text and links only; no content from other sites is embedded in the page. You can write the title, description and button text separately for each language. Views and clicks per card appear on the Analytics screen.
Live preview
The Live preview on the right is the same server output guests will see. It updates about half a second after you change a field.
- Use the language box (Preview language) to switch between the enabled languages. In Arabic the page runs right to left.
- Compare Phone and Computer.
- In the preview you can switch between methods and tick the checkboxes. No login, SMS or social login request is sent, and the preview does not save the draft.
- Methods that are enabled but will not be drawn on the page are listed in a yellow warning above the preview frame.
Versions and rollback
Every publish is kept as a version (Live, Draft, Archived).
- Edit: loads that version's settings into the editor. Saving makes it a draft; the live page does not change.
- Roll back: publishes an archived version right away under a new version number. History is kept; for example, rolling back to v2 while v3 is live creates v4.
Link and router
The Link tab shows your hotspot's Login page address. It has this form:
Always take the real address from the box in the panel with the Copy button. You do not need to type it into the router: the login files, the hotspot profile and the walled garden are written during device setup. If the hotspot is assigned to a device, Open portal setup takes you to the Router portal setup card on the device detail page.
Does publishing touch the router?
- If only the theme, colors, images, texts or behavior changed: the router is not touched. Guests see the new page right away, because the page is served by Hotspotly.
- If the login methods changed (a method was enabled, disabled or added): after the publish or rollback the portal settings on the router are verified again. The run shows on the Router portal setup card with the Login settings trigger. You do not need to do anything.
Publish
- Check the page in the preview in both Phone and Computer view, in every language you use.
- Make sure no red error box or yellow warning is left above the preview.
- Press Publish. The "Login page published" notice appears.
- Check that the badge under the title shows the new version number.
Verify
- On the Versions tab the top row shows the new version number with the Live badge.
- Join the hotspot's Wi-Fi with a phone. The login page that opens should match the preview. If your phone was remembered before (Remember device on), you may see a short reconnect screen or be connected straight away instead of the full page. Use a device that has not been remembered to see the full page.
- If you changed methods, check that the latest run on the Router portal setup card succeeded.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| "Could not publish" or a save error with a field name | A field is invalid (for example the color is not #RRGGBB, the redirect is not https) | Fix the field named in the notice. The red box above the preview lists the invalid fields. |
| "At least one login method must be enabled." | All methods are disabled | Enable at least one method on the Methods tab. |
| "The design has errors; the preview shows the last valid state." | The last change does not match the schema | Fix the invalid field; the preview updates on its own. |
| A method is missing from the preview and a yellow warning is shown | A prerequisite is missing (SMS provider, PMS integration, OAuth app) | The Unavailable badge and its fix. |
| Guests still see the old page | The change is only in the draft | If the badge shows Draft: vN, press Publish. |
| Guests see RouterOS's own login page | The portal setup on the router has not run or failed | Check the card and the error codes in Portal setup on the router. |
| The background image is not shown | The selected theme is Classic or Minimal | The image is only drawn in the Aurora and Hotel themes. |
| "The image can be at most 8 MB" or "The image could not be uploaded" | The file is larger than 8 MB or the format is not supported (SVG) | Shrink it and upload it again as PNG, JPG, GIF or WebP. |
| The font looks different for guests | The chosen font is not on the guest's device | This is expected; no font is downloaded before login. For the same look everywhere, choose System. |
| "Could not roll back" | The row is a discarded draft that was never published | Load its settings with Edit on that version, then publish. |
Security and data protection
- The preview runs in a frame isolated from the panel; it cannot reach your panel session or cookies.
- The login page loads no fonts, scripts or images from external addresses. The logo and background are served from Hotspotly's portal domain.
- The platform's legal texts are templates; have your lawyer approve them before you publish.
- Publishing and rollback are written to the audit log.