Getting Started
Installation and basic setup
Get support for your Astro Swiss Theme and find answers to common questions.
Thank you for using the Astro Swiss Starter Theme! We’re here to help you get the most out of your theme.
Before reaching out, please check our comprehensive documentation:
Getting Started
Installation and basic setup
Configuration
Configuration options
Customization
Advanced customization
Deployment
Deploying your site
If you can’t find the answer in the documentation:
Email Support: hello@astroswiss.com
Q: What are the system requirements?
A: You need Node.js 18+ and npm. See Getting Started for details.
Q: How do I install the theme?
A: Extract the zip file, run npm install, then npm run dev. Full instructions in Getting Started.
Q: The build fails with errors. What should I do?
A: Make sure you’re using Node.js 18 or higher. Delete node_modules and package-lock.json, then run npm install again.
Q: How do I change the colors?
A: Edit src/styles/tokens.css to change the color scheme. See Styling Guide.
Q: How do I add my logo?
A: Replace src/assets/logo.svg with your logo. See Customization Guide.
Q: Can I add more languages?
A: Yes! Follow the Adding Languages Guide.
Q: How do I change the company information?
A: Edit src/consts.ts to update company details. See Data Management.
Q: How do I add portfolio projects?
A: Add projects to src/data/portfolio/fr.ts and de.ts. See Data Management.
Q: How do I add team members?
A: Add employees to src/consts.ts. See Data Management.
Q: How do I change the services?
A: Edit translations in src/i18n/ui.ts. See Data Management.
Q: How do I deploy my site?
A: We recommend Netlify or Vercel. See Deployment Guide for step-by-step instructions.
Q: My site works locally but not in production. Why?
A: Check that your build completed successfully and that environment variables are set correctly.
Q: How do I set up a custom domain?
A: This depends on your hosting provider. See Deployment Guide for provider-specific instructions.
Q: Does the contact form actually send emails?
A: This form is a frontend-only template. It formats the email content using the href="mailto:" attribute but does not send emails itself. To actually submit and process form data, you must connect it to a backend service such as Formspree, Netlify Forms, or your own API.
Q: How do I add Google Analytics?
A: Add your GA ID to .env. See Deployment Guide.
Q: Is the theme SEO-friendly?
A: Yes! It includes automatic sitemap generation, meta tags, and semantic HTML. See Deployment Guide.
Q: Dark mode doesn’t persist after page reload.
A: This is usually a browser localStorage issue. Check your browser’s privacy settings.
Q: Images aren’t loading.
A: Make sure images are in src/assets/ and imported correctly. Astro optimizes images at build time.
Q: The language switcher doesn’t work.
A: Check that you have translations for all languages in src/i18n/ui.ts.
We love hearing from our users! If you have:
Please email us at: hello@astroswiss.com