hello,
can you help me for this?
how can i combined my primary menu and secondary menu on responsive menu mobile?…
Combined the primary and secondary menu
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi Halim,
Do you have a public URL where we can take a look at your setup?
(function(document, $, undefined){
function __combineMenus(){
if ( ( $( ‘.secondary-menu’ ).css(‘display’) === “block” ) && $( ‘.secondary-menu’ ).length > 0 ) {
$( ‘.secondary-menu > li’ ).addClass( ‘moved-item’ );
$( ‘.secondary-menu > li’ ).appendTo( ‘#mobile-menu’ );
$( ‘.secondary-menu’ ).hide();
} else if ( ( $( ‘.mobile’ ).css(‘display’) === “block” ) && $( ‘.mobile’ ).length > 0 ) {
$( ‘.mobile’ ).hide();
$( ‘#mobile-menu ul.menu > li.moved-item’ ).appendTo( ‘.slide-container’ );
$( ‘.secondary-menu > li’ ).removeClass( ‘moved-item’ );
}
}
$(document).ready(function () {
__combineMenus();
// run test on resize of the window
$( window ).resize( __combineMenus );
});
})( document, jQuery );
its this correct function ill js function for combine a primary and secondary menu but i can’t find it a correct code
Hi Halim,
Unfortunately, this isn’t something we can assist you with as it’ll require a fair amount of custom coding. This is beyond the scope of what we can help you with on our forums, but you could hire a developer to implement this for you or help you with it.
We recommend using Codeable. You’ll be able to hire someone at an hourly rate to do this work for you.
thank you sir alex s for your kindness but on your own way do you any way to how can combine it a two navigation for responsive menu mobile?