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.
- What is in the package
- Indonesian words in the code
- Getting ready: an app to edit with
- Quick start
- WhatsApp number
- Replacing the text
- Replacing the photos
- Two languages
- Pages, look and dark theme
- Date & countdown
- Guest names in each link
- Events, story & gallery
- Wedding gift (bank accounts)
- RSVP and wishes
- Background music (optional)
- Changing the colours
- Publishing your website
- How the link looks when shared
- Checklist before publishing
- If something goes wrong
1. What is in the package
| File / folder | What it is |
|---|---|
index.html | Your 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.html | This guide. |
PANDUAN.html | The same guide in Indonesian. |
LICENSE.txt / LISENSI.txt | The 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 code | Meaning |
|---|---|
PENGATURAN | Settings. The block at the bottom of index.html where you fill in your details. |
nomorWhatsApp | WhatsApp number |
--utama, --utama-gelap | Primary colour, and its darker shade |
foto | Photo (also the photo folder) |
bahasa | Language |
tombolBahasa | Language switch (the ID/EN buttons) |
tanggalAcara, durasiJam | Wedding date, and length in hours |
judulKalender, lokasiKalender | Title and location for Google Calendar |
linkLive, musik | Live stream link, background music |
mempelai, acara, kisah, rekening | Couple, events, story, bank account |
Akad Nikah, Resepsi | The Islamic marriage ceremony, and the reception |
halamanTerpisah | Separate pages (one per menu item) |
tombolTema, data-tema | Theme 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
- Windows: right-click
index.html→ Open with → Notepad. - Mac (TextEdit): open TextEdit → TextEdit → Settings (or Preferences) → Open and Save tab → tick "Display HTML files as HTML code instead of formatted text". Without this setting TextEdit damages the file when saving.
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.
- Unzip the file and double-click
index.htmlto see the starting point. - Fill in your WhatsApp number, with country code, under
PENGATURAN. - Choose the default language, and whether visitors can switch.
- Replace the name and sample text with your own.
- Put your photos in the
fotofolder and link them. - Fill in the wedding date in
PENGATURANso the countdown is right. - Fill in your accounts for the wedding gift section, or delete it.
- Match the colours to your brand.
- 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.
- Open
index.htmland search forPENGATURAN(Indonesian for "settings"). It is near the bottom of the file. - Find this line:
nomorWhatsApp: '', - Type your number between the two quote marks, starting with your country code:
Spaces, dashes and thenomorWhatsApp: '+44 7700 900123',+are fine: only the digits are used. - 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
| Find | Replace with |
|---|---|
Raka, Sinta | The 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 text | Written twice: <span lang="id"> for Indonesian and <span lang="en"> for English. See Two languages. |
Raka Pratama, Sinta Maharani | Full names, parents and each person’s Instagram. |
Saturday, 20 March 2027 | The wedding date. It appears in the opening and in the events. The countdown date is set separately, see Date & countdown. |
The KUTIPAN / QUOTE section | A verse, prayer, poem or line of your choice, to suit your beliefs and family traditions. |
The KISAH CINTA / OUR STORY section | Your 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
- Save your photos in the
fotofolder. Use lowercase names without spaces, for exampleus.jpg. - In
index.html, find the photo box you want to replace. It looks like this:<div class="foto lebar"> <svg ...>...</svg> </div> - Replace the whole
<svg ...>...</svg>part with:
Fill in<img src="foto/us.jpg" alt="Short description of the photo" />altwith a short description. Google and screen readers use it.
The photo is cropped neatly to the shape of its box automatically.
Photo size
- About 1200–1600 pixels wide is plenty.
- Keep each photo under 300 KB so the site loads fast on phones. Compress for free at squoosh.app.
- Phone photos are usually 3–5 MB. Always compress them first.
- The couple’s photos are arch-shaped portraits. Choose half-body photos with faces near the top so they are not cropped.
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
- The default language is set on the
<html lang="id">line at the top of the file. Change it to<html lang="en">so new visitors see English first. - The ID/EN switch in the navigation is controlled by
tombolBahasa: trueinPENGATURAN. A visitor's choice is remembered in their browser. - Direct link: add
?lang=en(or?lang=id) to the end of your address, e.g.yourbusiness.com/?lang=en, to open a specific language. Handy in proposals and social profiles.
English only?
This is the most common setup outside Indonesia:
- Change the top line to
<html lang="en">. - Set
tombolBahasa: falseinPENGATURAN. The switch disappears. - Edit only the
lang="en"texts and thedata-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:
| Example | Used 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-placeholder | The 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
- Every link in the top menu, e.g.
<a href="#mempelai">, becomes a page made of the section with thatid. - A section that is not in the menu joins the page before it. Everything before the first menu section is the Home page.
- The Home page lists every page as a card (Explore), and each page ends with a Next card. Both are made automatically from the menu and each section's
<h2>heading. - Each page has its own address, e.g.
yourbusiness.com/#mempelai. Share it on social media or in a WhatsApp message to open that page directly.
Adding or removing a page
- 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>. - 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 default theme is set on the first line of the page:
<html lang="id" data-tema="otomatis">. Useotomatisto follow the visitor's phone or computer setting,terangfor light, orgelapfor dark. - The sun/moon button lets visitors switch, and remembers their choice. Hide it with
tombolTema: falseinPENGATURAN; the page then always uses the default theme. - Your colours (
--utama) work in both themes. The dark theme’s colours are in the CSS block markedTema gelap / Dark theme, near the end of the styles.
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:
| Setting | What 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 zone | Write 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
- Spaces are written
%20. - Without
?to=, the page shows "Honoured guest" (in Indonesian "Bapak/Ibu/Saudara/i"). You can change these words in the text. - Add
lang=ento open the English version too:?lang=en&to=Mr%20and%20Mrs%20Smith. - For many guests, list the names in Google Sheets and build the links in the next column with a formula such as
="https://yourdomain.com/?lang=en&to="&SUBSTITUTE(A2," ","%20").
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.
- Dress code: change the text, and the four colour circles through
style="background:#6b7f5e". No dress code? Delete the whole<div class="warna-dress">block and the sentence above it. - Parking & access: replace with your venue’s real information.
- Live stream: this card stays hidden until you fill in
linkLiveinPENGATURAN, e.g.linkLive: 'https://youtube.com/live/...'. Empty it again to hide the card.
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">
- The number shown (between
>and<) and the number indata-salin-tombolmust match, because the second one is what the button copies. - Change the bank or payment service (for example PayPal or Wise) and the account holder’s name.
- Only one account? Delete a whole block. Not using this at all? Delete the whole
AMPLOP DIGITAL / WEDDING GIFTsection.
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.
- Change the attendance or guest-number choices by editing the
<option>lines in the<select>. The English text is indata-en="...". - Change the opening sentence in
data-wa-form/data-en-wa-formon the<form>tag. - Guests press Send in WhatsApp themselves after it opens.
As everything arrives in one chat, keep a list (Google Sheets, for example) to count who is coming.
15. Background music (optional)
- 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.
- Create a
musikfolder next toindex.htmland save the song there, e.g.musik/song.mp3. Keep it under 4 MB. - In
PENGATURAN, fill in:musik: 'musik/song.mp3' - 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)
- Create a free account at netlify.com.
- Go to app.netlify.com/drop.
- Drag the whole template folder (the one with
index.htmland thefotofolder) onto the page. - 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
- Log in to cPanel → File Manager → open
public_html. - Click Upload and upload
index.htmland thefotofolder with its contents. (Or upload a ZIP, then right-click → Extract.) - 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:
- The WhatsApp number is filled in with a country code, and the buttons open the right chat.
- No sample names, addresses, prices or numbers are left, in both languages (or the language switch is off).
- All photos show (no placeholder boxes left).
- The date in
PENGATURANmatches the date written on the page. - The countdown shows the right number of days.
- Account numbers are correct. Try the "Copy number" button and compare.
- The Maps buttons for the ceremony and reception open the right places.
- You sent yourself one test RSVP and the message arrived complete.
- A link with
?to=Nameshows the guest’s name correctly. - The browser tab title and
og:titleare replaced. - Tested on a phone, not just a computer.
- Every button clicked at least once.
20. If something goes wrong
| Problem | Cause and fix |
|---|---|
| WhatsApp buttons only show a reminder | The WhatsApp number is empty. See WhatsApp number. |
| WhatsApp opens a chat with a stranger | The number has no country code, so it was read as Indonesian. Start it with + and your country code. |
| A photo does not show | The 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 online | The foto folder was not uploaded, or a file name contains spaces. |
| The layout breaks after an edit | A <, > 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 uploading | The browser is showing a cached copy. Press Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac). |
| Strange characters (like ’) appear | The file was not saved as UTF-8. Save it again with UTF-8 encoding. |
| Indonesian and English text show at the same time | A lang="..." was mistyped or deleted. Every pair must be exactly <span lang="id">...</span><span lang="en">...</span>. |
| The page opens in the wrong language | The 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 disappears | tanggalAcara 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 change | The link has no ?to=. Spaces are written %20, e.g. ?to=Mr%20Smith. |
| No music plays | The 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.