Wedding Invitation Template Guide

This guide shows you how to turn the template into your own website and publish it. No coding skills needed: follow the steps one at a time. Baca dalam bahasa Indonesia.

Contents
  1. What is in the package
  2. Indonesian words in the code
  3. Getting ready: an app to edit with
  4. Quick start
  5. WhatsApp number
  6. Replacing the text
  7. Replacing the photos
  8. Two languages
  9. Pages, look and dark theme
  10. Date & countdown
  11. Guest names in each link
  12. Events, story & gallery
  13. Wedding gift (bank accounts)
  14. RSVP and wishes
  15. Background music (optional)
  16. Changing the colours
  17. Publishing your website
  18. How the link looks when shared
  19. Checklist before publishing
  20. If something goes wrong

1. What is in the package

File / folderWhat it is
index.htmlYour website. All text, layout and settings live in this one file.
foto/Where your photos go (foto is Indonesian for photo).
musik/Not in the package. Create it yourself if you want background music (see Background music).
GUIDE.htmlThis guide.
PANDUAN.htmlThe same guide in Indonesian.
LICENSE.txt / LISENSI.txtThe licence, in English and Indonesian.

Keep the original ZIP. If an edit breaks the layout, you can always start again from the original file.

To look at your website at any time, double-click index.html and it opens in your browser. After editing and saving, press Refresh in the browser to see the change.

2. Indonesian words in the code

UpVire is an Indonesian studio, so the names inside the code are Indonesian. You never need to rename them, and every setting has an English comment next to it. The words you will meet most:

In the codeMeaning
PENGATURANSettings. The block at the bottom of index.html where you fill in your details.
nomorWhatsAppWhatsApp number
--utama, --utama-gelapPrimary colour, and its darker shade
fotoPhoto (also the photo folder)
bahasaLanguage
tombolBahasaLanguage switch (the ID/EN buttons)
tanggalAcara, durasiJamWedding date, and length in hours
judulKalender, lokasiKalenderTitle and location for Google Calendar
linkLive, musikLive stream link, background music
mempelai, acara, kisah, rekeningCouple, events, story, bank account
Akad Nikah, ResepsiThe Islamic marriage ceremony, and the reception
halamanTerpisahSeparate pages (one per menu item)
tombolTema, data-temaTheme button, and the default theme: otomatis = automatic, terang = light, gelap = dark

Comments in the file are written in both languages, Indonesian first and English on the next line.

3. Getting ready: an app to edit with

index.html is a plain text file. You need an app that edits text as-is, not a word processor like Microsoft Word.

Recommended: Visual Studio Code (free)

Download it from code.visualstudio.com (Windows, Mac and Linux). Open the app, choose File → Open Folder, and pick the template folder. Click index.html in the list on the left to edit it.

Without installing anything

Golden rule: change only the text between the < and > signs, never the signs themselves. In <h3>Title</h3>, only the word Title is yours to change.

Finding text

Press Ctrl+F (Windows) or Cmd+F (Mac) in your editor and type a word you see on the website. The editor jumps straight to it. This is the fastest way to find anything you want to change.

4. Quick start

If you are in a hurry, work through this list. Each step is explained in full further down.

  1. Unzip the file and double-click index.html to see the starting point.
  2. Fill in your WhatsApp number, with country code, under PENGATURAN.
  3. Choose the default language, and whether visitors can switch.
  4. Replace the name and sample text with your own.
  5. Put your photos in the foto folder and link them.
  6. Fill in the wedding date in PENGATURAN so the countdown is right.
  7. Fill in your accounts for the wedding gift section, or delete it.
  8. Match the colours to your brand.
  9. Go through the checklist, then upload to Netlify or your web host.

Allow about 1–2 hours if you are new to this, most of it spent preparing photos and writing your own text.

5. WhatsApp number

This is the most important step. Without a number, the RSVP form and the question button do not work yet.

  1. Open index.html and search for PENGATURAN (Indonesian for "settings"). It is near the bottom of the file.
  2. Find this line:
    nomorWhatsApp: '',
  3. Type your number between the two quote marks, starting with your country code:
    nomorWhatsApp: '+44 7700 900123',
    Spaces, dashes and the + are fine: only the digits are used.
  4. Save, then refresh the browser. Click one of the WhatsApp buttons: WhatsApp opens with the message already typed.

