Skip to content

Testimonial Masonry Wall with Avatar Photos

Pure CSS wall-of-love testimonial section with a masonry column layout, star ratings, avatar photos and highlighted quote cards.

Also known as: wall of love, testimonial masonry layout, customer reviews wall, testimonials grid with avatars, social proof section

Testimonial Masonry Wall with Avatar Photos live demo

Open in new tab

Pure CSS code (HTML, CSS)

A "wall of love" testimonial section in pure CSS: short customer quotes with star ratings and round avatar photos, arranged in a masonry layout so cards of different heights pack together without gaps. Use it on landing pages, pricing pages and product launches to show social proof at a glance. No JavaScript is needed.

How it works

The root section.tmw-wall contains a centered .tmw-head (eyebrow, title and rating summary), the ul.tmw-grid of quotes and a .tmw-more call-to-action link. The masonry effect comes from CSS multi-column layout: .tmw-grid uses columns: var(--tmw-cols), and each li.tmw-item has break-inside: avoid, so a card is never split across columns. Spacing between cards is padding on the item rather than margin, which keeps the column tops aligned.

Every quote is a figure.tmw-card with three parts: .tmw-stars (five inline SVG stars, with .tmw-star--off for empty ones), a blockquote.tmw-quote and a figcaption.tmw-person holding the .tmw-avatar image, .tmw-name and .tmw-role. Two modifiers add rhythm to the wall: .tmw-card--accent is a violet gradient card with white text for the strongest quote, and .tmw-card--sun is a yellow card. Cards lift and tilt slightly on hover.

The avatar photos come from Unsplash; replace them with real photos of your customers (with their permission) and keep the width and height attributes.

Customization

  • --tmw-cols on .tmw-wall: the column count. It is 1 on phones, 2 from 600px, 3 from 900px and 4 from 1080px; edit the media queries to change the steps.
  • --tmw-gap: horizontal and vertical space between cards.
  • --tmw-accent: eyebrow, button hover and focus color, and the start of the .tmw-card--accent gradient.
  • --tmw-sun: background of .tmw-card--sun; --tmw-star sets the star color per card.
  • --tmw-bg-1 and --tmw-bg-2: the two stops of the section background gradient.
  • --tmw-radius: corner radius of all cards.
  • Add tmw-star--off to the last star spans and update the aria-label on .tmw-stars to show a 4-star or 3-star review.

Use cases

  • SaaS landing pages: a wall of love shows many customer quotes in a masonry layout
  • Product pages: star ratings and avatar photos make testimonials feel real
  • Agency sites: highlighted quote cards draw attention to the strongest feedback
  • Pricing pages: customer quotes and star ratings sit close to the sign-up decision to build trust

Accessibility

Each testimonial uses figure, blockquote and figcaption, so the quote and its author are associated semantically. The star row is a single role="img" element with an aria-label such as "4 out of 5 stars", which replaces five separate graphics for screen readers. Avatars have descriptive alt text and are lazy loaded. The call-to-action link has a visible :focus-visible outline, text contrast meets WCAG AA on every card variant, and hover transitions are disabled with prefers-reduced-motion: reduce.

Usage notes

Multi-column layout fills columns top to bottom, so reading order goes down the first column before the second. Put your strongest quotes first. Mix short and long quotes for a lively wall.

Testimonial Masonry Wall with Avatar Photos at a glance

Framework
Pure CSS
Code
HTML, CSS
JavaScript
Not needed, CSS only
Dependencies
None
Layout
Responsive, works on mobile
Category
Testimonials
License
Free for personal and commercial use

Questions about this template

Can I use the Testimonial Masonry Wall with Avatar Photos code for free?

Yes. You can copy or download the code 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 website?

There is nothing to install. Paste the HTML where the component should appear and add the CSS to your stylesheet. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. It is built with HTML and CSS only, so there is no JavaScript to load.

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.

Requirements

No dependencies. Pure HTML, CSS and JavaScript.

Testimonial Masonry Wall with Avatar Photos – free Pure CSS testimonial template
Testimonial Masonry Wall with Avatar Photos · free Pure CSS testimonial template

More Testimonials

Testimonial with Large Portrait Photo – free Tailwind CSS testimonial template

Testimonial with Large Portrait Photo

Featured Tailwind CSS testimonial with a large customer portrait, offset frame, serif quote, star rating and result metrics.

Single Testimonial with Large Quote – free WordPress testimonial template

Single Testimonial with Large Quote

A single testimonial for the block editor with a large centered customer quote, round portrait, name, role and company wordmark on a deep navy background.

Testimonial Cards with Avatars – free WordPress testimonial template

Testimonial Cards with Avatars

Testimonial cards for the block editor: three customer reviews with five-star ratings, round portrait avatars, names and roles on a warm light background.

Customer Testimonials Section for Shopify – free Shopify testimonial template

Customer Testimonials Section for Shopify

A Shopify section for customer quotes with star ratings, avatars and linked products, shown as a grid or a scrolling row with previous and next buttons.

Scroll-Snap Testimonial Slider – free Pure CSS testimonial template

Scroll-Snap Testimonial Slider

Horizontally scrolling testimonial cards using CSS scroll snap, with star ratings, avatars and accessible previous and next buttons.