• Hi,

    I need some help with dropdown menu link on vertical menu (on Desktop and mobile).
    Right now, to display the dropdown menu, user fas to click on the icon “+”.
    However I’d like to make the dropdown menu active when clicking on the whole link instead of just the arrow/icon + (better for UX).

    So, I’ve pasted this code below into my child-theme function but that doesn’t work.
    Any idea ?
    Thanks for your help !

    function my_ocean_localize_array( $array ) {
    $array[‘sidrDropdownTarget’] = ‘li’;
    return $array;
    }
    add_filter( ‘ocean_localize_array’, ‘my_ocean_localize_array’ );

    • This topic was modified 4 years, 4 months ago by Julien.

    The page I need help with: [log in to see the link]

  • The topic ‘Dropdown menu link vertical menu’ is closed to new replies.