I added the stylesheet link and the page feels slower.
Skip to content
How do I use a custom font from Google Fonts without slowing the site?
Nora Bergström
Member225 karma42 posts · Joined Dec 2026
A trick that helped me: design the mobile layout first, then add columns as the screen grows.
Yuki Tanaka
Member375 karma45 posts · Joined Dec 2026
Self-host the font. Download the files, put them in your child theme and declare them with font-display: swap:
@font-face {
font-family: "Inter";
src: url("../fonts/inter-var.woff2") format("woff2");
font-weight: 100 900;
font-display: swap;
}
You skip an extra DNS lookup, and the text shows immediately in the fallback font.
Omar Haddad
Helper367 karma46 posts · Joined Dec 2026
I like how restrained this is. Less really is more.
Thomas Green
Member170 karma31 posts · Joined Dec 2026
Looks good! The spacing between the cards is really nice.
Sofia Ricci
Helper759 karma59 posts · Joined Dec 2026
Thanks for sharing. Could you post the CSS for the header?
Aisha Khan
Member302 karma32 posts · Joined Dec 2026
Have you tested it with a long title? It might wrap awkwardly on small screens.