Customizing The Footer
Files: src/layouts/components/global/Footer.astro, FooterTwo.astro, footer/, src/i18n/<lang>.json, src/config/menu.<lang>.json, src/config/config.toml · Skill level: Beginner
In the Tina edition, the footer text is under Footer in Interface labels, the links under Menus, and the settings under Site settings > Settings at /admin/. In the Sanity edition, they are under your language’s Interface labels and Menus (Footer 1 links, Footer 2 links), and Site settings > Settings in the Studio.
Taxo includes two footer layouts:
footer-1usessrc/layouts/components/global/Footer.astrofooter-2usessrc/layouts/components/global/FooterTwo.astro
The base layout default is footer-1. home-two.astro uses footer-2.
Footer 1 Structure
Footer 1 includes:
- logo block
- footer description
- support phone block
- 6 services loaded from the Services collection
- contact info block
- 6 recent case studies shown as project thumbnails
- the large “since” text
footerPrimarynavigation row- the Ask AI row (
FooterAi.astro) - the theme credit (
FooterCredit.astro) - copyright bar
These values come from multiple sources:
src/i18n/<lang>.jsonsettings.contactInfoinconfig.tomlsrc/config/menu.<lang>.jsonsrc/content/services/src/content/case-studies/
Footer 2 Structure
Footer 2 includes:
- subscription form
- phone and email strip from
settings.contactInfo footerSecondarynavigation row- the Ask AI row (
FooterAi.astro) - copyright row
- the theme credit (
FooterCredit.astro)
Footer 2 is the simpler footer layout. Use it when you want a cleaner footer with subscription, contact details, and secondary links.
Footer Text In The i18n Files
{ "footer": { "menuTitleLinks": "Links", "freeSupport": "Free Support", "description": "Nam libero tempore...", "contact": "Contact", "copyright": "Copyright © {{ year }}. Taxo. All Rights Reserved.", "since": "since 1990" }}Keep {{ year }}: the theme replaces it with the current year. Change this text in every language.
For Footer 1, this file is the main place to update:
footer.description: the descriptionfooter.freeSupport: the support labelfooter.copyright: the copyright textfooter.since: the “since” text
The column headings are common.ourServices, common.contactUs, and common.recentProjects. The working hours are common.workHour and common.workHourValue.
Copyright And Theme Credit
[settings.copyright] enable = true text = ""
[settings.themeCredit] enable = true text = "..." url = "..."[settings.copyright]applies to Footer 2:enableshows or hides the row, and a value intextreplacesfooter.copyrighton every language. Footer 1 always showsfooter.copyright.[settings.themeCredit]is the theme credit, in both footers and inllms.txt. It is editable here.
Ask AI Row
Both footers show a row with Ask AI links and links to the AI-readable files. Turn it off with footer = false in [settings.pageActions]. See AI Links & llms.
Footer Menus
{ "footerPrimary": [ { "enable": true, "name": "About Us", "url": "/about/" } ], "footerSecondary": [ { "enable": true, "name": "About", "url": "/about/" } ]}footerPrimaryis used by Footer 1footerSecondaryis used by Footer 2
The footer shows every link in its list, so delete a link to remove it. Setting enable to false hides an item only in the header.
Turn Subscription On Or Off
[settings.subscription] enable = true title = "" note = "" formAction = "https://..." mailchimpTagValue = ""When enable = false, the Footer 2 subscription block disappears. formAction starts as a placeholder, so nothing is delivered until you set your own. The form’s heading is subscription.title in src/i18n/<lang>.json.
Switch Footer Variant On A Page
<Base {...page?.data} footerLayout="footer-2">Use page-level footer switching when you want a different shell for one route. Do not edit the global footer component unless you want the change everywhere that footer layout is used.
In the Tina edition, each page’s form also has a Footer layout field. Leave it empty to keep the page’s usual layout. In the Sanity edition, the layout a page uses stays in its page file.