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
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.
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.
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.
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.