Skip to content

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.

Also known as: magazine article digest, weekly article roundup, blog roundup layout, travel magazine layout

Travel Magazine Article Digest with Photos live demo

Open in new tab

Pure CSS code (HTML, CSS, JS)

A travel magazine article digest in plain HTML and CSS with a full-width cover photo, a lead story, a two-column grid of photo articles, a side-by-side feature and a dark footer. Use it as a weekly roundup on a blog or magazine site or as the landing page of an issue archive.

How it works

The root .nl-digest paints the outer background and holds all colors as custom properties. Inside it, the full-width table.nl-outer centers table.nl-container, a 600px wide paper card. The layout tables carry role="presentation", so screen readers ignore the table semantics and read the articles in order.

From top to bottom the card shows the .nl-topbar with the issue number, the current date and an "All past issues" link, the .nl-header with an inline SVG logo and .nl-nav links, and the .nl-hero photo cropped to 2:1 with aspect-ratio and object-fit: cover. The .nl-intro block follows with a kicker, the serif .nl-title, a paragraph and the .nl-button call to action. After the .nl-section-title, table.nl-cols places two .nl-col cells side by side, each with an .nl-card-img, an .nl-tag, a title, text and an .nl-link. table.nl-feature pairs a square photo with text on a warm tint, the .nl-tip box highlights a short tip, and the dark .nl-footer holds social icons, the publisher address and links to notification settings and contact.

A small script fills every .nl-date element with today's date and sets its datetime attribute, so the sample issue never shows an outdated date. Without JavaScript the text "This week" stays in place.

On screens narrower than 620px a media query switches the .nl-col, .nl-feature-media and .nl-feature-body cells to display: block, so the articles stack into one column and the feature photo turns into a wide banner.

Customization

  • --nl-accent and --nl-accent-dark on .nl-digest: the top bar, button, logo circle and link color.
  • --nl-highlight: the orange used in the logo, the tip border and the focus outline.
  • --nl-bg, --nl-paper and --nl-tint: the page background, the card and the feature box background.
  • --nl-serif and --nl-sans: the heading and body font stacks.
  • --nl-width: the maximum width of .nl-container; also update the width="600" attribute on the table.
  • aspect-ratio: 2 / 1 in .nl-hero-img: use 16 / 9 or 3 / 1 for a taller or slimmer cover photo.
  • Duplicate a tr with td.nl-cols-wrap to add another row of two articles.

Use cases

  • Travel blogs: a weekly roundup shows a cover photo, a lead story and photo articles
  • Magazine sites: a feature block and two-column article grid present each issue
  • Issue archives: a landing page for one issue with an All past issues link
  • Content roundups: articles stack into one column on phones for easy reading

Accessibility

The digest has one h1 followed by h2 and h3 headings, and every photo has descriptive alt text plus width and height attributes. The issue date uses a time element. Social links have aria-labels and their SVG icons are aria-hidden. Links show a visible :focus-visible outline, and the muted text colors keep readable contrast on white.

Usage notes

The photos come from Unsplash; replace them with your own images. Point the href="#" links to your articles, archive and contact page. This is a web component; a real newsletter needs table-based HTML with inline styles.

Travel Magazine Article Digest with Photos at a glance

Framework
Pure CSS
Code
HTML, CSS, JavaScript
JavaScript
Vanilla JavaScript, no jQuery
Dependencies
None
Layout
Responsive, works on mobile
Category
Blog Sections
License
Free for personal and commercial use

Questions about this template

Can I use the Travel Magazine Article Digest with 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, add the CSS to your stylesheet and load the JavaScript before the closing </body> tag. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. The script is plain vanilla JavaScript, so it works without jQuery, React or Vue. You can still use the markup inside those frameworks.

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.

Travel Magazine Article Digest with Photos – Pure CSS blog sections component screenshot
Travel Magazine Article Digest with Photos · Pure CSS Blog Sections

More Blog Sections

Featured Post with Sidebar List – Bootstrap 5 blog sections preview

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 – Pure CSS blog sections preview

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 – Tailwind CSS blog sections preview

Blog Post Grid

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