Editing the site — Cerette HTML
Every page of Cerette is a plain HTML file that you edit in a code editor. This guide shows where everything is, and how to add a project, a service, a post or a page.
Open it
Section titled “Open it”Double-click index.html: the site opens in your browser and every link works, straight from the folder. To see it
exactly as a host serves it (and to test the form and the 404 page), run a small local server from the folder:
npx serve .npm start runs the same command. Then edit the files in a code editor and reload the browser to see the change.
What is where
Section titled “What is where”index.html, about.html, contact.htmlproject.html the Projects page (every project as a card)service.html the Services page (every service as a card, and the inquiry form)blog.html the Blog page (every post as a card, more as you scroll)404.html shown for addresses that don't existstyle-guide.html every component with its name (noindex; delete it if you don't want it)project/*.html one page per projectservice/*.html one page per serviceblog/*.html one page per postlegal/*.html Privacy Policy and Terms of Serviceassets/css/style.css the stylesheet (generated — see design.md)assets/js/main.js the site's scripts (you rarely need to touch it)assets/js/config.js your settings: form endpointassets/images/ photos, portraits, the grain textureassets/fonts/ Plus Jakarta Sans, Marcellus, Intericon.svg, apple-icon.png, opengraph-image.pngsitemap.xml, robots.txtsrc/css/style.css the stylesheet's source: colours, breakpoints, fonts, motion curvesPages and sections describes every page, section by section.
Find the words on the page and change them in the HTML. Keep the tags and classes around them, because they carry the layout. A section title looks like this:
<h2 class="text-[30px] md:text-[36px] lg:text-[42px] leading-[1.2] font-semibold tracking-[-0.03em]">Other Work</h2>Change the words, leave the class. Ampersands are written &, and the demo uses the typographic ’ and “ ”
(What’s included in the services?); typing ' works too. When you search for a sentence, search for a part without
them, and remember that the formatter may have broken a long sentence over two lines.
Buttons, the header’s links and the footer’s links are written three times: once to size the element
(class="opacity-0", the copy screen readers read) and twice in the copy that rolls up on hover
(aria-hidden="true"). Change all three:
<span class="opacity-0">Book a call</span><span aria-hidden="true" …><span>Book a call</span><span>Book a call</span></span>The “View Project” and “View Details” labels on the cards work the same way.
The About and Projects titles (“Studio.”, “Our Projects.”) and the words beside them appear word by word. The text
is written once for screen readers (<span class="sr-only">Studio.</span>) and then once per word, each word in its own
<span … data-appear="word" data-delay="0">; the delay grows by 0.05 per word. The intro under them rises line by line
(data-appear="lines"): one <span data-word …> per word, after an sr-only copy. To change one, change the sr-only
text and the word spans (copy a span, change the word). To drop the effect, keep the words in plain text:
<h1 class="…">Studio.</h1>.
The other pages’ titles (“Services.”, “Articles.”, “Contact us.”, a project, a service, a post) are plain text.
Text that repeats on every page
Section titled “Text that repeats on every page”The header, the footer, your links and your contact details are copied into every page. Change them once for all files
with your editor’s Find in Files / Replace in Files (VS Code: Ctrl/Cmd + Shift + H):
| Replace | With |
|---|---|
https://cerette-html-erapee.vercel.app |
Your domain, e.g. https://www.yourstudio.com (canonical links, share cards, sitemap.xml, robots.txt) |
hello@example.com |
Your e-mail: the footer of every page and Contact (the link text and the mailto:) |
+1 (000) 123-4567 and tel:+10001234567 |
Your phone, as shown and as dialled (the footer, Contact) |
https://instagram.com, https://behance.net, https://linkedin.com, https://pinterest.com |
Your profiles, in the footer’s “Follow us:”. Change the link texts (written three times) if you use other networks |
https://cal.com/ |
Your booking page (Cal.com, Calendly…): “Book a call” (Home’s hero, About, Projects, Services) and “Schedule Consultation” (the call to action on Home, About, Projects, every project and every post) |
245 Madison Avenue, Suite 1200 New York, NY 10016 |
Your address in the footer. Contact writes it its own way (245 Madison Avenue New York, NY 10016 United States), with the working hours |
Modern architecture and construction studio creating timeless residential, commercial, and interior spaces with precision, innovation, and lasting quality. |
The line under the logo in the footer (the formatter breaks it over two lines: search for a part of it) |
Cerette. All rights reserved. |
Your footer note; keep the <span data-current-year> before it for the year |
aria-label="Cerette" |
Your name: the name of the logo links for screen readers |
| Cerette in <title> and share tags |
| Your Studio (Home’s title has no suffix, nor do five long post titles) |
content="Cerette" |
Your site’s name (application-name and og:site_name) |
Cerette — architecture and interior design website template |
A description of your share image (og:image:alt) |
Include the .html, .xml and .txt files. Review each change before replacing all: “Cerette” also appears in the
copy of most pages, the posts, the quote (“Founder & CEO, Cerette”), the legal pages and the forms’ subject, which you
will want to rewrite rather than replace. The year in the footer updates itself (data-current-year).
Sections that repeat on several pages
Section titled “Sections that repeat on several pages”Some blocks are copied into several pages, and a few are written more than once on the same page, one copy per screen size (only one shows at a time). Change every copy (find and replace in files works for text):
| Block | Where |
|---|---|
| Header and footer (the footer lists the services too) | Every page; the header holds its links twice, in the bar and in the phone menu |
| The project cards (photo, title, category / year) | index.html (“Our Projects”), project.html, “Other Work” on the other project pages |
| The services (photo, name, summary) | index.html: three times in the switcher (the desktop photos, the tablet and desktop cards, the phone rows); service.html (the cards); the footer of every page; the Project type of the forms on Contact and Services |
| The post cards (photo, date, category, title, excerpt) | blog.html (all twelve), index.html (the three newest), “Similar posts” on the posts of the same category |
| The testimonials (quote, photo, name, role and year, rating) | index.html and project.html, three times on each: one, two and three columns |
| The team (role, name, portrait, summary) | about.html, twice: the picker on desktops, the grid on tablets and phones |
| The awards (number, title, category, year, text) | index.html (under the figures), about.html |
| The figures (“320K+ Area Developed”, …) | index.html (above the awards), about.html (under the title); Home’s first three (“275+”, “18+”, “98%”) are only on Home |
| The quote band (Adrian Varell) | index.html, about.html, service.html |
| “Why Cerette” (six reasons and a photo) | index.html, service.html |
| The call to action (“Let’s create architecture that inspires and endures”) | index.html, about.html, project.html, every page in project/ and blog/ |
| The inquiry block (photo, title, form) | service.html and every page in service/; Contact has its own text and the same form |
The services switcher
Section titled “The services switcher”Home’s “Our Services” shows one service at a time, written three times inside data-services-switcher:
- Desktops: the photos, one
data-switch-photobox per service, stacked at the right. - Tablets and desktops: the titles as tabs (
<button data-switch-tab>, with the number “01”…“06”) and, indata-switch-panel, one card per service (data-switch-card: the name, the summary, “More details” linking to its page, and the photo shown on tablets). - Phones: an accordion, one
<li data-switch-row>per service, with itsdata-switch-togglebutton and itsdata-switch-body(summary, photo, link).
The three lists go in the same order. To change a service, change it in all three; to add or remove one, copy or delete its photo box, tab, card and row together, and renumber the tabs. The first of each starts shown or chosen: copy the others when you add one.
The team
Section titled “The team”About’s “Meet The Team” has twelve people, written twice:
- Desktops (
data-team-picker): a list of rows (<button data-team-row>, the role and the name) and, beside it, one card per person stacked in the same place (data-team-card: the portrait and the summary). Pointing at a row shows its card. The first row starts atstyle="opacity: 1"and the first card visible; the others at0.5and0. - Tablets and phones (
data-team-grid): one<li data-team-item>per person (portrait, name, role, summary). The first six show; the others carryhiddenand appear six at a time as the visitor scrolls (data-page-size="6"on the grid).
To add a person, copy a row and a card in the picker, and an item in the grid (with hidden if it is seventh or later).
Keep the rows and the cards in the same order.
Images
Section titled “Images”assets/images/ holds every photo. The easiest change is to replace a file with yours under the same name: every
page that shows it updates. The download ships with grey placeholders that state the size each image was designed for
(for example 2400 × 1600); the live demo shows the photos.
To use a new file instead, change the src: <img src="assets/images/my-photo.jpg" …>. In pages inside a folder
(project/…, service/…, blog/…, legal/…), the path starts with ../: src="../assets/images/my-photo.jpg". In
404.html it starts at the site’s root: src="/assets/images/…". The width and height on the <img> are the
photo’s own size: write your photo’s, so that the browser keeps its space while it loads.
Every photo sits in a frame and is cropped to fill it (object-cover), so a photo of other proportions works, but you
lose the edges the frame cuts. Frames change shape between phone, tablet and desktop, so keep the subject away from the
edges. Use photos at least as large as the demo’s:
| Photos | Files | Demo size |
|---|---|---|
| A project’s cover: the top of its page, its cards | project-<slug>.jpg |
2400 × 1350 to 2400 × 1600 |
| A project’s story: two tall photos and two wide ones | project-<slug>-1.jpg, -4.jpg (tall); -2.jpg, -3.jpg (wide) |
456 × 556 to 456 × 718; 1724 × 970 to 1724 × 1294 |
| A project’s gallery and result | project-<slug>-gallery-1.jpg to -3.jpg; project-<slug>-result.jpg |
1090 × 575 to 1090 × 1090; 2280 × 1282 to 2280 × 1522 |
| A service’s photo (Home’s switcher, Services, the top of its page) | service-<slug>.jpg |
2280 × 1282 to 2280 × 1710 |
| A post’s cover (its cards, the top of its page) | post-<start of the title>.jpg |
2280 × 1203 to 2280 × 1710 |
| A client’s portrait (the testimonials, shown 38 px round) | client-<name>.jpg |
152 × 152 |
| A team member’s portrait | team-<name>.jpg |
798 × 1200 |
| Home: the hero video’s poster, “About us”, the three award photos | home-hero-poster.jpg (1920 × 1080), home-about.jpg (1540 × 1027), home-award-1.jpg to -3.jpg (840 wide) |
|
| The quote band: the photo and the founder’s portrait | home-quote.jpg (2400 × 1600), home-founder.jpg (120 × 120) |
|
| “Why Cerette” | home-why.jpg |
1200 × 1800 |
| The call to action | home-cta.jpg |
2400 × 1800 |
| About: the photo under the title, the awards | about-hero.jpg (2280 × 1520), about-award.jpg (1540 × 2310) |
|
| The inquiry block (Services, a service) | inquiry.jpg |
1090 × 1644 |
| The 404 page | not-found.jpg |
2400 × 1600 |
The project with an accented name keeps plain file names for its photos: its page is project/elvaré-studio.html, its
photos project-elvare-studio-*.jpg. Several files are used in more than one place (a project’s cover, a service’s
photo, a post’s cover, the quote, the call to action): replacing such a file changes every place; to show another photo
in one of them, use a new file there.
grain.png is a texture laid over many photos (a <span> with bg-[url(../images/grain.png)] after the <img>). Keep
it, or delete those spans for clean photos.
Use .jpg for photos and keep files small; compress them with Squoosh or
TinyPNG. Write an alt text for every photo that carries meaning (the demo describes each one).
The Home hero
Section titled “The Home hero”The hero fills the window with a video under a dark veil, the label “Welcome Cerette”, a line, the title and the buttons “Book a call” and “Our Services”.
The video. The demo’s clip is not part of the template: the <video> at the top of index.html plays it from the
Pexels’ servers (its src is a full https://…/….mp4 address), and it may stop working at any time. Use your own:
- Put your clip in the folder, for example
assets/videos/hero.mp4: an MP4 (H.264), 1920 × 1080, a few seconds that loop well, no sound, compressed to a few MB. - Change the
srcof the<video>toassets/videos/hero.mp4, and replaceassets/images/home-hero-poster.jpgwith a frame of it (it shows until the video plays).
To show a still photo instead, delete the src attribute and keep the poster.
The title and the line appear character by character out of a blur. Each is written once for screen readers
(<span class="sr-only">Building timeless architecture…</span>), then each word in a
<span aria-hidden="true" class="whitespace-nowrap"> holding one <span … data-appear="char" data-delay="…"> per
character; the delay grows by 0.05 from one character to the next. To change the text, the simplest way is to replace
everything inside the <h1> (or the <p>) with plain text and drop the effect:
<h1 class="text-[40px] md:text-[48px] lg:text-[56px] leading-[1.2] font-semibold tracking-[-0.03em] text-balance text-white">Your title</h1>To keep the effect, change the sr-only text and write the character spans for your words.
Adding a project
Section titled “Adding a project”-
The page. Copy an existing one, e.g.
project/aureline-house.html→project/lumen-residence.html. Use lower-case words joined by-for the file name; it becomes the address. Edit:- the top: the category label, the title, the summary and the cover;
- the details: Year, Location, Duration, Area and Services (links to their pages, separated by commas);
- the story: the opening line, “The Brief”, “Scope of Work”, the result text and the eight photos;
- “Other Work”: three other projects’ cards (the demo shows the first three other projects of the list); leave the
<head>for last: title, description, canonical,og:url, and theog:andtwitter:titles and descriptions.
-
Projects. Copy a card in
project.html(a<div>with the link, the photo, the title and the category / year) and edit its link, photo,alt, title, category and year. On desktops the grid has 12 columns and each card takes some of them (lg:col-span-3,lg:col-span-6,lg:col-span-4): keep each row at 12, and copy a card of the same width so its photo keeps the right shape. -
Home. “Our Projects” shows the same cards: add it there too.
-
Other Work on the other projects, where it should appear (each shows three).
-
The sitemap. Add a line to
sitemap.xml:<url><loc>https://yourdomain.com/project/lumen-residence.html</loc></url>
Adding a service
Section titled “Adding a service”- The page. Copy one in
service/, e.g.service/architecture.html→service/consulting.html. Edit the title, the summary and the photo, “About service”, “What’s included in the services?” (the text and the five deliverables, a title and a text each), the form’s Project type (itsvalueandplaceholderare the service’s name, see Forms) and the<head>. - Services. Copy a card in
service.htmland edit its link, photo, name and summary. - Home. Add it to the switcher, in all three lists (The services switcher).
- The footer’s “Services” on every page: copy a link (its text is written three times).
- The forms’ Project type on Contact and Services: add an
<option>. - The projects that should name it, in their details.
- The sitemap. Add its line to
sitemap.xml.
Adding a post
Section titled “Adding a post”-
The page. Copy one in
blog/, e.g.blog/creating-timeless-interiors-for-modern-lifestyles.html→blog/choosing-stone.html. Edit the category label, the title, the excerpt, the date (the<time>element’sdatetime,2026-05-14, and its text,May 14, 2026), the cover, then the text: paragraphs<p class="mt-5 first:mt-0">and headings<h2 class="… mt-10 text-ink first:mt-0">— copy them from another post. “Similar posts” holds three other posts of the same category, newest first. In the<head>, also changearticle:published_timeandarticle:section. -
Blog. Copy a card in
blog.htmland paste it at the top for the newest. The first six cards show on desktops and the first four on tablets and phones; the rest appear as the visitor scrolls (data-page-sizeon the list). The classes on each<li data-blog-item>go by position, not by post: the first fourblock md:block lg:block, the fifth and sixthhidden md:hidden lg:block, the othershidden md:hidden lg:hidden. After adding a card, give each<li>the class of its position. -
Home. “Latest Insights” shows the three newest: put the new card first and drop the last.
-
Similar posts on the other posts of its category.
-
The sitemap, with the post’s date:
<url><loc>https://yourdomain.com/blog/choosing-stone.html</loc><lastmod>2026-10-26</lastmod></url>
To remove a project, a service or a post, do the reverse: delete the page, its cards, footer links and form options,
any link to it and its line in sitemap.xml. Search the folder for the file name to catch any link left behind.
The legal pages
Section titled “The legal pages”legal/privacy-policy.html and legal/terms-of-service.html hold the title, “Last updated:” with its date (a <time>)
and the text: headings, paragraphs and bulleted lists (<ul class="pl-[23px] list-disc …">). The demo text is a sample
written for “Cerette”: have yours written for your studio and the law you work under. Both are linked from the footer of
every page.
Adding a page
Section titled “Adding a page”- Copy a page close to what you want, e.g.
contact.html→careers.html. A page that is in the menu marks its own link as the current one, so start from a page that isn’t (Contact, a legal page), or removearia-current="page"andtext-brownfrom the two links of the copy (the bar and the phone menu). - Replace the sections inside
<main>with the ones you want. Every section in the template is a block you can copy from its page (or fromstyle-guide.html) and paste between<main>and</main>. The first section carriesmt-[58px] md:mt-[83px], which keeps it clear of the fixed header: keep it on your first section. - Update the
<head>(title, description, canonical,og:url, and theog:andtwitter:titles and descriptions). - Link to it: in the bar and the phone menu, copy the
<li>of a neighbouring link and change itshrefand its text (written three times); or add it to the footer’s Quick Links. The header and the footer are the same in every page of a folder apart from the current link, so once one page is done, copy them into the others (pages in a folder write../before each link, and404.htmlwrites its links from the root,/careers.html). Add the page tositemap.xml.
Removing a page
Section titled “Removing a page”Delete the file, remove its links from the menus and the footer of every page and its line from sitemap.xml. Search
the folder for the file name to catch any link left behind: buttons link to pages too (“Let’s talk” and “Contact us” to
Contact, “Our Services” to Services, “Our Works”, “Our works” and “All Projects” to Projects, “More about us” to About,
“All Articles” to Blog).
The style guide
Section titled “The style guide”style-guide.html shows every component with its name, which is handy for copying a button or a card. It’s hidden from
search engines and linked from nowhere. Delete it before publishing if you don’t want it online; its sample forms never
send anything.