Always include the country code (for example +1 USA, +44 UK, +61 Australia, +65 Singapore). A number that starts with 0 is read as an Indonesian number (+62), so 07700 900123 would reach the wrong person.

While the number is empty, the buttons and form only show a reminder. This is on purpose, so no visitor messages a wrong number.

Use a number that has WhatsApp or WhatsApp Business installed. WhatsApp is free in almost every country; visitors without it can still use your email, which is shown next to the form.

6. Replacing the text

Every name, number, story and project in this template is an example. The easiest way to replace them: search for the text you see on the website (for example Raka) with Ctrl+F / Cmd+F, then replace it.

Must replace

FindReplace with
Raka, SintaThe couple’s names. They appear in many places (logo, opening, couple, closing, RSVP, calendar), so use Replace in your editor (Ctrl+H / Cmd+Option+F) to change them all at once.
<title>The title in the browser tab and in Google results. The English version is in data-en="..." on the same line.
name="description"The short sentence under the title in Google results. English version in data-en-content="...".
Every textWritten twice: <span lang="id"> for Indonesian and <span lang="en"> for English. See Two languages.
Raka Pratama, Sinta MaharaniFull names, parents and each person’s Instagram.
Saturday, 20 March 2027The wedding date. It appears in the opening and in the events. The countdown date is set separately, see Date & countdown.
The KUTIPAN / QUOTE sectionA verse, prayer, poem or line of your choice, to suit your beliefs and family traditions.
The KISAH CINTA / OUR STORY sectionYour own story, or delete the section.

Never publish made-up reviews or numbers. If you do not have real ones yet, remove that part until you do.

Removing a section

Each section starts with a comment such as <!-- ── KISAH CINTA / OUR STORY ── -->. To remove it, delete from the <section below that comment to its matching </section>. Also remove its menu links (search for href="#kisah").

7. Replacing the photos

The coloured boxes with an icon are photo placeholders. The template ships without photos on purpose: engagement photos or photos of the two of you are far more convincing than stock images.

Steps

  1. Save your photos in the foto folder. Use lowercase names without spaces, for example us.jpg.
  2. In index.html, find the photo box you want to replace. It looks like this:
    <div class="foto lebar">
        <svg ...>...</svg>
    </div>
  3. Replace the whole <svg ...>...</svg> part with:
    <img src="foto/us.jpg" alt="Short description of the photo" />
    Fill in alt with a short description. Google and screen readers use it.

The photo is cropped neatly to the shape of its box automatically.

Photo size

8. Two languages

This template shows in Indonesian and English. Every text is written twice, side by side:

<span lang="id">Layanan</span><span lang="en">Services</span>

Only the active language is shown. Edit both whenever you change a text, and never change the lang="id" and lang="en" markers themselves.

Default language and the ID/EN switch

English only?

This is the most common setup outside Indonesia:

  1. Change the top line to <html lang="en">.
  2. Set tombolBahasa: false in PENGATURAN. The switch disappears.
  3. Edit only the lang="en" texts and the data-en... attributes. The Indonesian texts stay in the file but never show, so you can leave them as they are.

You can use any other second language the same way: write it in the lang="id" slots and relabel the switch button (the ID text inside id="pilih-bahasa").

Text inside attributes

Some text is not shown directly on the page, so its English version is an extra attribute starting with data-en:

ExampleUsed for
data-wa="Halo..." data-en-wa="Hi..."The pre-typed WhatsApp message.
data-label="Nama" data-en-label="Name"Field names in the form's message.
<option data-en="Web development">Choices in the form.
placeholder and data-en-placeholderThe hint text in the project box.
<title data-en="...">The browser tab title.

The English version is ideal for guests from abroad or family who don’t speak Indonesian. Send them the link with ?lang=en, which you can combine with the guest name: ?lang=en&to=Mr%20and%20Mrs%20Smith. The Google Calendar title and location also have two versions in PENGATURAN.

The example follows an Indonesian Muslim wedding (a Qur’an verse, the akad nikah ceremony at a mosque). Replace the quote, event names and venues with your own traditions: nothing in the code depends on them.

9. Pages, look and dark theme

