2.1 · Backgrounds, overlays & effects

Level 2 · Intermediate: design & rich content

2.1Backgrounds, overlays & effects

Goal: apply backgrounds and effects (overlay, shadows, rounding) while keeping the text readable.
Estimated time: 13 min · self-paced reading · If you only have 5 min: read “The essentials in 30s” + the diagram.

The essentials in 30 seconds

  • A container's background (Style tab): solid color, gradient, image or video.
  • Text over an image becomes unreadable: add an overlay (semi-transparent layer) to keep the contrast.
  • Effects: shadows (box-shadow), rounding (border-radius), borders — in moderation.

Through-line — Nadia dresses the banner

Nadia wants a banner with a nice workshop photo in the background and the title over it. Problem: on the light photo, the white title disappears. She adds a dark semi-transparent overlay: the text becomes readable again, the photo stays visible. Then she rounds the cards' corners for a modern look.

Continues level 1 — Nadia moves from structure to rich design.

1. Backgrounds and readability

A container can take a background (Style tab): solid color, gradient, background image or even video. For an image, you set the framing and the attachment ("fixed" creates a slight parallax effect). But putting text over an image is the classic trap: depending on the area, the text becomes unreadable.

The solution: an overlay — a semi-transparent layer (color or gradient) placed between the image and the text. Nadia adds a dark overlay at 40%: the photo stays visible, the title becomes crisp again. It's a readability reflex.

2. Effects in moderation

Effects add depth: shadows (box-shadow) to lift a card, rounding (border-radius) for a soft look, borders to delimit. Applied finely, they modernize; in excess, they weigh things down and date the site.

Nadia slightly rounds the project cards and adds a subtle shadow on hover. Rule: each effect must serve readability or hierarchy, not decorate for decoration's sake.

Common misinterpretation: "Putting text directly on a nice photo is enough." No: depending on the light/dark areas of the image, the text becomes unreadable. You need an overlay to guarantee contrast — it's a reflex, not an option.
Readable text over an image thanks to the overlay Background image, semi-transparent overlay, then readable text on top. Background imageNice but contrasted + OverlaySemi-transparent layer = Readable textGuaranteed contrast Effects (shadows, rounding): in moderation, in service of readability.
Image + overlay = readable text. Effects enhance without overloading.
Text version of the diagram (SEO / screen readers / translation): 1) A container's background: color, gradient, image or video (Style tab). 2) Text over an image → add a semi-transparent overlay for contrast. 3) Effects: shadows, rounding, borders, in moderation. Lesson: the overlay is a readability reflex, not a decoration.

🔎 Concrete example — A readable banner (Nadia's case)

Banner container:
- background = workshop image (framed, normal attachment)
- overlay = black at 40%
- white title on top → readable
- cards: border-radius 8px + subtle shadow on hover
→ A nice image AND crisp text.

Result: rich design without sacrificing readability.

Lesson: overlay first, effects next, in moderation.

Section vocabulary

Background
A container's background: color, gradient, image or video (Style tab).

Simple example: a workshop photo as a banner background.

What it is not: confusing the container background with an inserted image (Image widget).

Reflex: the background dresses the box; the Image widget displays a visual.

Overlay
A semi-transparent layer placed over a background image to keep the text readable.

Simple example: black overlay at 40% under the banner title.

What it is not: putting text directly on a contrasted image.

Reflex: text over image → systematic overlay.

Attachment (parallax)
A background image setting: "fixed" creates a slight depth effect on scroll.

Simple example: fixed background for a mood section.

What it is not: overusing parallax everywhere (heavy, tiring).

Reflex: occasional parallax, never on the whole page.

Effects (shadows, rounding)
Shadows (box-shadow), rounding (border-radius), borders to add depth.

Simple example: rounded cards with a subtle shadow on hover.

What it is not: stacking strong shadows and garish borders.

Reflex: an effect must serve readability or hierarchy.

Text-over-image readability
Guaranteeing the contrast of text placed over a visual background.

Simple example: overlay + adapted text color.

What it is not: judging it readable on your screen without checking the light areas.

Reflex: check the text across the whole width of the image.

In practice — Dressing a section cleanly

  1. Give a container a background image (Style tab) and frame it.
  2. Add a semi-transparent overlay and set its opacity.
  3. Place a title on top and check its readability across the whole width.
  4. Add rounding and a subtle shadow to the cards, in moderation.
You create rich visual sections where the text stays perfectly readable.

Ready-to-say script — justifying the overlay to the client (20 s)

"I kept your nice workshop photo in the background, with a slight dark veil over it: that's what lets the title stay perfectly readable, whatever the brightness of the photo. Nothing is hidden, just made crisp."

Explain the overlay as a readability service, not a darkening.

Copy-paste template — visual background check

CONTAINER: _______________
BACKGROUND: color / gradient / image / video
IMAGE: framing ok? attachment (normal/fixed): _____
TEXT OVER IMAGE? → OVERLAY: color ___ opacity ___ %
TEXT CONTRAST CHECKED (whole width): yes / no
EFFECTS: rounding ___ px, shadow (subtle): yes / no

Photo banner

Image + overlay + title: the "wow" effect without losing readability.

Clean section

Solid color or light gradient: sometimes more pro than an image.

Card

White background, slight rounding, subtle shadow: a modern, crisp look.

Performance

Heavy background video: reserve for strong cases, compress (see 5.1).

✓ Best practices

  • Add an overlay whenever there's text over an image.
  • Use effects in moderation.
  • Check contrast across the whole width.

✗ Common pitfalls

  • Text directly over a contrasted image.
  • Parallax and background videos everywhere (heavy).
  • Garish shadows/borders.

Key takeaways

  • Background: color, gradient, image, video.
  • Overlay = readability reflex.
  • Effects (shadows, rounding) in moderation.
  • Always check the text contrast.

48h challenge — apply tomorrow

Create a section with a background image + overlay + readable title. Test by lowering/raising the overlay opacity until the contrast is right. Add a subtle rounding to a card. 20 minutes.

Section exit checklist
  • I set a background (image, gradient) cleanly.
  • I add an overlay for text readability.
  • I use effects in moderation.
Self-assessment 1-5: does my text stay readable on visual backgrounds?do I use effects with measure?

Frequently asked questions

How do I make a title readable on a photo?

By placing a semi-transparent overlay between the background image and the text, and choosing a contrasted text color. Check across the whole width of the image.

Should I use background videos?

Sparingly: a background video is heavy (performance, mobile). Reserve it for high-impact sections and compress it; otherwise, an image or a gradient is enough.

Do shadows and rounding date a site?

In excess, yes. Used finely (slight rounding, subtle shadow), they modernize instead. Each effect must serve readability or hierarchy.

Check your understanding — scenario

Nadia's white title disappears in places on the workshop photo in the background. What to do?

Additional resources (optional, to go further)

Level 2 examFresh, harder questions to test what you've learned