New Arrival Hero Template

Make a stunning first impression for your latest collection with this modern, image-focused hero section.

This template uses a full-width background image with clean, centered text to create an elegant and high-impact announcement for new products.

Screenshot of a hero section showcasing a new clothing collection with a background image.

Get Source Code Preview

About the New Arrival Hero

Designed for e-commerce and retail sites, this hero section acts as a digital storefront window. It effectively introduces a new collection or product line, enticing users to explore further. The large background image allows you to visually set the theme for your new arrivals.

Features

Code Breakdown

This component is split into two parts: a style block and an HTML section. The CSS code should be placed in your document's head section or in an external stylesheet. The HTML should be placed in the body of your page.

The .new-arrival-hero section uses CSS to apply a background image. The background-size: cover and background-position: center properties ensure the image always covers the container without distortion. A ::before pseudo-element creates the dark overlay that improves text legibility.

The content itself is placed inside a div with a .new-arrival-hero-content class. Flexbox is used on the parent section (display: flex) to vertically and horizontally center this content container, keeping the text perfectly aligned regardless of screen size. The theme, including the background image URL and colors, can be quickly changed using the provided CSS custom properties.

Code

View Output