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
- Copy
src/content/practice-areas/english/employment.mdto a new file named after the address you want, for exampletax.mdfor/practice-areas/tax/. - Change
title,icon,weight,description,image, and the page text.weightsets the list order, lower first. - Make the same file, with the same name, in
french/andarabic/. - Add
- slug: "tax"with a shortdescriptiontopracticeGridNavyinsrc/content/practice-areas/<language>/-index.md, so it shows in the grid. - 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:
logosRow: enable: falseThe 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
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 realThe 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.
Change The Copyright Or Theme Credit
- Copyright:
footer.copyrightin eachsrc/i18n/<lang>.json.{{ year }}becomes the current year. - Theme credit:
footer.themeCreditin the same files. The part in[brackets]links tourlunder[settings.themeCredit]inconfig.toml. Setenable = falsethere to remove the credit from the footer andllms.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.