The menu at the top does not just scroll: each menu item opens its own page, with its own link and a smooth transition. It is still one index.html file, so everything you edit stays in one place.

How the pages are made

Adding or removing a page

  1. To add one: give a section an id (lowercase, no spaces) and add a link to it in the menu: <a href="#yourid">Name</a>.
  2. To remove one: delete its link from the menu (the section then joins the page before it), or delete the section and its link.

One long page instead

Set halamanTerpisah: false in PENGATURAN. The menu then scrolls down one long page, as on a classic one-page website.

Light and dark theme

The glass look and the animations

The frosted-glass cards, the soft moving colour in the background and the animations are in the CSS block marked KACA (glass). You do not need to change anything there. Two values you may want to tweak, at the top of that block:

SettingWhat it does
--kaca-blur: 18px;How frosted the glass is. Lower is clearer.
--kaca: rgba(255, 255, 255, 0.56);How white the glass is. The last number goes from 0 (clear) to 1 (solid).

Visitors who turned on Reduce motion on their device get the same pages and themes without the animations.

10. Date & countdown

The countdown and the Google Calendar button read one setting in PENGATURAN:

tanggalAcara: '2027-03-20T08:00:00+07:00',
durasiJam: 6,
judulKalender: { id: 'Pernikahan Raka & Sinta', en: 'Raka & Sinta’s Wedding' },
lokasiKalender: { id: 'Gedung Serbaguna Melati, Bandung', en: 'Gedung Serbaguna Melati, Bandung, Indonesia' },

Writing the date

The order is YEAR-MONTH-DAY, the letter T, HOUR:MINUTE:00 (24-hour clock), then your time zone offset from UTC. Month and day always have two digits (03, not 3).

Time zoneWrite at the end
UK (winter / summer)+00:00 / +01:00
Central Europe (winter / summer)+01:00 / +02:00
US Eastern (winter / summer)-05:00 / -04:00
Singapore, Malaysia+08:00
Sydney (winter / summer)+10:00 / +11:00
Jakarta (WIB)+07:00

durasiJam only sets the end time in guests’ calendars. The date and time shown on the page (opening and events) are ordinary text you change yourself.

Once the date has passed, the countdown turns into "The big day is here" automatically.

11. Guest names in each link

One file works for every guest. Add ?to= to the end of the link, followed by the guest’s name:

https://yourdomain.com/?to=Mr%20and%20Mrs%20Smith

The guest name is only for display. Anyone with the link can change the name in the address, so don’t put anything private on this page.

12. Events, story & gallery

Events

Each event is one <article class="acara"> block. Copy a whole block to add an event (a rehearsal dinner, a second reception), delete one to remove it. Change the name, day, date, time, venue and address in both languages.

The "View on Maps" button uses a search link. Replace the part after query= with the venue name (spaces become %20). More precise: open the venue in Google Maps → Share → Copy link, and paste it in place of the whole href="...".

Our story

Each milestone is one <li> block. Copy to add, delete to remove. Not needed? Delete the whole section (see "Removing a section" in the text chapter).

Guest information

Three cards: dress code, parking & access, and live stream.

Gallery

Six photo boxes. Add or remove <div class="foto"> boxes inside <div class="galeri">.

13. Wedding gift (bank accounts)

Each account is one <div class="rekening"> block (rekening = bank account). Change three things, and the same number in two places:

<span class="nomor" data-salin="1234567890">1234567890</span>
...
<button ... data-salin-tombol="1234567890">

Check account numbers twice. One wrong digit sends a guest’s gift to someone else.

14. RSVP and wishes

The RSVP form sends one WhatsApp message to your number with the name, attendance, number of guests and wishes, in the language the guest is viewing. Nothing is stored on any server, so you keep track of replies straight from WhatsApp.

As everything arrives in one chat, keep a list (Google Sheets, for example) to count who is coming.

15. Background music (optional)

  1. Prepare one song as an MP3 file. Use music you have the rights to, or royalty-free music. Putting copyrighted songs on a public website can cause problems.
  2. Create a musik folder next to index.html and save the song there, e.g. musik/song.mp3. Keep it under 4 MB.
  3. In PENGATURAN, fill in:
    musik: 'musik/song.mp3'
  4. Save and refresh. A round button with a music note appears at the bottom left. The music only starts when a guest presses it, because browsers block sound that plays by itself.

