Active state mobile nav icon

Is it possible to set a different state for the mobile nav icon when the drop down is active? Ideally, I’m wanting to have an X instead.

What you can do is drop both icons/images into that nav link icon. And set a click interaction on the link that switches the two images. Not sure how it would work out when you don’t click on the same button to close the nav menu (the X might stay), but this is the best idea I have besides writing some custom javascript that shows a different image while the navmenu is expanded.

1 Like