Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1261744

    Hi,

    I’m building a shop for a client and in the mean time I want a temp homepage that is live. So I made a temp page in maintenance mode. I want a different menu on the temp homepage than the shop. I saw in another thread that I can use the plugin “swap menu” and that works, except that the shopping basket still is visible on the temp homepage.

    I fixed that for now by selecting “not showing shopping basket, only when something is bought” in the Enfols shop settings but this will also be effected on the shop pages. And the client eventually wants it visible all the time. So this way, the client cannot see it and test it the correct way.

    Is there a way to show the shopping basket in the menu on the shop pages and hide it on the temp homepage?

    Also additional, I just found out the menu is not visible as a hambuger menu on mobile phones. What do I need to do to get it visible?

    Thanks!

    • This topic was modified 4 years ago by JantienM.
    #1261914

    Hey JantienM,

    Could you post a link to the site in question so that we can have a closer look please?

    Best regards,
    Rikard

    #1261966

    Hi, see private content.

    #1262094

    Hi,

    Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:

    .home #menu-item-shop {
      display: none;
    }

    Best regards,
    Rikard

    #1262102

    Yes, that worked, great. thanks.

    The only problem that still exists is that the hamburger menu on de live homepage is not visible on mobile devices.

    Hope you can help me out with that also, thanks a lot.

    #1262612

    Hi Rikard,

    Did you see my other question regarding the menu and using menu swapper as well? The hamburger is not appearing on mobile screens on de live homepage.

    Thanks!

    #1262941

    Hi,

    Thanks for the update and sorry for the late reply. Does the same thing happen if you disable the Menu Swapper plugin?

    Best regards,
    Rikard

    #1262949

    No, it has to do with the menu swapper I think.

    Because on de the shop site, the hamburger does appear.

    When I select main menu instead of secundairy menu on the live homepage, the hamburger does appear. I was wondering if it’s possible to make two main menus to work around this issue?

    #1263163

    Hi,

    Thanks for the update. I’m not sure how that plugin works, but there’s no functionality for adding more than one menu in the theme unfortunately. Maybe you could try reaching out to the plugin developers, to see if there is a solution for removing the plugin functionality on mobile?

    Best regards,
    Rikard

    #1310435

    was there a resolution to this? I use menu swapper on a site and it works great with enfold except on mobile. on mobile, the selected menu does not appear as a hamburger menu. Wondering if there is any solution?

    #1312113

    Hi,
    Thank you for your patience, the mobile menu is created dynamically so I don’t know how the plugin is swapping the menus, but to use a different menu on a certain page you could use this filter in your child theme functions.php:

    function av_different_menu( $args = '' ) {
        if(is_page('591') && $args['menu_id'] == 'avia-menu') {
            $args['menu'] = '21';
        } 
        return $args;
        }
    add_filter( 'wp_nav_menu_args', 'av_different_menu' );

    Please adjust the page & menu IDs to suit. To find the menu ID for your menu hover over the “delete menu” link and look at the link address
    find_the_menu_id.jpg

    Best regards,
    Mike

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.