Skip to content
New: Customize your theme with an AI assistant. Read the guide

Common Changes

Skill level: Beginner unless marked

Short recipes for the changes people ask about most. Each one names the file, the change, and what to check. Make every content change in every language folder (english, french, arabic), and keep npm run dev running to see it.

Change Your Phone Or Email

File: src/config/config.toml, [settings.contactInfo]

[settings.contactInfo]
phone = "[+44 113 496 0000](tel:+441134960000)"

Each value is a Markdown link: the text visitors see, then the tel: or mailto: address. The header chips, the office strip, the footer, the contact page, and llms.txt read these. Check: the header and /contact/. Each office and each attorney has its own phone in its own file. See Firm Info.

Change Your Address Or Opening Hours

File: src/i18n/<lang>.json, contactInfo

"contactInfo": {
"address": "48 Carver Street, London EC4A 2BN",
"hours": "Mon to Fri, 08:30 to 18:00"
}

Change it in en.json, fr.json, and ar.json. The three offices have their own address and hours in src/content/offices/<language>/.

Change The Header Button

File: src/config/config.toml, [settings.navigationButton]

[settings.navigationButton]
enable = true
label = "" # empty uses navigation.buttonLabel ("Free consultation")
url = "/consultation/"

To change the text in every language, edit navigation.buttonLabel in each src/i18n/<lang>.json and leave label empty. enable = false removes the button. See Header.

Add A Practice Area

  1. Copy src/content/practice-areas/english/employment.md to a new file named after the address you want, for example tax.md for /practice-areas/tax/.
  2. Change title, icon, weight, description, image, and the page text. weight sets the list order, lower first.
  3. Make the same file, with the same name, in french/ and arabic/.
  4. Add - slug: "tax" with a short description to practiceGridNavy in src/content/practice-areas/<language>/-index.md, so it shows in the grid.
  5. Add a link to the mega menu in each src/config/menu.<lang>.json, if you want it there.

Industries, offices, results, and attorneys work the same way. See Collections.

Hide A Section On One Page

Open the page’s content file and add the section’s block with enable: false:

src/content/homepage/english/home-corporate.md
logosRow:
enable: false

The homepage files list their block names in a comment at the top. To hide a section on every page that uses it, set enable: false at the top of its file in src/content/sections/<language>/. See Sections.

Change A Heading On One Page

src/content/homepage/english/-index.md
heroPortraitNavy:
title: "Plain legal advice for <em>you</em>"

Fields you leave out keep their default. One word in <em> is set in the italic accent serif.

Change The Rating

Files: src/content/reviews/<language>/-index.md and src/content/sections/<language>/testimonial-quote-centred.md

rating:
value: "4.9"
summary: "out of 5 from {count} reviews"
count: "310"
note: "(sample)" # remove once the rating is real

The 4.9 from 310 reviews is sample data. Put in your real rating and count, or remove the rating, before launch. See Results & Reviews.

Change The Results Disclaimer

File: src/i18n/<lang>.json, results.disclaimer

The cards and pages of results show “Past results do not guarantee a similar outcome. Every case is different.” for you. You can reword it for your regulator, but keep a disclaimer next to past results.

Put In Your Regulator

File: src/content/pages/<language>/regulatory-information.md

Replace [Regulator], [000000], and [Regulator website] with your regulator, your number, and a link to the regulator’s rules, in every language.

  • Copyright: footer.copyright in each src/i18n/<lang>.json. {{ year }} becomes the current year.
  • Theme credit: footer.themeCredit in the same files. The part in [brackets] links to url under [settings.themeCredit] in config.toml. Set enable = false there to remove the credit from the footer and llms.txt.

Change The Number Of Posts Per Page

File: src/config/config.toml, [settings] pagination

pagination = 6 sets how many cards show per page on /insights/ (after the featured post) and on the category and tag pages.

Hide A Page Without Deleting It

Add draft: true to its content file. It stays out of the production build and the sitemap, and still shows on npm run dev. On a list page’s -index.md, draft: true hides the whole list and its detail pages. Remove its menu links too.

Change The 404 Page

The text is notFound in each src/i18n/<lang>.json: title, description, button, search, and imageAlt. The page links to the homepage and to /search/.

Turn Off Quick Exit

File: src/config/config.toml, [settings.quickExit]

Set enable = false. If your firm does family or immigration work, keep it on and check the url instead. See Quick Exit.

Change The Brand Colour(light code)

File: src/styles/theme.css

--color-navy: #14295E; /* hero, practice panel, header button, footer */
--color-navy-hover: #1E3A7E;
--color-bronze: #B4864F; /* accent fills */
--color-bronze-deep: #85602F; /* accent text and links on light surfaces */

Change one value and every component follows. Check the contrast of text on your new colours. See Colors & Fonts.

Change Wording That Isn’t In Any Content File

Buttons, labels, form messages, and other short interface text are in src/i18n/<lang>.json. Search that file for the words you see on the page, and change the same key in every language.

Do It With AI

In this Covena site, replace the sample firm details with mine in every language:
phone [PHONE] and email [EMAIL] in [settings.contactInfo] in src/config/config.toml,
address "[ADDRESS]" and hours "[HOURS]" in contactInfo in every src/i18n/<lang>.json,
and the firm name "Covena Law" with "[FIRM NAME]" in footer.copyright and [seo] author.
Show me every file you changed, then run npm run astro-check.
Type something to search...