Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1155480
    scottkwilson
    Participant

    Hi – The submenu for “Our Work” is not working when viewing on mobile. Please help. Thanks!

    http://newsite.stormwindcreative.com/

    #1155488
    scottkwilson
    Participant

    To clarify, when you touch the arrows with the menu open, the whole menu disappears.. then when you click the menu again, the submenu links are showing

    #1155517
    Joao
    Moderator

    Hi There,

    You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    If that does not work, 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

    #1155761
    scottkwilson
    Participant
    This reply has been marked as private.
    #1156149
    Darshana
    Moderator

    Hi there,

    Please provide us with your FTP credentials also to check your current setup.

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

    Thanks

    #1156653
    scottkwilson
    Participant
    This reply has been marked as private.
    #1156672
    scottkwilson
    Participant

    Hey, I would also like to mention that I recently installed out Uber Menu, but I wasn’t able to customize it the way I wanted so I removed the plugin. Not sure if this may have altered the setup in some way.

    #1156707
    Paul R
    Moderator

    Hi,

    Thanks for the login.

    I was able to fix it by changing your js code to this.

    
    (function($){
      $('.x-navbar .x-nav-wrap.mobile a').not('.menu-item-has-children a').click(function(){
        $('.x-nav-wrap.mobile').toggleClass('in').css('height', 0);
        $('.x-btn-navbar').toggleClass('collapsed');
      });
    })(jQuery);
    

    Please check

    #1156748
    scottkwilson
    Participant

    Thank you! We are very close! I checked it out, and although it works, it’s not as “clean” as other X theme sites I’ve created that have a sub menu. It would be great for the submenu to function like this site mervwilsonbuilder.stormwindcreative.com. With the fix you provided, there is an overlapping of the links for a brief moment. The “Website Design” and “Logos” links appear under “StormWind Foundation” and “Blog” links, then everything snaps into place. The same goes for when you close the menu.

    Just curious, why am I encountering this issue? Does anyone else have this problem? It makes me nervous having to rely on a custom code fix for this sort of thing… I’ll be using many submenus in the future.

    Thanks again!!!

    #1156791
    Paul R
    Moderator

    Hi,

    I made some adjustments to your css code and it now works.

    This issue was cause by your custom js code and custom css code.

    If you try to remove your js code, it will work as expected.

    Thanks

    #1156795
    scottkwilson
    Participant

    Boom!!! You’re amazing Paul R! Thanks again!!!!

    #1156816
    Paul R
    Moderator

    You’re welcome! πŸ™‚

    #1156825
    Joao
    Moderator

    Glad to hear it,

    Paul is indeed a Ninja πŸ™‚

    Have a great day!

    Joao

    #1156866
    scottkwilson
    Participant

    Haha! Same to you!

    #1156941
    Joao
    Moderator

    πŸ™‚

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