Navs

Switch a nav's default colour theme on scroll, when a nested dropdown is open or at different breakpoints.

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

Script

The custom code and script for this powerup can be added to your Webflow project using the "TooEasy Powerups" Webflow App. You can find the app on the Webflow Apps Marketplace or within the "Apps" tab in the Webflow designer. Once the app is installed simply locate the Powerup 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

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

Name
te-slider-slides-per-view
Description

Add this attribute if you would like to group slides together.

Value
auto
Description

A value of "auto" will automatically group all slides within the viewport.

Example Value
80%
Description

A value of "#%" groups the number of slides within this percentage in the slider viewport. (Change "#" with you number, E.g 80%)

Example Value
3
Description

A numbered value will groups slides based on this number. For example "3" will indicate 3 columns in each slide.

Example Value
4,3,2,1
Description

A number array will set different slide groups for different breakpoints. For example [4,3,2,1] to represent 4 on desktop, 3 on tablet, 2 on mobile landscape and 1 on mobile portrait.