How to preview your site before publishing
In TeleportHQ, click Preview in the floating toolbar at the bottom of the editor. A new browser tab opens with a working version of your whole site: links go to your other pages, and interactions work. Forms aren't sent from Preview: test them on your published site. Use the Viewport buttons at the top to check desktop, tablet and mobile sizes. Nothing is published.
Before you start
- The preview is private: it needs you to be signed in with access to the project. To show a work-in-progress site to someone outside your team, use a staging site instead. See How to test changes on a staging site.
- On a trial, the preview shows the TeleportHQ watermark, like a site published on a trial. Pro and Premium workspaces don't get the watermark.
Steps
- Open the page you want to start from.
- In the floating toolbar at the bottom center of the editor, click Preview. A new tab opens and shows Loading Preview... while TeleportHQ builds your site. This can take up to a few minutes.
- When it loads, click around your site as a visitor would.
- To check other screen sizes, at the top of the preview tab next to Viewport, click the tablet or mobile icon (tooltips Tablet view and Mobile view). Click the desktop icon (Desktop view) to go back.
See your latest changes in the preview
The TeleportHQ preview doesn't refresh by itself while you keep editing.
- Make your changes in the editor tab.
- Switch to the preview tab. A card shows Project changes detected.
- Click Update Preview. The card shows Updating preview... and the page refreshes, staying on the page you were viewing.
Check that it worked
The preview tab's top bar shows your project name followed by (Preview). Your site is fully clickable. Editor-only helpers, such as Grayscale Structure Mode, guide lines and hidden-element outlines, don't appear, because the preview shows your site as visitors will see it.
Troubleshooting
"Preview has expired" / "Reload to spin it back up." The TeleportHQ preview keeps running while its tab is open and on screen. When you switch to another tab, minimize the window or close the preview, it stops a few minutes later. Click Reload to start it again.
"Preview Failed" Something went wrong while building the preview, and the message below the title says what. Click Retry. If it keeps failing, contact support from the Support button in the bottom toolbar. See How to get help.
The preview shows an old version Click Update Preview on the Project changes detected card. If you don't see the card, reload the preview tab.
Try one element without leaving the editor
Some TeleportHQ elements, such as dropdowns, embeds, iframes and rich text, can also be tested right on the canvas. Select the element and click the small green eye button (Preview) next to it. A banner says You are in live preview mode. Click Exit Preview to go back to editing. This is not available for navigation bars, mobile menus, sliders, accordions or component copies.
Good to know
- Preview isn't publishing. Your live site only changes when you publish. See How to publish your site.
- Starting page. The preview opens on the page you had open, in the language you were editing.
- Drafts show in the preview. Content you haven't published yet, such as a draft blog post, shows in your preview so you can check it. Visitors to your live site don't see it.
- Tablet and mobile sizes. Tablet view is 768 × 1024 pixels and Mobile view is 395 × 767 pixels.
- Command palette. You can also open a preview with the Preview component command. See How to use the command palette.