Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1125209
    shootsandmore
    Participant

    Hello,

    For our website we use ubermenu for the desktop version. For mobile we want to use the regulair wordpress menu. After installing Ubermenu the mobile menu is not working anymore. How can we fix it?

    Our website http://www.shootsandmore.nl

    Kind regards,
    Vincent

    #1125436
    Joao
    Moderator

    Hi Vincent,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks

    Joao

    #1125476
    shootsandmore
    Participant
    This reply has been marked as private.
    #1125854
    Lely
    Moderator

    Hello Vincent,

    There’s a console error when I check your site:
    You have included the Google Maps API multiple times on this page. This may cause unexpected errors.

    This happens when another plugin is loading the same script on the same page. Ubermenu is loading Google Maps while it is already available in X.

    Please go to Appearance > UberMenu > General Settings > Assets >Load Google Maps API: Try to disable it.

    Then the code on your Homepage > Cornerstone > Custom Javascript also caused an error. Please remove it and then add the following instead on your child theme’s functions.php file:

    
    function add_facebook_sdk(){ ?>
      <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/nl_NL/sdk.js#xfbml=1&version=v2.4&appId=253029901374677";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    
    <?php }
    add_action( 'x_before_site_begin', 'add_facebook_sdk' );

    For more information please refer to this link.

    Actions and Filters in X

    Hope this helps.

    #1126891
    shootsandmore
    Participant

    It works, thanks!

    #1126969
    Lely
    Moderator

    You’re welcome!

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1125209 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>