-
AuthorPosts
-
May 8, 2014 at 4:04 pm #261843
Hi, I am just wondering on how to remove the tooltip from all hyperlinks in all pages. I did once in another theme where I commented out a href I believe. But I want to do it the right way. I am kinda new at this so I guess laymen terms would be best.
May 9, 2014 at 7:02 am #262159Hey!
Try adding this at the end of js/avia.js:
jQuery(function() { jQuery("a").removeAttr("title"); });
Best regards,
JosueMay 9, 2014 at 4:22 pm #262426Sorry still pretty new to this. How and where do you edit the jQuery functions? Is it in the dashboard or filezilla or whaterver? Thank you for your help.
May 9, 2014 at 4:27 pm #262428Hi!
You should go to Enfold/js folder via FTP and edit avia.js file that is inside. Or you can try this plugin – http://wordpress.org/plugins/solid-code-theme-editor/
Cheers!
YigitMay 13, 2014 at 3:45 pm #263983Hi, i tried looking at my ftp file zilla to edit the jquery however, when I try to view the file, an error comes up and it is undefined. However, I can go through my host gator cp through the www file and find the js file so I am not sure if I did something wrong. Can you go through my ftp and I will give you the info to do that just to make sure everything is in order plz. Thank you for your time. Brandon
May 13, 2014 at 5:08 pm #264052Hi!
Did you edit it on the hostgator cp? can you post a link to your website?
Regards,
JosueMay 16, 2014 at 4:33 pm #265862This reply has been marked as private.May 16, 2014 at 5:16 pm #265874Hi!
It seems like code Josue posted is not present in your themes Avia.js file. You should edit the file via cPanel and copy&paste the code Josue posted above to the bottom of Avia.js file
Best regards,
YigitMay 16, 2014 at 7:48 pm #265933Hey!
Try adding this at the end of the theme functions.php:
function add_custom_script(){ ?> <script> jQuery(window).load(function(){ jQuery("a").removeAttr("title"); }); </script> <?php } add_action('wp_footer', 'add_custom_script');
Cheers!
JosueMay 20, 2014 at 4:08 pm #267347Hi sorry for the late reply.
Should I still copy and paste the first code on my Cpannel or should skip that and just add the code above to my functions.php: ? Thank you for your help.May 20, 2014 at 5:49 pm #267422Just add the last code to functions.php (at the very end).
Cheers!
JosueMay 20, 2014 at 11:08 pm #267668Thank you.
May 20, 2014 at 11:09 pm #267670You are welcome, glad we could help :)
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.