Adding your menu to your website

Add the Menju script to your site once, choose how guests open your menu, and verify it's live.

Once your menu is built and designed, you show it on your own website with two things: a small script you add to your site once, and one or more triggers — a button, banner, or an existing element on your page that opens the menu when a guest interacts with it, or an auto-open menu that opens by itself. This guide covers both.

Before you start: you'll need to be able to edit your website's HTML (or have someone who can). Saving script settings in Menju requires administrator access to the restaurant — see Managing your restaurant & team.

Step 1 — Add the Menju script to your website

Open Implement Menju Script and copy the snippet — it has your restaurant's id already filled in. Paste it into the <head> section of your website. You only do this once — after that, every change you make in Menju updates automatically without touching your site again.

For click-by-click steps for WordPress, Wix, Squarespace, One.com, Loopia, and every other platform — plus a way to forward the instructions to whoever manages your site — see the full Install the Menju script guide.

Step 2 — Verify the connection

On the same screen, under Verify Installation, click Test Connection. Menju checks your domain for the script:

  • Script is connected — you're live. 🎉
  • Try connect again — the script wasn't found on your domain. Double-check it's in the <head> and saved/published on your site, then test again.

Step 3 — Choose how guests open your menu

In Script Configuration you set up the elements that open your menu. There are four types, and each has an activation toggle (Ready for activation? → This component is active), so you can turn on only the ones you want:

TriggerWhat it isCan be styled?Can be scheduled?
ButtonA custom button placed on your siteYesYes
BannerA banner that highlights your menuYesYes
Auto-open menuThe menu opens automatically, once per visitNo (uses your menu's own design)Yes
Your own link or buttonA link or button you already have opens the menuNoNo

Button

A button you place on your site that opens the menu when clicked.

  • How & Where — place it in a Fixed place on the screen (quick options for the corners, and Fine Tune Position in percent: 0 is flush with the left or top edge, 50 the middle, and 100 flush with the right or bottom edge), or Append to HTML to add it at the end of an element with an id you enter. You give the element its id in your site builder, e.g. under the block's Advanced → HTML anchor in WordPress or Advanced → CSS ID in Elementor and Divi. You can also limit the button to All pages or Only some pages.
  • Look — text, Icon (before or after the text, or Show only the icon), text style, background and text colours, border, shadow, and size (padding, text size, and text weight).
  • Large and small screens — the button has the same size and position on every screen. Turn on Own size and position for mobile and choose Small Screen above the preview to set up mobile separately.
  • Entrance — how the button comes in (Fade in, Slide up, or Scale up), Show after a number of seconds (up to 30), and Pulse when it appears to draw attention. Visitors who have turned off motion on their device see the button without animation.
  • Scheduling — see below.

Banner

A banner at the top or bottom of your site that draws attention to your menu.

  • How & Where — show it on All pages or Only some pages.
  • Look — text and icon, text alignment, text size and weight, background and text colours, padding, border, and shadow.
  • Shape — Edge to edge across the full width of the screen, or Floating with space around it and rounded corners (only for a banner at the bottom).
  • Show a close button (×) — lets the visitor close the banner. It then isn't shown again during the visit.
  • Animation and delay — how the banner comes in, and after how many seconds (up to 60).
  • Scheduling — see below.

Auto-open menu

The menu opens automatically when a visitor comes to your page, once per visit.

  • How & Where — choose on which pages the menu opens automatically.
  • Delay — open Instantly, or After Seconds (up to 60) once the page loads.
  • Scheduling — see below.

The menu is shown using the design you set in Designing your menu.

Your own link or button

Turn something you already have on your site — a link, an image, a menu item — into something that opens your Menju menu.

  • Element that opens the menu — choose how the element is found and enter the value:

    • Id — the element's id.
    • Class — one or more classes separated by spaces; the element must have all of them.
    • Link to page — the address a link goes to, e.g. /lunch. Every link to that page on your site opens the menu, however the link is written.

    The menu opens instead of the link being followed.

  • Works on All pages or Only some pages, and you can add several elements. A chosen page applies to that page only, not the pages below it.

Scheduling when a trigger appears

Buttons, banners, and the auto-open menu can each be scheduled:

  • Always — shown at all times.
  • Specific timeframe — set a Time window (from/to time) and Select days here (Monday–Sunday). Perfect for showing a lunch button only during lunch hours. A time window can cross midnight, e.g. 22:00–02:00, and then counts as the day it starts.

The times are the restaurant's time (Swedish time), wherever the visitor is.

Using templates

For buttons and banners, you don't have to start from scratch:

  • Open Templates to pick from Your Templates (looks you've saved) or Menju's built-in templates, then click Select to apply one. A template changes the look; turn the component on again if it should be active.
  • Save As Template stores your current design under a Template Name so you can reuse it later.

Preview it on your own site

Use Preview to open your live website in a new tab with the component shown, so you can see exactly how it looks in place before you finish. If the component is only shown on some pages, you'll be asked which page to open first.

The script must be installed on your website. Preview opens your website (the domain under Restaurant information) with ?testScript=true in the address, and it's the Menju script on the page that then shows your unsaved settings. If you haven't added the script yet, nothing is shown — do Step 1 first and verify the connection in Step 2.

If you place the button in an element that isn't on the page, or have your own link or button that isn't there, the preview shows a notice at the bottom left with what's missing, so you can see why the button isn't shown or why the click doesn't open the menu.

Good to know

  • The script goes in your <head> once — you never need to touch your site again to update the menu.
  • Saving script settings requires administrator access. Team members without admin rights can view and edit but can't save.
  • Menju's built-in templates are ready to use; you create your own by saving a design as a template.

Next steps