Homelia
A clean, modern HTML template for real estate agencies, built on Bootstrap 5 with a Forest Green theme. This guide covers setup, customization and every component.
Introduction
Homelia is a complete real estate website template. This release (1.0.0) includes 12 home page layouts, 24 inner pages and over 85 documented components, with light and dark mode, RTL support, animations and SEO built in.
- Plain HTML, CSS and a little JavaScript. No build step is required to use it.
- Bootstrap 5.3 compatible. Components extend Bootstrap's own classes, so grid, utilities and JavaScript plugins all keep working.
- One source of truth for design. Every color, size and radius is a CSS variable, so one change updates the whole template.
- Accessible by default. Visible keyboard focus, readable contrast and reduced-motion support.
Quick start
- Unzip the package and open
homelia/HTML/components/index.htmlin any modern browser. Nothing needs installing. - Copy the markup of any component from its View code panel into your own page.
- Use this head and script setup on every page:
<!-- in <head> -->
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap" rel="stylesheet">
<link href="../assets/vendor/bootstrap.min.css" rel="stylesheet">
<link href="assets/css/style.min.css" rel="stylesheet"> <!-- always AFTER bootstrap -->
<!-- before </body> -->
<script src="../assets/vendor/bootstrap.bundle.min.js"></script>
<script src="assets/js/icons.min.js"></script> style.css is the readable version and style.min.css is the same file minified for production. The scripts work the same way: the pages load the minified .min.js files, and the readable versions sit next to them.
| Readable (edit this) | Minified (loaded by the pages) |
|---|---|
assets/css/style.css | assets/css/style.min.css |
assets/js/site.js | assets/js/site.min.js |
assets/js/icons.js | assets/js/icons.min.js |
assets/js/effects.js | assets/js/effects.min.js |
assets/js/animations.js | assets/js/animations.min.js |
assets/js/swiper-init.js, map-view.js, customizer.js | the same names with .min.js |
Which one should I use? Keep the minified files for a live site: they are about 40% smaller and load faster. Switch to the readable files while you are developing or debugging: change site.min.js to site.js (and so on) in the <script> tags. If you edit a readable script and keep using the minified one, run npm install once and then npm run build:js to regenerate the .min.js files (see Rebuilding the CSS for the CSS equivalent).
File structure
homelia/
└── HTML/ Everything you need is inside this folder
├── index.html listing.html property-details.html ... The home layouts and inner pages (12 + 24)
├── components/ One page per component (start at index.html)
├── documentation/
│ └── index.html This guide
├── build.js Rebuilds style.css from the source files (Node, no dependencies)
├── package.json Optional scripts (npm run scss, build:js, html:min, html:pretty)
├── html-format.js Optional: minifies or re-indents every HTML file (node html-format.js minify|pretty)
├── build-js.js Optional: rebuilds the .min.js files
└── assets/
├── css/
│ ├── style.css Compiled theme (readable)
│ ├── style.min.css Compiled theme (minified, use in production)
│ ├── docs.css Styles for the component pages and this guide (safe to delete)
│ └── src/ Edit these, then run build.js
│ ├── tokens.css Design tokens (colors, spacing, radius, fonts, shadows)
│ ├── base.css Bootstrap variable mapping, typography, links, focus
│ └── components/ One CSS file per component group
├── scss/ Optional SCSS edition of the same styles (main.scss + partials)
├── js/
│ ├── icons.js Inline SVG icon sprite (80+ icons); icons.min.js is the minified copy
│ ├── site.js Small behaviors used by the components; site.min.js is the minified copy
│ ├── *.min.js Minified versions of site, icons, effects, animations, swiper-init, map-view, customizer
│ ├── docs-shell.js Sidebar and navigation of the component pages (safe to delete)
│ ├── docs.js "View code" panels of the component pages (safe to delete)
│ ├── google-fonts-data.js Google Fonts list for the documentation picker (safe to delete)
│ └── font-picker.js Documentation font picker (safe to delete)
└── img/ Original placeholder illustrations
├── avatars/ agents/ properties/ locations/ floorplans/ Colors
The palette lives in assets/css/src/tokens.css (how to rebuild the CSS after editing it) in two layers. Primitives are raw values such as --green-900. Semantic tokens such as --color-bg-primary point at primitives and are what components use. To re-brand, change the primitives and every component follows.
| Token | Value | Used for |
|---|---|---|
--green-900 | #173F35 | Primary buttons, headings, brand surfaces |
--green-700 | #2E6B57 | Primary hover, links |
--green-100 | #E8EDE7 | Soft surfaces, secondary buttons |
--sand-50 | #F7F6F0 | Page background |
--charcoal-900 | #252B28 | Body text |
--brass-500 | #C0903F | Accent buttons, For Rent badge, ratings |
Example: to switch the primary color to navy, change the --green-900, --green-700 and --green-950 values and keep the names.
Typography and fonts
Headings (h1 to h4, .display-1, .display-2) use Fraunces. Body text, labels, h5 and h6 use DM Sans. Both are open-source fonts under the SIL Open Font License, which permits commercial use and redistribution.
To change fonts, update the Google Fonts link in the <head> of your pages and set --font-heading and --font-body (either in the stylesheet tokens or with a small <style> override). The Google Fonts picker below generates both for you.
Self-hosting fonts (recommended for privacy rules such as GDPR): download the font files, place them in assets/fonts/, remove the Google Fonts link and add @font-face rules to base.css.
| Class | Font | Size |
|---|---|---|
.display-1 | Fraunces 600 | 40 to 64 px, fluid |
.display-2 | Fraunces 600 | 36 to 48 px, fluid |
h1 / h2 / h3 / h4 | Fraunces 600 | 40 / 32 / 24 / 20 px, fluid on small screens |
h5 / h6 | DM Sans 700 | 18 / 16 px |
.lead | DM Sans 400 | 18 px |
.eyebrow | DM Sans 600, uppercase | 12 px |
Google Fonts picker
Browse all Google Fonts families, preview them live and copy the code for your pages. The list comes from assets/data/google-fonts.json (metadata for every family: category, weights, italics and language subsets, taken from the open google/fonts repository). To refresh it later, run the same export against a newer copy of that repository. Fonts load from Google only while you preview; nothing is added to the theme until you paste the code.
Find your dream home in the heart of the city
Browse apartments, villas and townhouses, book a viewing in minutes and talk to a trusted local agent. 0123456789 $1,250,000
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
Homes that feel like yours
Search thousands of listings, save your favourites and get alerts the moment a new property matches your budget.
Where to paste it. Step 1 is always the same: put the <link> lines in the <head> of every page, replacing the old Google Fonts link. For step 2 you can choose either way, and both work together:
- Option A, no CSS editing: paste the small
<style>block in the same<head>, after thestyle.csslink so it wins. It works with bothstyle.cssandstyle.min.css. - Option B, edit the tokens: change
--font-headingand--font-bodyinassets/css/style.css(near the top, in:root) and instyle.min.cssif your pages use that file. If you rebuild the CSS, change them inassets/css/src/tokens.css(see Rebuilding the CSS) or inassets/scss/_tokens.scss(see Using SCSS) instead.
The right-to-left pages use Cairo for Arabic: change it in the [dir="rtl"] block of the same files.
Spacing, radius and shadows
Spacing follows a 4 px base: --spacing-2xs (4) to --spacing-4xl (96). Corner radius: --radius-sm 6, --radius-md 10, --radius-lg 16, --radius-xl 24, --radius-full pill. Control heights: --size-control-sm 36, --size-control-md 44, --size-control-lg 52. Shadows: --shadow-sm, --shadow-md, --shadow-lg.
Rebuilding the CSS
Edit the files in assets/css/src/, then compile them into style.css. You need Node.js and nothing else:
cd HTML
node build.js To create the minified file:
npx esbuild assets/css/style.css --minify --outfile=assets/css/style.min.css Minify or prettify the HTML
The pages ship readable, with normal indents. To make them smaller for a live site, or to tidy them again after editing, run the formatter. It only needs Node.js and changes the .html files in the folder you run it in:
cd HTML
node html-format.js minify # smaller files for the live site
node html-format.js pretty # readable, indented files for editing Content inside <pre>, <textarea>, <script> and <style> is left as it is, so code samples and scripts keep working. Both commands are safe to run again, and you can switch between them at any time. If you want to keep your editable files, make a formatted copy instead: node html-format.js minify --out ../live-site.
Prefer not to use Node? Edit style.css directly. It is plain, readable CSS. To add a new component file, add it to the ORDER list in build.js.
Using SCSS (optional)
The theme is plain CSS and works without any tools. If you prefer SCSS, the same styles are included as SCSS in assets/scss/: main.scss imports one partial per file of assets/css/src/, in the same order. The design tokens remain CSS variables, so the customizer and dark mode work the same way.
cd HTML
npm install # installs the SCSS compiler (once)
npm run scss # assets/scss/main.scss -> assets/css/style.css
npm run scss:min # compressed -> assets/css/style.min.css
npm run scss:watch # recompile while you edit Edit the partials in assets/scss/ (for example _tokens.scss for colors and fonts; the plain-CSS alternative is described in Rebuilding the CSS). Do not mix the two workflows: once you start in SCSS, stop editing assets/css/src/ and build.js, because npm run scss overwrites style.css. Skip this section entirely and delete assets/scss/ and package.json if you only use CSS.
Bootstrap and libraries: local or CDN
Bootstrap 5.3.8 (including the RTL stylesheet), Swiper, GSAP and ScrollTrigger are bundled in assets/vendor/, so the pages work offline and need no third-party host for these files. To use a CDN instead, replace the assets/vendor/... paths in each page with the library's CDN URL. The theme only relies on standard Bootstrap 5.3 classes and CSS variables, so any 5.3.x release works.
Icons
Icons are an inline SVG sprite injected by assets/js/icons.min.js. It works on a web server and when opening files directly from disk. Use an icon like this:
<svg class="icon" aria-hidden="true"><use href="#i-search"></use></svg>
<!-- filled variant for stars and hearts -->
<svg class="icon icon-fill" aria-hidden="true"><use href="#i-star"></use></svg> Sizes: .icon-sm (16), .icon-md (20), .icon-lg (24). The default is 1.25em so icons scale with text. Color follows the text color.
Included: plus, minus, arrow-right, arrow-left, arrow-up-right, chevron-down, chevron-right, search, close, check, check-circle, info, alert, heart, star, map-pin, bed, bath, area, home, phone, mail, user, sliders, share, upload, trash.
Add your own: open icons.js, add a line to the icons object with a name and the SVG path content (24 x 24 grid, drawn as a 2 px stroke), then use #i-yourname.
Components
Every component has its own page in homelia/HTML/components/ with live examples, a "View code" panel for each one, and a table of its classes. Open the component library to browse all of them.
Foundation UI
Layout and navigation
- Container
- Header
- Mobile menu
- Mega menu
- Footer
- Section heading
- Breadcrumbs
- Pagination
- Modal and drawer
- Back to top
- Language switch
- Preloader
- Customizer
- Tabs
- Scroll row
Property and search
- Property card
- Property list card
- Property gallery
- Search form
- Advanced filters
- Specifications
- Amenities
- Floor plan
- Location card
- Open house card
- Mortgage calculator
- Property map
- Map hero
- Map illustration
- Neighbourhood chips
- Area list
- Split view
People and proof
- Agent card
- Agent row
- Agent showcase
- Agency card
- Team card
- Case card
- Report row
- Testimonials
- Logo strip
- Stat bar
Page sections
- Hero
- Hero slider
- Modern hero
- Business hero
- Compare hero
- App showcase
- Featured properties
- Property categories
- Popular locations
- Blog cards
- CTA banner
- Giant CTA
- Newsletter
- Process steps
- Bento grid
- Masonry
Motion and effects
- Animations
- Parallax
- Custom cursor
- 3D tilt
- Adaptive background
- Marquee
- Swiper hero
- Swiper carousel
- Swiper stack
- Compare slider
Feedback and data
Light and dark mode, layout and header
One page serves every version. You change the look by setting attributes on the <html> tag. No second page is needed.
<html lang="en" data-theme="dark" data-layout="boxed" data-header="static" data-radius="round">
| Attribute | Values | What it does |
|---|---|---|
data-theme | light (default), dark | Light or dark version. Dark mode only changes the color tokens in tokens.css (see dark.css), so every component follows. To make dark the default for your whole site, set data-theme="dark" once. To follow the visitor's device, set it with matchMedia('(prefers-color-scheme: dark)'). |
data-layout | full (default), boxed | Full width lets sections run edge to edge. Boxed puts the whole page in a centered column (1360px) with a frame around it. |
data-header | sticky (default), static | Sticky keeps the header at the top while scrolling. Static lets it scroll away with the page. |
data-radius | sharp, default (shown as "Normal"), round (default) | Changes the corner size of cards, buttons and fields together. |
Colors
The primary color is the --green-* scale and the accent color is the --brass-* scale in tokens.css (how to rebuild). Change the values there and the whole template follows, in light and in dark mode. Dark mode uses the lighter steps of the same scales, so you do not set colors twice.
Customizer (preview drawer)
The gear button at the edge of each page opens the customizer. It lets a visitor try every option above live. Choices are saved in the browser (localStorage), so they stay after a refresh, and Reset to default clears them. It is meant for the demo only: delete the line <script src="assets/js/customizer.min.js"></script> from the <head> to remove it from a real site.
Because the customizer runs in the <head>, the saved settings are applied before the page is drawn, so there is no flash of the wrong color.
RTL support (Arabic and other right-to-left languages)
The same theme CSS serves both directions. You switch direction in one place: the <html> tag.
- Set
<html lang="ar" dir="rtl">. - Load
bootstrap.rtl.min.cssinstead ofbootstrap.min.css(same CDN folder). - Optional: load an Arabic font such as Cairo.
rtl.cssalready uses it whendir="rtl".
Everything else flips by itself: layout, corner badges, arrows, form fields, switches and menus. All the RTL rules live in assets/css/src/components/rtl.css and only apply when dir="rtl", so left-to-right pages are never affected. Maps, phone numbers and e-mail addresses stay left-to-right on purpose.
See index-rtl.html for a full Arabic home page. Use the language switch to link the two versions.
Fancy scroll area
Add .scroll-fancy to any element that has a height or max-height (use .scroll-fancy-x for sideways scrolling). It gets a slim rounded green scrollbar that darkens on hover, and a soft fade at the top and bottom edges. It is pure CSS with no library. Used on the filters sidebar of listing.html.
<aside class="scroll-fancy" style="max-height: 480px">...</aside>
<div class="scroll-fancy-x">...</div> horizontal scroll, fade at the left and right
<div class="scrollbar-fancy">...</div> scrollbar only, any direction These already use the fancy scrollbar, no class needed: .scroll-row (card rows), tables in .table-card, .compare-wrap, .offcanvas-body (mobile menu and drawers) and the code panels in these docs. The tab strip (.nav-tabs) gets the edge fade but keeps its scrollbar hidden.
The edge fade needs a browser with scroll-driven animations (Chrome, Edge, Safari 26 and newer). Elsewhere the scrollbar still works without the fade. Firefox shows its own thin scrollbar in the theme colors.
Pages
All 24 pages are in the homelia/HTML/ folder and are built only from the components above. Open index.html to start. The header and footer are repeated in every file, so a change to the menu means editing each page (or moving them into your template engine or build step).
| File | Page | Contains |
|---|---|---|
index.html | Home | Hero with search, categories, featured properties, locations, agents, testimonials, blog, CTA |
index-modern.html | Modern home | Home page variation with a bold look: huge headline, pill search bar and picture collage, a sliding marquee, a bento grid, an area list with hover pictures, a sticky "how it works", a masonry wall of reviews and a giant call to action. |
index-business.html | Business home | Home page variation for a commercial property firm: hero with consultation form, overlapping stat bar, service tabs, case studies, leadership team, client quote, research downloads. |
index-swiper.html | Swiper home | Home page variation built on Swiper: full-screen property slider with thumbnails, coverflow of featured homes, card stack, draggable carousel and testimonial slider. See Swiper hero slider. |
index-spotlight.html | Spotlight home | Home page with a Swiper hero, a lifestyle panel picker, a journey timeline, agents, market trend cards, agencies, client reviews and an alert form. See App showcase. |
index-compare.html | Comparison home | Home page built around image comparison sliders: renovations, virtual staging, day and dusk, plan and built, neighbourhood then and now, and an us-versus-others table. Uses Image compare slider. |
index-compare-hero.html | Comparison hero home | Home page whose hero is a full-screen day/dusk comparison slider, followed by project tabs with sliders, a two-home table, a pair of sliders and a four-step process. Uses Full-screen compare hero. |
index-video.html | Video home | Home page with a full-screen looping background video (muted, plays inline), a poster image shown until it plays, a pause button and a glass search bar. Put your video at assets/videos/hero-1.mp4. |
index-classic.html | Classic home | Home page variation in a traditional portal style: top bar, full-width property slider with a search strip, price tiles, listings next to a sidebar with a mortgage calculator and agent form, recently sold, review summary with rating bars, partner logos and office details. |
index-rtl.html | Home (Arabic, RTL) | The home page translated into Arabic with right-to-left layout. Shows how dir="rtl" and bootstrap.rtl.min.css work. |
index-map.html | Home with map | Home page variation: the hero is the property map (Google Maps, demo map without a key) with a search panel on top. The sections below are different from the home page: neighbourhood chips, a scrolling "just listed" row, how it works, open houses, market snapshot, agent rows, one featured quote, article rows, CTA and alerts. |
agencies.html | Agencies | Directory of real estate agencies: stats row with count-up numbers, agency of the month, search toolbar and a grid of agency cards. |
agency-details.html | Agency profile | Agency profile: cover and logo, stats, services, areas, agents, listings and reviews. |
index-map-bar.html | Home with map and search bar | Home page variation: the map hero with a horizontal search bar floating at the bottom. Sections below are different from the other home pages: services, home of the week, agents, map FAQ, testimonial slider, journal, CTA and newsletter. |
listing.html | Property listing | Filters sidebar, grid and list view, pagination |
listing-map.html | Properties with map | Listing variation: half the screen is a scrolling property list, half is a full-height map. On phones a List / Map switch shows one at a time. See Split view. |
property-details.html | Property details | Gallery, key facts, description, amenities, floor plans, map, agent contact |
about.html | About | Story, numbers, team |
agents.html | Agents | Team grid |
agent-details.html | Agent profile | Agent profile: stats, about, specialities, active listings, reviews and a contact form. |
contact.html | Contact | Form, details, map |
login.html | Login | Sign in form |
register.html | Register | Sign up form |
dashboard.html | Overview | Account overview: welcome, stats |
my-properties.html | My properties | Listings table with status and actions |
profile.html | Profile | Photo, details and notification settings |
add-property.html | Add property | Multi-step form |
wishlist.html | Wishlist | Saved properties |
compare.html | Compare | Side-by-side table |
blog.html | Blog | Article list |
blog-details.html | Blog details | Article page |
pricing.html | Pricing | Plans with billing switch |
faq.html | FAQ | Accordion |
404.html | 404 | Page not found |
privacy.html | Privacy policy | Legal text |
terms.html | Terms | Legal text |
Using a component
- Open the component page and find the example you want.
- Click View code under the example and copy the HTML.
- Paste it into your page. Every page needs the Bootstrap CSS,
style.css, the Bootstrap JS bundle, andicons.js(for icons). Addsite.jsfor the small behaviors listed below. - Replace the sample text and the images in
assets/img/. - Component pages show the site header (with the mega menu) and the footer. Both are copied from
index.htmlintoassets/js/docs-shell.js: after changing the header, mega menu or footer, runnode build-docs-header.js.
To add a page like the ones in components/ for your own component, copy any file there, edit the content inside <main class="doc-main"> and add a line to the list at the top of assets/js/docs-shell.js. The showcase files are not needed on a real site.
JavaScript (site.js)
Small, dependency-free helpers. Each one only runs if its attribute is on the page. Everything else (dropdowns, modals, drawers, tabs, carousel, collapse) is Bootstrap's own JavaScript.
| Attribute | What it does |
|---|---|
data-sticky on .site-header | Adds .is-scrolled when the page is scrolled. |
.btn-favorite | Toggles aria-pressed and the label on click. |
data-gallery, data-thumb | Thumbnail strip that swaps the main photo. |
data-gallery-index | Opens the lightbox carousel at a given slide. |
data-counter="#id" on a textarea | Live character counter. |
data-indeterminate on a checkbox | Shows the mixed state. |
data-view-toggle, data-view | Grid and list switch buttons. |
data-output="#id" on a range | Shows the slider value in another element. |
data-scroll="#rowId" and data-dir="1" or "-1" on a button | Scrolls a .scroll-row by one card (previous and next arrows). |
effects.js: data-cursor on html or any element | Custom cursor for desktop. Off switch, text labels and native pointer. See Custom cursor. |
effects.js: data-tilt, data-tilt-glare, data-tilt-depth | 3D tilt on hover. See 3D tilt hover. |
effects.js: data-device-stage, data-device-zone | Pointer motion for the devices and chips. See App showcase. |
effects.js: data-adaptive on a section | Adaptive page background while scrolling. See Adaptive background. |
swiper-init.js: data-swiper="hero | carousel | coverflow | stack | quotes | chips" | Starts Swiper sliders. Needs the Swiper CDN files loaded first (see Swiper hero slider). Options can be changed with data-swiper-options JSON. |
data-split on main, data-split-show on buttons, data-map-id on cards | Split list and map page: switches List / Map on phones, sets the header height, and highlights a map pin when its card is hovered. |
data-compare on .compare-slider, data-compare-start, data-compare-still | Image compare slider: moves the before image with the range input, supports keyboard and touch, plays a short hint sweep once when visible. |
data-mortgage on a wrapper | Mortgage calculator. Inputs use data-m="price|down|rate|years", outputs use data-m-out and data-m-result. |
data-area-list on a wrapper | Area list: shows the picture that matches the name you hover or focus. |
data-bs-toggle="tooltip" | Starts Bootstrap tooltips. See Tooltip. A CSS-only data-tip version needs no script. |
customizer.js (in the head) | Preview drawer for theme options. Optional. See Light and dark mode, layout and header. |
SEO (search engine optimization)
Every page ships with the technical SEO already done. Before you launch you must change the placeholder domain, then fill in your own text, images and listing data. Search engines will not rank a page that still says example.com.
Launch checklist (do these in order)
- Set your domain. Search and replace
https://www.example.com/with your real address (withhttpsand a trailing slash) in all.htmlfiles,sitemap.xmlandrobots.txt. Every canonical, Open Graph and schema URL uses it. - Write a unique title and description for each page. The demo pages already use unique, keyword-led text you can adapt. Title: 50 to 60 characters, main keyword first, brand last. Description: 120 to 155 characters that make someone want to click. Never reuse one on two pages. Update
og:titleandog:descriptionto match. - Replace the share image.
assets/img/og-image.jpg(1200 x 630) is what Facebook, WhatsApp, LinkedIn and X show when your link is shared. Use your own logo and photo. Property and blog pages point to their own photo. - Replace the icons.
favicon-32.png,favicon-192.png,favicon-512.pngandapple-touch-icon.pngare inassets/img/. Editsite.webmanifestfor your name and colors. - Update the structured data (JSON-LD, described below): company name, phone, email, address, and the real data on each listing and article.
- Upload
sitemap.xmlandrobots.txtto the root of your site, then submit the sitemap in Google Search Console and Bing Webmaster Tools. - Test. Run each key page through the Rich Results Test and PageSpeed Insights.
What is already in every page
| Tag | What it does |
|---|---|
<title>, meta description | The headline and snippet in search results. |
link rel="canonical" | Tells Google the one official address of the page, so filtered or duplicate links do not split your ranking. |
meta robots | index, follow on public pages. noindex on private pages (login, register, dashboard, profile, my properties, add property, wishlist, 404). Component and documentation pages are noindex, nofollow: delete the components/ and documentation/ folders from your live site. |
og:* and twitter:* | The title, text and image shown when the page is shared on social media. |
hreflang | Links the English and Arabic home pages as language versions of each other. Add one line per language you publish. |
| JSON-LD (schema.org) | Structured data that can give you rich results. See below. |
Icons, theme-color, manifest | Browser tab icon, phone home-screen icon and address-bar color. |
html lang and dir | The page language. The Arabic page uses lang="ar" dir="rtl". |
Structured data (JSON-LD)
Each page has one <script type="application/ld+json"> block in the head. It is data for search engines only; visitors never see it.
| Page | Schema type | Can give you |
|---|---|---|
| All home pages | RealEstateAgent + WebSite | Business info, search box in results |
property-details.html | RealEstateListing + SingleFamilyResidence | Price, beds, baths, size and address |
blog-details.html | BlogPosting | Article result with date and author |
faq.html | FAQPage | Questions and answers |
agent-details.html, agency-details.html | RealEstateAgent + AggregateRating | Star ratings |
| Other public pages | BreadcrumbList and page type | Breadcrumb path in results |
Important: structured data must match what visitors can see on the page. Google can penalize prices, ratings or questions that are not on the page. When you duplicate property-details.html for another listing, edit the name, price, bedrooms, address, image and description in its JSON-LD. If you generate pages with a CMS or template engine, fill these values from your database. Remove the aggregateRating blocks unless you show real reviews.
Content rules that matter most
- One
<h1>per page, thenh2,h3in order. Use the heading level for meaning and a utility class (for example.h3) for size. - Describe every image in
alt. Write what is in the photo ("Family house with garden and wooden fence"). Decorative images keepalt="". - Images: use
.webp, keep each under about 200 KB, and setwidthandheightto stop the page jumping while it loads. Images below the first screen already useloading="lazy". Never lazy-load the main hero image. - Link text should say where it goes ("View 3 bedroom homes"), not "click here".
- Clean URLs. Short, lowercase, with hyphens, for example
/homes/family-house-northfield. If you remove.htmlwith your server, update the canonical and sitemap URLs to match. - Local SEO. Put your name, address and phone number exactly the same on the contact page, the footer, the schema and your Google Business Profile.
- Speed. Host fonts and Bootstrap locally if you can, serve files with gzip or brotli, and use the minified
style.min.css(the pages already do).
Sitemap and robots.txt
sitemap.xml lists every public page with the English and Arabic versions linked. Add a <url> entry whenever you add a page, and update <lastmod> when its content changes. robots.txt already blocks the private pages and the demo folders and points to the sitemap. It does not hide pages from the public: use noindex for that.
Multiple languages
Give each language its own page and address (/ar/ or index-rtl.html). On every language version, list all versions, including itself, plus one x-default:
<link rel="alternate" hreflang="en" href="https://www.example.com/">
<link rel="alternate" hreflang="ar" href="https://www.example.com/index-rtl.html">
<link rel="alternate" hreflang="x-default" href="https://www.example.com/"> Check your SEO with AI
If you use Claude Code or Claude, the free SearchFit SEO plugin can audit these pages (skills: seo-audit, on-page-seo, technical-seo, schema-markup, broken-links) and write titles, descriptions and schema for you. It is optional and from a third party, so review it before installing. A new site can take several weeks to appear in Google, and no template can promise a ranking: results depend on your content, links and competition.
Accessibility
- Every interactive element shows a clear 3 px focus ring when reached with the keyboard.
- Text and control colors are chosen for readable contrast on the page and card backgrounds. Disabled controls are intentionally lower contrast, as the WCAG standard allows.
- Icon-only buttons must have an
aria-label. Decorative icons usearia-hidden="true". - Animations (button spinner, skeleton shimmer, smooth scroll) are reduced for users with the "reduce motion" system setting.
- Remember to run your final pages through a checker such as WAVE or Lighthouse, since content and images are yours.
Browser support
Current versions of Chrome, Edge, Firefox and Safari (desktop and mobile). The theme uses CSS custom properties, :focus-visible and CSS masks, which all of these support. Internet Explorer is not supported, in line with Bootstrap 5.
Credits and licenses
| Resource | License | Link |
|---|---|---|
| Bootstrap 5.3 | MIT | getbootstrap.com |
| Swiper 11 | MIT | swiperjs.com |
| GSAP 3 and ScrollTrigger | GSAP Standard "no charge" License | gsap.com/standard-license |
| Fraunces (font) | SIL Open Font License 1.1 | Google Fonts |
| DM Sans (font) | SIL Open Font License 1.1 | Google Fonts |
Icons (icons.js) | Original artwork, included with the template | n/a |
| Avatar illustrations | Original artwork, included with the template | n/a |
No stock photos or third-party images are included in this release.
Changelog
Every update to Homelia is listed here with its release date and any steps you need to take. Thank you for choosing Homelia.
1.0.0: Initial release (December 2026)
First public release of Homelia, a real estate HTML template built on Bootstrap 5.3.
- Pages: 12 home page layouts (including Arabic RTL, map, comparison and Swiper versions) and 24 inner pages: listings, property details, agents, agencies, blog, compare, wishlist, dashboard, pricing, FAQ, contact, login, register and more.
- Components: over 85 documented components, each with a live example, copyable code and a class reference.
- Theming: light and dark mode, sharp or rounded corners, boxed or full-width layout, and a built-in theme customizer. Colors, fonts and spacing are CSS variables.
- Motion: 25 scroll animations, counters, parallax, tilt, custom cursor, marquee and sliders, all controlled with data attributes. Content stays visible without JavaScript and animations respect the "reduce motion" setting.
- RTL and languages: full right-to-left support with a ready Arabic page and a language switch.
- SEO: canonical, robots, Open Graph, Twitter cards, hreflang, JSON-LD structured data,
sitemap.xml,robots.txtand a web manifest. See SEO. - Accessibility and performance: visible focus rings, skip link, labelled controls, one
h1per page, lazy-loaded images and a minified stylesheet. - Documentation: setup, customization, component reference and SEO guide (this page).
Future releases will be added above this entry with update instructions. If you find a bug or need help, contact support through the item page where you purchased the template.
