Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #983324
    psylist
    Participant

    Hi I added a custom link in the navigation that opens in new tab… It works in desktop version, but doesn’t in tablet and mobile. How can I solve that problem…

    Deewan.ca is the website link and the custom navigation link is in the header called “Inspiration”

    Thanks!

    #983562
    John Ezra
    Member

    Hi there,

    Thanks for writing in! 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
    – FTP credentials

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

    #985068
    psylist
    Participant
    This reply has been marked as private.
    #985603
    Lely
    Moderator

    Hello There,

    Thanks you for giving us your admin credentials.
    Please try adding the following script on Appearance > Customize > Custom > Edit Global Javascript:

    (function($){
    $('.x-navbar .x-nav-wrap.mobile li.menu-item-type-custom a').on('touchend click', function(){
    $('.x-nav-wrap.mobile').toggleClass('in').css('height', 0);
    $('.x-btn-navbar').toggleClass('collapsed');
    });
    })(jQuery);

    Hope this helps.

    #985809
    psylist
    Participant

    Thank you so much! this is working now…. The only thing is that on mobile it’s difficult to scroll to be able to get to contact. It looks like there is some problem with it.

    #986028
    Nabeel A
    Moderator

    Hi again,

    Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.

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