Click lightning bolt, then orange pen.
` and `
`. + +### Change the font in CSS {#community-change-font} + +1. Open `styles.css` from the file list. +2. Find the `h1` rule. It already contains `font-family: Georgia, serif;` and a `font-size` line using `clamp(...)`. +3. Replace those two lines with the highlighted lines below. Keep the existing `margin` and `line-height` lines, and both braces: + +```css {3-4} +h1 { + margin: 12px 0 20px; + font-family: Arial, sans-serif; + font-size: 40px; + line-height: 1.15; +} +``` + +4. Save `styles.css` with **Ctrl+S** or **Cmd+S**. Check that the heading in Live Preview changes its appearance. + +[](/tutorials/media/text-font-community-css.png) + +`Arial` is the first font choice; `sans-serif` is the fallback if Arial is unavailable. `40px` sets the font size to 40 pixels. This rule affects every `Click lightning bolt, then orange pen.