• Resolved krisam

    (@krisam)


    Hi,

    On this website – https://krisamsaha.com/
    Whenever I try to change the language on mobile screen from menu, it closes the whole menu instead of opening sub menu with language options.

    Kindly have a look with the issue. Only occurring on mobile screens.
    Thanks.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @krisam

    I checked the page you shared to check the issue you mentioned.
    Use the below JS snippet to fix the closing of the language submenu issue.

    (function($){
    	var elm = $('.hfe-nav-menu nav .pll-parent-menu-item a.hfe-menu-item');
    	var property = elm.prop('href');
    	if(elm.prop('href').includes('#')){
    		var index = elm.prop('href').indexOf('#');
    		var val = elm.prop('href').slice(index);
    		if(val == '#pll_switcher'){
    			elm.prop('href', '#');
    		}
    	}
    })(jQuery);

    Hope this will resolve your issue.
    Let us know how this goes.

    Have a nice day!

    Hello @krisam

    Marking this topic as resolved due to inactivity and assuming the issue is resolved at your end.

    Feel free to reply here or open up a new issue thread if you are still facing this problem.

    Regards,
    Rahul.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dropdown closes on mobile instead of showing sub menu items’ is closed to new replies.