Parent
(Instructions)
Label

Instructions

Follow this guide to set up and customize your website with ease. Find helpful tips and clear steps to make the most of your Axiom template.

Instructions
How to edit GSAP animations
The template animates with three tools. This guide lists every animated element, the values you can change, and how to remove each animation safely.
  • GSAP + ScrollTrigger – the animation engine. Webflow loads it for you through Settings panel → GSAP integration; there is no GSAP script tag in the custom code. The sticky header script uses gsap.to() and ScrollTrigger.create().
  • Lenis 1.3.17 – smooth scrolling. The library and its CSS load from unpkg in Site settings Head code and start in Footer code.
  • Interactions with GSAP – 15 visual interactions (hero reveal, scroll reveals, hovers, custom cursor, marquee, mobile menu, FAQ). These are built in the Interactions panel, not in code.
Where the code lives
  1. Open the site dashboard and go to Site settings → Custom code.
  2. Head code holds the Lenis library: the block marked <!-- LENIS SMOOTH SCROLL --> with lenis.min.js and lenis.css.
  3. Footer code holds two scripts: <!-- LENIS SMOOTH SCROLL --> (starts Lenis) and <!-- HEADER STICKY --> (hides and shows the header).
  4. No page has its own animation code in Page settings, and no Embed element contains animation scripts.
  5. After editing, click Save changes, then publish. Custom code does not run on the Designer canvas, so test on the published site.
GSAP element map
Every animated element in AXIOMR is listed below. Attribute selectors such as [text-animation] are custom attributes; find them in Element settings → Custom attributes. All interactions apply site-wide.
Custom code animations
  • Header hide/show – .header-section (site header on every page). Moves the header up 175px (y: -175, 0.3s) when you scroll down more than 100px, and back to y: 0 (0.3s) when you scroll up, with ease: 'linear'. Trigger: scroll direction, via ScrollTrigger.create() with start: 0, end: 'max'. Edit in Footer code → HEADER STICKY.
  • Smooth scroll – no selector (whole page). Replaces native scrolling with smooth, eased scrolling (duration: 1.2) and sends each scroll update to ScrollTrigger. Trigger: mouse wheel or trackpad scroll. Edit in Footer code → LENIS SMOOTH SCROLL (library in Head code).
Dependencies: both scripts need GSAP and ScrollTrigger from the GSAP integration. The Lenis script also uses gsap.ticker and ScrollTrigger.update. The custom code uses no custom attributes; it only reads the .header-section class.
Interactions with GSAP (Interactions panel)
  • Hero Animation – Page load. [hero-animation] fades in and rises from 2rem below. 0.8s, stagger 0.1s.
  • Text Animation – Scroll into view (start top bottom) of [text-animation]. Fades in and rises from 2rem below. 0.8s, starts at 0.2s, stagger 0.1s.
  • Step Animation (D) – Scroll into view (start top bottom) of [step-animation]. Each [animated-step] inside fades in and rises from 2rem below. 0.8s, starts at 0.2s, stagger 0.2s, desktop only.
  • Step Animation (M) – Scroll into view (start top bottom) of [animated-step]. Fades in and rises from 2rem below. 0.8s, starts at 0.2s, stagger 0.2s, tablet and mobile only.
  • Image Animation – Page load. .hero-image scales from 2 to 1. 1s.
  • Section Image – Scroll into view (start top bottom) of .section-image. Scales from 1.5 to 1. 1s, starts at 0.2s.
  • Principles Scroll – Scroll-linked (start top 85%, end top 30%, scrub 1) on .principles-wrapper. .principles-thumb combo classes .item-two, .item-three and .item-four slide in diagonally from -4vw, -8vw and -12vw to 0.
  • Rigor Row Reveal – Scroll-linked (start top bottom, end top 40%, scrub 0.6) on .rigor-card. .rigor-line grows from scaleX 0 to 1; .rigor-wrapp slides in from 17vw and .rigor-details from -17vw while fading in; .rigor-thumb grows from 0.2 to 1 while .rigor-mask counter-scales from 5 to 1. 1s. Skips to the end when reduced motion is on.
  • Projects Scroll – Scroll-linked (start top bottom, end top top, scrub 0.6) on .projects-card. Each card rotates from 7° to 0° and scales from 0.84 to 1. Desktop only.
  • Header Navigation – Click .header-humb-block (play / reverse). .top and .bottom lines move ±6px and rotate ±45° to form an X (0.4s); .middle line changes width (0.2s).
  • Header Dropdown – Hover .header-dropdown (reverses on mouse leave). .header-icon rotates 0° to 180° (0.5s); .header-wrapp opens from 0 to auto height (0.3s).
  • Button Hover – Hover .button (reverses on mouse leave). .button-icon rotates 45°. 0.3s.
  • Partner Hover – Hover .partner-card (reverses on mouse leave). .partner-space height shrinks from 50% to 0%. 0.3s.
  • Video Hover – Hover [video-button] (reverses on mouse leave). [pause-icon] fades in and scales from 0.5 to 1. 0.3s, desktop only.
  • FAQ – Click [faq] (on .faq-card). Adds the is-active combo class to the clicked card and its [faq-icon], and removes it from the other cards. Instant class toggle.
Remove GSAP animations
Each custom code animation is a separate script block, so you can remove one without breaking the other. Webflow saves backups automatically; you can restore one from Site settings → Backups if needed.
A. Remove the sticky header effect
  1. Go to Site settings → Custom code → Footer code.
  2. Delete everything from <!-- HEADER STICKY --> down to its closing </script> tag.
  3. Keep the <!-- LENIS SMOOTH SCROLL --> block above it.
  4. Nothing else needs to change: the header uses no custom attributes or extra classes for this effect, and its layout comes from the .header-section class.
  5. Click Save changes and publish. The header now stays in place instead of hiding on scroll down.
B. Remove Lenis smooth scrolling
  1. In Footer code, delete everything from <!-- LENIS SMOOTH SCROLL --> down to its closing </script> tag.
  2. In Head code, delete the <!-- LENIS SMOOTH SCROLL --> comment, the lenis.min.js script tag and the lenis.css link tag.
  3. Remove both parts together. If you delete only the Head code library, the Footer script throws a “Lenis is not defined” error in the browser console.
  4. Click Save changes and publish. The page returns to native browser scrolling, and the sticky header keeps working because it only needs GSAP and ScrollTrigger.
C. Remove all custom code animations
  1. Complete steps A and B.
  2. Leave Settings panel → GSAP integration unchanged unless you are sure no other custom code on your site uses GSAP. Interactions with GSAP are built separately in the Interactions panel and are covered in step D.
D. Remove an interaction with GSAP
  1. Open the Interactions panel (set to Interactions with GSAP) and select the interaction by name.
  2. To pause it without deleting, click the eye icon next to an action to hide it. To remove it, delete the interaction.
  3. For attribute-based interactions, you can also remove the attribute (for example text-animation) from elements in Element settings → Custom attributes. Leaving it in place is harmless.
  4. The reveal interactions (Hero, Text, Card, Title) set their own start state, so after deleting them the elements simply appear in their final position.
  5. Interactions apply site-wide, so a change affects every page that uses the same class or attribute.
After any removal, check
  • Preview all the pages and scroll from top to bottom.
  • Open the mobile menu, hover buttons and cards.
  • Publish the site once everything works.
GSAP & animation documentation
Official references for the tools used in this template.