Webflow does support styling one element based on the hover state of another, including changing a child element’s style when hovering over its parent.
1. Use Parent Hover State in Webflow
- Select the parent element in your design canvas.
- In the Selector Field, click to open the style selector dropdown.
- Hover over "States", then choose "Hover".
- Now, you are editing the styling for this parent element when it's in the hover state.
2. Style the Child Under Parent Hover
- With the parent hover state selected, click into the child element.
- Any changes you apply now (e.g., color, opacity, movement) will be applied only when the parent is hovered, not when the child is hovered itself.
3. Use Combo Classes or Custom Structure if Needed
- If your layout becomes complex, applying a combo class to the child (e.g., "icon inside nav-item") can help you target and modify styles more precisely.
- Make sure the structure in Webflow’s Navigator reflects the intended parent-child relationship. If the child isn’t inside the parent derectly in the DOM, this method won’t work.
4. Use Interactions for Advanced Effects
- For more complex animations (e.g., transitions, movement), use Webflow Interactions:
- Go to the Interactions Panel.
- Select the parent.
- Choose "Mouse hover" under interactions.
- Add a hover in and hover out animation that targets the child element.
- Use these to change opacity, scale, move, hide/show, etc.
Summary
Yes, Webflow allows you to change a child element's styling when hovering over its parent through both standard hover states and interactions. Use style states for basic changes, and interactions for complex behaviors.