Upload the musik folder too when you publish. Empty the setting again (musik: '') to turn the feature off.

16. Changing the colours

Near the top of the file, find :root. Change these two lines to your brand colour (utama means primary, gelap means dark):

--utama: #6b7f5e;
--utama-gelap: #566849;

--utama-gelap is a slightly darker shade, used for gradients and hover states. Find colour codes with Google: color picker. Avoid very light colours for --utama, because white text on top of it becomes hard to read.

The other colours (background, text, lines) are also in :root. Change them carefully and check the result on a phone.

17. Publishing your website

Before publishing, go through the checklist below.

Option A: Netlify (free, easiest)

  1. Create a free account at netlify.com.
  2. Go to app.netlify.com/drop.
  3. Drag the whole template folder (the one with index.html and the foto folder) onto the page.
  4. Wait a few seconds. Your site is online at an address like random-name.netlify.app, which you can rename in the site settings.

To update the site later, drag the folder again onto that site's Deploys page in Netlify.

Option B: a web host with cPanel

  1. Log in to cPanel → File Manager → open public_html.
  2. Click Upload and upload index.html and the foto folder with its contents. (Or upload a ZIP, then right-click → Extract.)
  3. Open your domain in the browser.

The guides and licence files do not need to be uploaded.

Option C: GitHub Pages (free)

Handy if you already have a GitHub account. Create a public repository, upload index.html and the foto folder, then under Settings → Pages choose the main branch and the / (root) folder.

Using your own domain

Buy a domain from any registrar (Namecheap, Cloudflare, Porkbun and many others). In Netlify, open the site settings → Domain management and follow the steps. With cPanel hosting, the domain is usually connected when you buy the plan.

18. How the link looks when shared

When your link is shared on WhatsApp, LinkedIn or other social media, the preview shows the title and description from og:title and og:description near the top of the file. Replace both. These two do not switch language, so write them in the language of your main market.

To show an image too, prepare a picture of about 1200 × 630 pixels, save it in the foto folder, and add this line right below og:description. The address must be complete, including your domain:

<meta property="og:image" content="https://yourdomain.com/foto/cover.jpg" />

19. Checklist before publishing

Open your website in the browser and check each item:

20. If something goes wrong

ProblemCause and fix
WhatsApp buttons only show a reminderThe WhatsApp number is empty. See WhatsApp number.
WhatsApp opens a chat with a strangerThe number has no country code, so it was read as Indonesian. Start it with + and your country code.
A photo does not showThe file name in src="..." does not exactly match the file in the foto folder. Watch upper/lower case and the extension: once online, Photo.JPG and photo.jpg are different files.
Photos show on my computer but not onlineThe foto folder was not uploaded, or a file name contains spaces.
The layout breaks after an editA <, > or quote mark was probably deleted. Undo the last change (Ctrl+Z / Cmd+Z), or start again from the original file in the ZIP.
Changes do not show after uploadingThe browser is showing a cached copy. Press Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac).
Strange characters (like ’) appearThe file was not saved as UTF-8. Save it again with UTF-8 encoding.
Indonesian and English text show at the same timeA lang="..." was mistyped or deleted. Every pair must be exactly <span lang="id">...</span><span lang="en">...</span>.
The page opens in the wrong languageThe browser remembers the last ID/EN choice. Click the language you want, or open the page in a private window to see the default language.
The countdown shows all zeros or disappearstanggalAcara is in the wrong format. It must look like '2027-03-20T08:00:00+07:00': date, the letter T, time, then the time zone.
The guest name doesn’t changeThe link has no ?to=. Spaces are written %20, e.g. ?to=Mr%20Smith.
No music playsThe music button only appears when musik is filled in. Browsers also only allow sound after the guest presses the button.

Want us to set it up?

If you'd rather not edit it yourself, there is a Website Setup Service (sold separately): we edit this template to your brief and put it online on Netlify's free plan, in an account in your name. Look for Website Setup Service in the UpVire shop where you bought this template (Gumroad, Etsy or Lynk.id).

Questions about your purchase or download can be sent through the product page on the platform where you bought it.