Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @mesmer7 ,

    You can use any below-given steps to add the nav tag.

    1. Physically add nav tag into your theme.
    2. In responsive menu, go to Mobile Menu -> Toggle button -> Button Position -> Position -> select custom selector and enter nav tag in Element selector option.

    Here is the screenshot link for your reference.

    https://snipboard.io/HoJ3WA.jpg

    Do let me know if you need more help.

    Regards,

    Thread Starter mesmer7

    (@mesmer7)

    First I want to add the <nav> tag to the menu itself, not the button.

    Second. I don’t use any of Responsive Menu’s themes. They made a mess.

    And third, my screen doesn’t match the image you shared. The element selector field doesn’t exist on my screen.

    Hi @mesmer7

    Please add the below-given code in the function.php file and then check.

    function rmp_nav_menu_args_func( $param, $term_id, $menu_location ){
    	$param['container'] = 'nav';
    	return $param;
    }
    add_filter('rmp_nav_menu_args', 'rmp_nav_menu_args_func', 10, 3);

    Let me know if you need more help.

    Regards,
    Sumit

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘tag’ is closed to new replies.