• Hi,

    First off, thank you for this great theme. It’s a beautiful theme with lots of great functionalities.

    The question I have is regarding having a menu item that opens up a new tab when clicking. I’m using this for some of the social icons (facebook/twitter).

    I have enabled the “Open link in a new tab” in the advanced menu option, and the items do in fact open up the link in another tab, but the issue is that the current page also navigates to the link., which isn’t exactly what I’m looking for.

    This is strange behavior since all that option is doing is probably tacking on target=”_blank” to the anchor tag, so I’m starting to think there’s something strange going on within the theme that is making this happen.

    Thanks for your help!

    Best,
    Yuma

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter yuesaka

    (@yuesaka)

    Here is the website, if you’re curious and would like to take a look: https://www.yumasax.com/levine_test/

    Thread Starter yuesaka

    (@yuesaka)

    It looks like if I comment out the following code in nisarg.js, it fixes itself:

    $( ‘.navbar-nav > li.menu-item > a’ ).click( function(){
    window.location = $( this ).attr( ‘href’ );
    });

    Is this code doing anything? It seems that the navigation still works without this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Opening Custom Link in New Tab Changes the Current Page’ is closed to new replies.