How can I create a hover animation on my Webflow navbar where the hovered link stays at 100% opacity and the remaining links turn 50% opacity?

Published on
September 22, 2023

To create a hover animation on your Webflow navbar where the hovered link stays at 100% opacity and the remaining links turn 50% opacity, you can follow these steps:

  1. Select the navbar element: In the Webflow Designer, locate and select the navbar element you want to apply the hover animation to.

  2. Style the default state: In the Style panel, set the default state of the navbar links to the desired opacity, which is 50% in this case.

  3. Create an interaction: Go to the Interactions panel and click on the '+' button to create a new interaction. Give it a name that represents its purpose, for example, "Navbar Hover Animation."

  4. Trigger the interaction: Under the "Trigger" section of the interaction panel, choose the element(s) you want to trigger the hover animation. In this case, select the navbar links.

  5. Set up the hover trigger: In the trigger settings, choose "Hover" as the gesture.

  6. Define the hover in animation: Now, select the hovered state of the navbar link(s) in the Style panel and set the opacity to 100%.

  7. Define the hover out animation: To make the other links turn to 50% opacity when one link is hovered, create a new step in the interaction and target the remaining links. Set their opacity to 50%.

  8. Adjust animation durations: You can adjust the duration of the hover in and hover out animations to suit your preferences. This can be done under the "Duration" section of the interaction panel.

  9. Preview and publish: Once you've set up the hover animation, preview it in the designer to see if it works as intended. If everything looks good, save and publish your changes to make the animation live on your Webflow site.

By following these steps, you will have successfully created a hover animation on your Webflow navbar where the hovered link stays at 100% opacity and the remaining links turn 50% opacity.

Additional questions:

  1. Can I apply different hover animations to different elements on my Webflow navbar?
  2. How can I change the color of the hovered link on my Webflow navbar?
  3. Is it possible to add additional effects to the hover animation on my Webflow navbar, such as transitions or transformations?