Tagged: ,

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #310503

    Menu Column under Mega Menu isn’t opening in new tab even though I specified it.

    Under Appearance => Menus, I have a custom link under my “Contact Us” menu. I need this to open in a new tab.

    I have went to Screen Options, have enabled everything, and have set the Link Target to “New Window or Tab” for the custom link. However, it still opens in the same tab / window.

    Any help, please? I only want this item to open in a new tab. Nothing else.

    Thanks!

    #310801

    Hi aregowe!

    Thank you for using Enfold.

    We would like to check the actual website. Please post the url here. Note that mega menu titles or the first column on the mega menu set will not accept the link target attribute. You can add this on functions.php to change the target attribute to blank:

    function megamenu_title_link() { ?>
    <script type="text/javascript">
    jQuery(window).load(function(){
    	jQuery('.mega_menu_title a').attr('target', '_blank');
    });	
    </script>
    <?php }
    
    add_action('wp_head', 'megamenu_title_link');
    

    Regards,
    Ismael

    #310832

    Will changing the target to blank….. open up a new tab?

    I have this problem and also want to know how to control the font size of the mega menu. The font size increased 100% from the home page header size. I want o choose or keep them same size?

    How is this possible?

    Thank you

    #310883

    Hi!

    Will changing the target to blank….. open up a new tab?

    Yes it would

    I answered your question on your topic here – https://kriesi.at/support/topic/home-page-mega-menu-include-all-categories-and-pages/#post-310882

    Regards,
    Yigit

    #778995

    Thank you. I am having the same issue. I want to use Megamenu and have it open a new page. I can’t do this unless I make the Menu item a stand alone item. Meaning when I drag it under a menu item, it won’t open a new tab or page.

    Adding the code above to the functions.php page only breaks the website code.

    Simply saying to add code is assuming people know where to add the code and in the correct form with proper code attributes.
    Lets not assume anything ever and possibly coding will become a bit more friendly.

    Is there a fix for this?

    Thank you

    #779582

    Hi 702arts,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look.

    Best regards,
    Victoria

    #780663

    Hey, thanks for your that solution.
    Isn’t that something you could fix in the next update?
    the incompatibilty between the native “New Tab”-Funtionality and Mega Menu Headers seems really like a bug than anything else…

    thanks for you support!

    #790779

    Sure

    #791719

    Hi 702arts,

    I checked the menu, it works fine. Did you get it working or you still need help?

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #791768

    @Victoria Could you integrate that by default as an option? without adding javascript?

    thanks!

    #792247

    Hi Innovie,

    Sorry, I am so lost now, with everyone writing to this thread. What do you want to do without Javascript?

    Best regards,
    Victoria

    #792487

    Okay great. Just create a link marked external link and have it link to an outside website like google and you will have fixed the problem just by adding a link to an external site.

    When I say add a link to a new page, what I meant was an external page or another website. Sorry for the confusion.

    This option is not available as I can see.

    Brad

    #792898

    Hi 702arts,

    I was about to check you function.php for the code.

    Best regards,
    Victoria

    #846136
    This reply has been marked as private.
    #846600

    Thanks. It seems as though mega menu has some issues.

    Brad

    #846790

    I just want to add a menu item to the menu bar and have it open a new web page or tab.

    It’s a simple wordpress action that I’ve been using for years but no matter what I do it just won’t work.

    Very frustrating to have to recode a wordpress default functions.

    If you can go to http://tempnet1.com

    look at the book a flight link and make it open in a new tab or window then I salute you.

    Thank you

    Brad

    #847022

    Thanks opening a new thread for this problem in order to achieve a faster result.

    Thank you

    #847024

    Anyone working on this core issue?

    Thanks

    #847252

    Hi,

    @702arts

    the login is not working for me please check, Victoria asked if you had disabled the Editor submenu in the Appearance menu?

    Best regards,
    Mike

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