UndieGravity LogoUndiegravity

How to Customize a Website Template So It Looks Like Yours

Make a template your own in an afternoon: change colors and fonts, replace logo and images, rewrite the copy, remove unused sections, and update SEO details.

By UndieGravity, , 2 min read

A template gives you structure; customizing it gives you a brand. Work in this order, from the changes that affect every page to the details, and you will avoid redoing work.

1. Colors

Find where the template defines its colors. In Tailwind CSS v4 projects that is the @theme block in the main CSS file; in plain CSS sites it is usually a set of CSS variables at the top of style.css.

:root {
  --color-primary: #3f3cf2;
  --color-text: #18181b;
  --color-background: #ffffff;
}

Change these values instead of editing colors in individual components. Check that text still has enough contrast against its background: at least 4.5 to 1 for normal text.

2. Fonts

Pick at most two families, one for headings and one for body text. In Next.js, change the font import in the root layout (next/font); in HTML sites, change the @font-face rules or the font link.

3. Logo and favicon

  • Use an SVG logo if you have one; it stays sharp at every size.
  • Replace the favicon. In Next.js put icon.png in the app/ folder; in HTML sites update the <link rel="icon"> tag.

4. Images

Replace every placeholder image with your own photos or properly licensed ones. Resize them to the size they are displayed at and export as WebP. A phone photo straight from the camera can be 5 MB; the web version should usually be under 200 KB.

5. Copy

  • Rewrite every heading in your own words. Say what you do and for whom.
  • Delete sections you have no content for. An empty testimonial section hurts more than no section.
  • Search the whole project for placeholder text such as "Lorem ipsum" and the template's demo brand name.

6. SEO details

  • Unique page titles and meta descriptions.
  • The site URL in metadata, sitemap, and social preview tags.
  • An Open Graph image of 1200 by 630 pixels for link previews.
  • Analytics IDs from the template's demo removed or replaced with yours.

7. Final check

  1. Click every link, including footer and social links.
  2. Submit every form and confirm the message arrives.
  3. Test on a phone.
  4. Run a Lighthouse report and fix anything marked red.

Keep reading