Skip to content

Real Estate Agency Landing Page with Property Photos

Bootstrap 5 real estate landing page with a photo hero, property search that filters listing cards, saved homes, agent contacts and a valuation form.

Live preview

Open in new tab

Code

A complete Bootstrap 5 landing page for a real estate agency: a dark green navbar over a full-width house photo, a property search card, featured listings with real photos, agent cards with phone and email links, and a "Thinking of selling?" valuation form.

How it works

Everything sits inside .rea-page. The .rea-header paints the hero photo from the --rea-hero-image custom property under a green gradient overlay. It holds a Bootstrap navbar that collapses into a toggler below lg, the headline, the .rea-search form and a .rea-stats row. The search form starts with .rea-deal, a pill switch made of btn-check radios (All, Buy, Rent), followed by Location, Property type and Bedrooms selects.

Listings live in .rea-grid. Each .rea-col carries data-deal, data-city, data-type and data-beds, and wraps an article.rea-card with a 10:7 photo, a .rea-tag (green for sale, gold .rea-tag--rent for rent), a .rea-fav save button and a .rea-facts list. The script runs on DOMContentLoaded for every .rea-page. applyFilters() reads the search form with FormData, hides non-matching columns, updates the .rea-count text and shows .rea-empty when nothing matches. Changing the Buy/Rent pill filters immediately; submitting the form also scrolls to #rea-listings. The save button toggles aria-pressed and a filled heart. The .rea-cta__form validates the email and shows a thank-you message after a short simulated delay.

The house and agent photos come from Unsplash; replace them with your own listings and team portraits.

Customization

  • --rea-hero-image in .rea-page: point it to your own hero photo.
  • --rea-green and --rea-gold in .rea-page: change the brand colors of buttons, tags, prices and the CTA panel.
  • --rea-serif in .rea-page: swap the Fraunces heading font for another family, or remove the Google Fonts link to fall back to Georgia.
  • data-deal, data-city, data-type and data-beds on each .rea-col: describe a new listing so the search can find it; add matching option values to the selects.
  • aspect-ratio: 10 / 7 in .rea-card__media img: crop listing photos taller or wider.
  • checked on the #rea-any radio: move it to #rea-buy to show only homes for sale on load.
  • The setTimeout in the .rea-cta__form submit handler: replace it with a fetch() call to your CRM.

Accessibility

The page uses header, nav, main and footer landmarks, and each section is labelled by its heading. The search fields have visible labels and the deal switch is a fieldset with a hidden legend, so it works with arrow keys like any radio group. The results count is a live region, save buttons expose aria-pressed and a property-specific aria-label, and the CTA error sets aria-invalid and moves focus back to the field. Links and buttons get a gold focus outline, the card lift and smooth scrolling are turned off under prefers-reduced-motion, and every photo has descriptive alt text.

Usage notes

This is a full-page template, so style.css sets the body background. Requires Bootstrap 5 with its bundle (navbar collapse) and Bootstrap Icons.

Requirements

Add these to your page (already included in the download):

  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
  • <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
  • <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600&display=swap">
Real Estate Agency Landing Page with Property Photos – Bootstrap 5 landing pages component screenshot
Real Estate Agency Landing Page with Property Photos · Bootstrap 5 Landing Pages

More Landing Pages

Mobile App Landing Page – Bootstrap 5 landing pages preview

Mobile App Landing Page

Bootstrap 5 mobile app landing page with a CSS phone mockup, floating notification cards, store buttons, feature grid, steps and a gradient call to action.

SaaS Landing Page – Tailwind CSS landing pages preview

SaaS Landing Page

Complete Tailwind CSS SaaS landing page with dark hero, feature grid, monthly/yearly pricing switch, FAQ accordion and footer.