WordPress.org

Support

Support » Themes and Templates » How to create a rollover effect only for parent nav items with child elements?

How to create a rollover effect only for parent nav items with child elements?

  • tracyberna

    @tracyberna

    I’m using a custom menu with a dropdown menu on some items. When someone rolls over a menu item that has child elements and hence a dropdown, I want a down arrow to appear on the parent nav element. But if there isn’t a dropdown, I don’t want the arrow. How can I make a code to detect which nav items have children and still call out a custom menu?

  • The topic ‘How to create a rollover effect only for parent nav items with child elements?’ is closed to new replies.
Skip to toolbar