Skip to content

Blog Cards with Cover Images and Author Photos

Responsive Bootstrap 5 blog card grid with cover photos, colored category labels, clickable cards and author avatars with date and read time.

Also known as: blog post cards, article card grid, blog grid with authors, news card layout, blog listing cards

Blog Cards with Cover Images and Author Photos live demo

Open in new tab

Bootstrap 5 code (HTML, CSS)

A Bootstrap 5 blog card grid with full-bleed cover images, colored category labels and an author row with a portrait, publish date and reading time. Use it for the "latest posts" section of a blog home page, a magazine landing page or the related articles block below a post.

How it works

The root section.bca-blog contains a header with a kicker, a serif heading and a "View all articles" pill link, followed by a Bootstrap row g-4. Each column (col-md-6 col-lg-4) holds one article.bca-card, so the grid shows one card on phones, two on tablets and three on desktops. Cards use height: 100% and a flex column, which keeps the author rows aligned when titles have different lengths.

.bca-cover crops the photo to the ratio in --bca-cover-ratio with object-fit: cover and places the .bca-label pill on top of it. The label, the title underline and the ring around .bca-avatar all read the --bca-tag custom property, which the modifier classes .bca-tag--work, .bca-tag--travel and .bca-tag--food set per category. The title link uses Bootstrap's stretched-link, so the whole card is clickable while the markup keeps a single link per post. On hover the card lifts, the cover zooms slightly and a colored underline grows under the title. The .bca-meta footer shows the author and a time element. No JavaScript is needed.

Customization

  • --bca-bg, --bca-ink and --bca-muted on .bca-blog in style.css: change the section background, heading color and excerpt color.
  • --bca-cover-ratio on .bca-blog: use 4 / 3 or 1 / 1 for taller covers.
  • --bca-radius on .bca-blog: round or square the card corners.
  • --bca-serif on .bca-blog: swap Georgia for your own display font in the heading and titles.
  • Add a modifier such as .bca-tag--design { --bca-tag: #7c3aed; } and put it on a card to give a new category its own label and avatar ring color.
  • col-lg-4 on the columns: use col-lg-3 and add a fourth card for a denser grid.

Use cases

  • Company blogs: cover photos, category labels and author avatars make posts easy to scan
  • News and magazine sites: colored category labels help readers sort articles by topic in a card grid
  • Content hubs: dates and read time help readers choose what to open
  • Resource pages: fully clickable cards link each post and show its author and date

Accessibility

The section is labelled by its heading and every post is an article with an h3 title. The cover photos have descriptive alt text, while author portraits use alt="" because the author name follows as text. Only the title is a link; stretched-link extends its click area without creating duplicate links for screen readers. Because the link covers the card, the focus ring is drawn on the card through :focus-within, in the category color. The separator dot in the meta line is aria-hidden. Hover lift, image zoom and the underline animation are turned off with prefers-reduced-motion: reduce.

Usage notes

Requires Bootstrap 5; Bootstrap Icons is only used for the arrow in the "View all articles" link. The cover images and author portraits come from Unsplash; replace them with your own photos. Keep covers at a similar ratio so the grid stays even.

Blog Cards with Cover Images and Author Photos at a glance

Framework
Bootstrap 5
Code
HTML, CSS
JavaScript
Only Bootstrap 5's own script
Dependencies
Bootstrap 5, Bootstrap Icons
Layout
Responsive, works on mobile
Category
Blog Sections
License
Free for personal and commercial use

Questions about this template

Can I use the Blog Cards with Cover Images and Author 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?

Load Bootstrap 5 and Bootstrap Icons from a CDN (the links are under Requirements). 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. Only Bootstrap 5's own JavaScript is used, and the download already includes it.

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

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">
Blog Cards with Cover Images and Author Photos – free Bootstrap 5 blog section template
Blog Cards with Cover Images and Author Photos · free Bootstrap 5 blog section template

More Blog Sections

Travel Magazine Article Digest with Photos – free Pure CSS blog section template

Travel Magazine Article Digest with Photos

Travel magazine article digest in plain HTML and CSS with a cover photo, lead story, two-column photo articles, a feature block and a dark footer that stacks on mobile.

Featured Post with Sidebar List – free Bootstrap 5 blog section template

Featured Post with Sidebar List

Bootstrap 5 blog section with a large featured article card and a tabbed sidebar of recent and popular posts.

Blog Post List with Thumbnail Images – free Pure CSS blog section template

Blog Post List with Thumbnail Images

Compact pure CSS blog list with thumbnail images, category labels, clamped excerpts, dates and reading time, in one or two responsive columns.

Blog Post Grid – free Tailwind CSS blog section template

Blog Post Grid

Responsive three-column Tailwind CSS blog grid with illustrated covers, category badges, author, date, reading time and fully clickable cards.