-
AuthorPosts
-
November 13, 2015 at 5:50 pm #535579
I have the same problem as #522607. The answer was hidden. My site is on a development server so there is no access. I have created a Mega Menu and the sub menus all open to a new window as they should. The Row Header link does not. How do I resolve this problem. I am using Enfold 3.3.2. I am afraid to update to the latest version due to all the problems I am seeing on the Forum. I have lots of Color Sections with images and I keep seeing that these go away. We are about to go live on this site and we need to fix the menus, please?
November 13, 2015 at 5:53 pm #535586Hi Ride123!
Can you please post the link to your website?
Also, please make sure that you are using the latest version of Enfold which is currently 3.4.2 – http://kriesi.at/documentation/enfold/updating-your-theme-files/Best regards,
YigitNovember 13, 2015 at 6:37 pm #535655As stated…the site is on a local development server and I am afraid to upgrade to the new version due to problems I have seen. You had an answer for this problem ( #522607) but the answer was hidden. Can you please just tell me what you told that person?
November 13, 2015 at 6:40 pm #535658Hey!
Sorry i missed that part.
You can try adding following code to Functions.php file in Appearance > Editorfunction add_custom_tooltip(){ ?> <script> jQuery(window).load(function(){ jQuery('span.mega_menu_title a ').attr('target','_blank'); }); </script> <?php } add_action('wp_footer', 'add_custom_tooltip');
If that does not help, please post the link to the reply #522607
Regards,
YigitNovember 13, 2015 at 6:50 pm #535670Thank you! This works. Has this fix been applied in the newest version of Enfold? Or will I have to add it again when I upgrade?
November 16, 2015 at 5:59 am #536289Hi,
I’m not 100% sure but I think this is something you will have to apply to the sites you need it on.
Regards,
RikardDecember 12, 2015 at 8:43 pm #551472Hello… I am having the same issue…
The fix you provided does not work for me…
I am on Enfold 3.4.6
reach.beloitschools.org
Under “PROGRAMS”
“cyBER Robotics Team”December 13, 2015 at 3:59 pm #551693Hi!
The code has not been added to your site, make sure to place it in the functions.php of the child theme.
Cheers!
JosueDecember 13, 2015 at 4:08 pm #551702Hi Josue….
The code is in my child-theme’s function.php … I am not sure why you say it is not.
I’ve copied and pasted the code … I’ve even tried it on the parent theme and it does not work for me.
Please help.
December 13, 2015 at 4:11 pm #551704Hi!
Can you enable theme editing in the Network or hand us a FTP account?
Cheers!
JosueDecember 13, 2015 at 4:45 pm #551733I am sorry….
While getting credentials ready for you I realized that I had updated the functions.php on the old development site..
My apologies…It is working now with the code in the right place.
Thank youDecember 13, 2015 at 10:50 pm #551790No problem, glad to help :)
Regards,
JosueSeptember 1, 2017 at 10:49 am #846787Added the code top functions.php child and now every menu item open in a new window.
This is what it looks like with the added code.
—–<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );function add_custom_tooltip(){
?>
<script>
jQuery(window).load(function(){
jQuery(‘span.mega_menu_title a ‘).attr(‘target’,’_blank’);
});
</script>
<?php
}
add_action(‘wp_footer’, ‘add_custom_tooltip’);}
?>September 1, 2017 at 11:41 pm #847023PLEASE FIX WORD PRESS CORE SO WE CAN OPEN NEW TABS AND WINDOW IN CUSTOM LINK.
September 4, 2017 at 9:39 pm #847897Hi,
Thank you for your feedback and the details provided.
We appreciate it a lotBest regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.