Instructions

How to edit the Fleeta template

A short guide to the animations, scripts, icons, components, variables and CMS collections that power this template.

Animations (GSAP)

Every animation is a Webflow Interaction (IX3) built on GSAP. Each interaction targets a custom attribute, so you add or remove motion in the element Settings panel under Custom attributes. No custom code is needed.

Element map

Attribute
Interaction
Where it is used
page-load-1 to page-load-5
Hero Load Animation: fade up on page load at 0, 0.2, 0.4, 0.6 and 0.8 s
Hero subtitles, text, buttons and images on every page
hero-title
Hero Title Animation: characters rise in on page load
The H1 of every page
section-title
Section Title Animation: characters rise in when the heading scrolls into view
Section headings on Home and Services, CTA and Steps components
Reveal-anim-1
Reveal 0.0s: fade up on scroll with no delay
Single blocks and the first item in a row
Reveal-anim-2
Reveal 0.2s: fade up on scroll after 0.2 s
Second item in a row and CMS list items
Reveal-anim-3
Reveal 0.4s: fade up on scroll after 0.4 s
Third item in a row
Reveal-anim-4
Reveal 0.6s: fade up on scroll after 0.6 s
Fourth item in a row and footer columns
Reveal-2s
Opacity Reveal (0.2s Delay): fade in on scroll
Style Guide rows and Instructions sections
data-counter
Counter script in the site footer code
Statistics on Home and Contact

Change the timing

Open the Interactions panel, select an interaction such as Reveal 0.2s and click its action. Edit Duration, Delay, Easing or the start values (opacity and move distance). The change applies to every element with that attribute. Scroll reveals start when the top of the element reaches 90% of the viewport; change this in the trigger's scroll settings.

Remove an animation

To stop one element, select it, open Settings, and delete its attribute under Custom attributes. To stop a whole type, delete the interaction in the Interactions panel. The layout does not change, because the hidden start state only exists inside the interaction.

Reduced motion

Every interaction is set to skip to the end when a visitor has reduced motion turned on in their system settings. Content then appears at once, without movement.

Other interactions: FAQ open and close (click), Impact card hover (Home), Blog image zoom on hover, and the text roll on the Primary and Secondary Button hovers. Edit them in the same panel.

Counter script

Numbers such as +500 or 100% count up from zero when they scroll into view. The script sits in Site settings, Custom code, Footer code, and uses GSAP with ScrollTrigger. It keeps any prefix and suffix, so +, % and commas stay in place.

Add a counter

Wrap only the digits of the number in a Span, then give that span the custom attribute data-counter with the value counter, for example 500 inside the span and the + after it. Keep prefixes and suffixes such as +, % or hr outside the span.

Change or remove it

Edit duration (1.8 s), easing (power2.out) or the start point (top 88%) in the footer script. To stop one counter, delete its data-counter attribute and the number stays static. To remove all counters, delete the script block under the comment "Fleeta: number counter".

Lenis smooth scroll

Lenis 1.3.1 smooths mouse wheel scrolling across the site. It is loaded in Site settings, Custom code, Footer code, with its stylesheet and a short setup script.

Adjust it

In the setup script, lerp controls the smoothness (0.1 by default; lower is smoother) and wheelMultiplier controls the scroll speed (1 by default).

Remove it

Delete the lenis.css link, the lenis.min.js script and the script that starts with const lenis from the footer code. Scrolling falls back to the browser default and every animation keeps working.

CTA arrow field

The call-to-action band above the footer has a field of small arrows that runs from the left edge of the screen up to the text column. When the mouse moves over the section, every visible arrow turns to point at the cursor, and the arrows closest to it grow and brighten; when the cursor leaves they ease back to rest. It is a short GSAP script in Site settings, Custom code, Footer code, below the Lenis script. It runs only on screens 992px and wider with a mouse, and it is skipped when a visitor has reduced motion turned on. On tablet and mobile the field spans the full screen width above the text as a still pattern.

Adjust it

The script looks for a section with the attribute data-mouse-field and animates every arrow with the cta-field-item class inside it. At the top of the script you can change three numbers: R is the radius in pixels around the cursor where arrows react (220), S is how much the nearest arrow grows (0.8 = up to 1.8 times its size), and O is the resting opacity (0.2). The grid has 13 rows and 26 columns (338 arrows), enough for screens up to 2560px. Arrow colour comes from the Text Color Primary variable. Arrow size and spacing use the Size Field Item and Size Field Gap variables. You can swap the arrow for any other inline SVG icon; keep the cta-field-item class on it.

Remove it

To stop the motion, open Site settings, Custom code, Footer code and delete the block that starts with the comment "Fleeta: CTA arrow field (GSAP)". Leave the Lenis and counter scripts in place. The arrows stay in place as a still pattern and the layout does not change.

SVG icons

Icons such as arrows, phone, mail, social and checkmarks are inline SVG code inside Code Embed elements. They use currentColor, so each icon takes the text colour of its parent element.

Change the colour

Select the element that wraps the icon and change its text colour in the Style panel, ideally to a colour variable. Hover colours work the same way.

Replace an icon

Double-click the Code Embed, paste your own SVG and set its stroke or fill to currentColor. Keep the width, height and viewBox values so the icon keeps its size. Add aria-hidden="true" to decorative icons.

Components and props

Shared sections are components, so an edit inside a component updates every page that uses it. Select an instance to change its props in the right panel without touching the original.

Component
Props and variants
Notes
Navbar
Variant (two styles)
Logo, menu links and the services dropdown. Edit links inside the component.
Footer
None
Logo, contact details, link columns, social links and the legal links to Style Guide, Licenses, Instructions and Changelog.
CTA
Heading, Body, Button Text, Button Link
Closing call to action on most pages.
Primary Button
Text, Link, Show Icon, Variant: Light, Yellow, Yellow Small
Text roll and arrow on hover.
Secondary Button
Text, Subtext, Link, Variant: Base, On Dark
Use On Dark on dark green sections.
Steps
None
The four step how it works section.

Replace the logo

Open the Navbar and Footer components from the Components panel, select the logo and swap in your own SVG or image. Both components update across the whole site.

Colours, fonts and variables

All colours, sizes and type styles come from the Variables panel. Change a variable once and every class that uses it updates.

Collection
What it holds
How to edit
Color
Primary, Secondary, Gray and White palettes, plus Text, Background, Border, Button and Accent aliases
Edit a palette value to recolour the brand. The aliases point to the palette, so they follow.
Sizes
Spacers, radius, container widths and stroke widths
Five modes (Desktop LG, Desktop SM, Tablet, Mobile L, Mobile) are set on page-wrapper and scale spacing per breakpoint.
Typography
Font families, H1 to H6 and Paragraph 1 to 5 sizes in rem, weights, line heights and letter spacing
Responsive modes resize the type per breakpoint. Edit each mode in the Variables panel.

Change the fonts

Headings use Lexend and body text uses Archivo, both from Google Fonts. Add a new Google Font in Site settings, Fonts, then select it in the Heading or Body font family variable in the Typography collection.

CMS collections

Content that repeats lives in the CMS. Add, edit or archive items in the CMS panel and the pages update on publish.

Collection
Used on
Notes
Services
Home, navbar dropdown, footer and each service page
Each item has its own template page with hero, details, pricing and images.
Blog Posts
Blog page and each article page
Thumbnail, main image, summary, read time, author, featured switch and a Category reference.
Blog Categories
Blog filters and each category page
The category page lists only the posts that reference that category.
FAQs
FAQ sections
Question and answer items shown in the accordion. The FAQ item template page is not linked anywhere.