Skip to content

Real Estate Hero with Featured Listing

A real estate hero section with a full-width house photo, dark gradient overlay, headline, two buttons and a white featured property listing card with price, beds, baths and area.

Also known as: real estate website hero, property listing hero section, realtor homepage header, featured property card

Real Estate Hero with Featured Listing live demo

Open in new tab

WordPress block markup

This real estate hero is a WordPress block pattern that puts a full-width photo of a modern home behind a headline, two buttons and a white featured listing card with price, address, bedrooms, bathrooms and living area. It suits a realtor homepage header, a property agency landing page or a property listing hero section, and it is built only from core Gutenberg blocks.

How it works

The section is a full-width Cover block with an Unsplash house photo and a dark navy gradient overlay that is strongest on the left, where the text sits, and lighter on the right so the house stays visible. The Cover has 112px top and bottom padding, a 720px minimum height and a 1200px content width. Inside, a Columns block holds a 57% text column and a 43% card column. The text column has a gold eyebrow, an h1, an intro paragraph, a gold "Browse listings" button, an outlined "Get a free valuation" button and a short trust line. The listing card is a Group with a white background and 20px radius: a "Featured listing" label, the price, the property name as an h2, the address, a three-column grid of key facts between two thin lines, and a full-width navy button. On phones the card moves below the text.

How to use it

  1. Copy the block markup with the copy button.
  2. In the block editor, click into an empty paragraph and paste; WordPress turns the markup into blocks.
  3. Replace the background photo, the headline, the listing details and the button links with your own.

Customization

  • Background photo: select the Cover block and use Replace in the toolbar.
  • Overlay: Cover > Overlay, gradient linear-gradient(100deg,#0b1220f0 0%,#0b1220c7 52%,#0b122080 100%); keep it dark enough for the white text.
  • Gold accent: the eyebrow uses Color > Text #e5b764, the main button Color > Background #b7791f with navy text #0f172a, and the card label #975a16.
  • Card: select the card Group, Color > Background #ffffff, Text #1e293b, Border > Radius 20px, Dimensions > Padding 36px / 32px.
  • Price: select the price paragraph, Typography > Font size 40px, weight 800.
  • Key facts: the facts Group uses Layout > Grid with 3 columns and Border top and bottom 1px #e2e8f0; edit the numbers and labels directly.
  • Card button: Color > Background #1e293b, Width 100%.

The photo comes from Unsplash; replace it with an image of one of your own properties.

Use cases

  • Real estate agencies: feature the newest property right in the homepage hero.
  • Independent realtors: combine a personal headline with one standout listing.
  • Property developers: promote a show home or the first release of a new project.
  • Vacation and luxury rental sites: highlight a signature villa with its key facts.

Accessibility

The headline is the page h1 and the property name is an h2 inside the card. The decorative background image has empty alt text, while the overlay keeps white text well above WCAG AA contrast. Card text uses navy #1e293b and slate #64748b on white, and the gold button uses dark navy text for readable contrast. Replace the # links with real listing and contact URLs.

Real Estate Hero with Featured Listing at a glance

Framework
WordPress
Code
WordPress block markup (core blocks only)
JavaScript
Not needed
Dependencies
None, no plugin needed (WordPress 6.8+)
Layout
Responsive, works on mobile, dark design
Category
Hero Sections
License
Free for personal and commercial use

Questions about this pattern

Can I use the Real Estate Hero with Featured Listing code for free?

Yes. You can copy or download the block markup and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my WordPress site?

Copy the block markup, open a page in the block editor, click into an empty paragraph and paste. WordPress turns it into regular blocks that you can edit like any other content. You can also paste it in the Code editor view (Options menu > Code editor).

Does it need a page builder or plugin?

No. The pattern is built only from core blocks such as Group, Columns, Heading, Image and Buttons, so it works without Elementor, Spectra, Kadence or any other plugin. Colors and spacing are set on the blocks themselves; headings and text use your theme's fonts.

Will it look the same in my theme?

The layout, colors and spacing come with the blocks, so they carry over. Fonts, link styles and the content width follow your theme, so small differences are normal. The live demo shows the pattern in the default Twenty Twenty-Five theme. It works best with block themes; in classic themes the block editor still renders it, with your theme's styles.

Does it work on mobile?

Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.

How to install

  1. Copy the block markup above.
  2. Open a page or post in the WordPress block editor, click into an empty paragraph and paste. The editor turns the markup into blocks.
  3. Replace the sample text and images. To reuse it, select the blocks and choose Create pattern from the block toolbar menu.

Uses only core WordPress blocks, so no plugin is needed. Tested with WordPress 6.8 and later. Fonts come from your theme; the live demo uses the default Twenty Twenty-Five theme. WebDevSnippets is not affiliated with or endorsed by the WordPress Foundation.

Real Estate Hero with Featured Listing – free WordPress hero section template
Real Estate Hero with Featured Listing · free WordPress hero section template

More Hero Sections

Split Hero with Diagonal Photo Clip – free Pure CSS hero section template

Split Hero with Diagonal Photo Clip

Pure CSS split hero with headline, buttons and stats beside a full-height photo cut on a diagonal with clip-path, plus an accent stripe and rating badge.

Hero with Rotating Words – free Pure CSS hero section template

Hero with Rotating Words

Dark hero section whose headline cycles through words with a slide-and-fade animation, a pause button and decorative stat cards.

Split Hero with App Screenshot – free Tailwind CSS hero section template

Split Hero with App Screenshot

Dark Tailwind CSS split hero with gradient headline, two CTA buttons and an animated mock app dashboard built entirely from divs.

Dental Clinic Hero with Appointment Button – free WordPress hero section template

Dental Clinic Hero with Appointment Button

A dental clinic hero section with a booking button, a call button, three patient trust points and a rounded treatment room photo, built from core Gutenberg blocks.

Hero with Search Bar – free Bootstrap 6 hero section template

Hero with Search Bar

Bootstrap 6 directory hero on a photo background with a large pill search bar, a searchable area Combobox, popular search chips and category tiles.

Hero with Background Video Overlay – free Bootstrap 6 hero section template

Hero with Background Video Overlay

Full-width Bootstrap 6 hero with a muted background video or slow-zoom poster photo, dark gradient overlay, headline, two buttons, stats and a pause control.