Hello,
I Have an issue with component 484.. How come in webflow there is none of the text bolding animation, does it not come out of the box? There is also no instructions when pasting into webflow...
you have to publish your webflow site and view it on either webflow.io or your custom domain. Not within the webflow designer preview.
most likely the classes in the custom code embed need to be changed to match your actual markup
definitely some room for improvement to make this more intuitive - I'll pass this on to the team.
Hi , I'm glad to hear that some instructions will come with this component. Can you also please include info related to the trigger?
This code references 'startValue', 'endValue' and 'scrub' but what the heck is that?
scrollTrigger: {
trigger: ".section_layout484",
// Trigger animation when .section_layout484 reaches certain part of the viewport
start: startValue,
// End animation when .section_layout484 reaches certain part of the viewport
end: endValue,
// Smooth transition based on scroll position
scrub: 2
// Define different start and end values for mobile devices
let startValue = isMobile() ? "top 20%" : "top center";
let endValue = isMobile() ? "bottom 40%" : "bottom center";
Hi , I'm trying to adjust where on the screen the script is highlighted as I scroll down it. https://portfolio-sottardi.webflow.io/olapay
Like, is the percentage how close or far away from the top/bottom it begins/ends?
Hi again, . Women from the Floxies Community (of Women who Webflow) helped me understand how to get this animation looking the way I want. One of reasons it wasn't working as I wanted is because the code that speaks to the desktop breakpoint is missing.
There are two pieces missing. This:
// Function to check if the viewport width is 1024px or more (Desktop) function isDesktop() { return window.innerWidth >= 1024; }
and this:
// Define different start and end values based on breakpoints for mobile and desktop let startValue = isMobile() ? "top 70%" : (isDesktop() ? "top 40%" : "top center"); // Adjusted for desktop let endValue = isMobile() ? "bottom 30%" : (isDesktop() ? "bottom 20%" : "bottom center"); // Adjusted for desktop