SmartNavs

Auto-switch a navbar’s color theme on scroll or when a nested dropdown opens.

Code Bracket Streamline Icon: https://streamlinehq.com

Script

The script for this powerup can be added to your Webflow project using the TooEasy Powerups Webflow App. Once the app is installed simply select the powerup(s) you'd like to use and click the "install script" button.

Cog Streamline Icon: https://streamlinehq.com
Setup

Nav Wrapper

This is the div block that wraps my navigation

Nav Scrolled

This is the theme I want my nav to switch to when the page is scrolled

Vertical Slider 4 Streamline Icon: https://streamlinehq.com
Options

Breakpoints

I want to disable theme switch on a particular breakpoint

Dropdown Open

I want to change the nav theme when a nested dropdown is opened

YouTube

Watch Tutorial

Name
te-cursor-element-display
Description

Add this attribute to the same div block with [te-cursor-element] applied.

Value
Description

An empty value will set the display style to block.

Value
Description

This value will set the display style to block.

Value
Description

This value will set the display style to flex.

Name
te-cursor
Description

Add this attribute to the div block that contains both the trigger and cursor elements.

Name
te-cursor-element
Description

Add this attribute to the div block you want to use as your cursor.

Name
te-cursor-trigger
Description

Add this attribute to the div you want to use to trigger the cursor.