-
AuthorPosts
-
May 1, 2020 at 2:58 pm #1208843
Hello,
I use post slider on my homepage. When the mouse is hovered on the images or the title, the title appears once again next to the cursor as a “tooltip”. I would like to hide this text. Can you give me a code and a short guidance, please?
Thank you in advance!
May 1, 2020 at 8:23 pm #1208929Hey Robert,
This is possible via JS/CSS can you provide a link to the site/page in question so we can look into this issue further?
Best regards,
Jordan ShannonMay 2, 2020 at 5:39 am #1209043Dear Jordan!
The link is: https://magyarnyelvsuli.com
The post slider is at the bottom of the homepage.
Thank you.
RobertMay 3, 2020 at 2:11 am #1209200Hi,
Try adding this code to the end of your functions.php file in Appearance > Editor:function custom_script(){ ?> <script> (function($){ $("*").hover(function(){ $(this).removeAttr("title"); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');Then clear your browser cache and check.
Best regards,
MikeMay 3, 2020 at 6:13 am #1209233Hello,
When I add the code to the functions.php the following message comes up:
Your PHP code changes were rolled back due to an error on line 790 of file wp-content/themes/enfold/functions.php. Please fix and try saving again.
syntax error, unexpected ‘?’I can give you further access if needed.
Robert
May 3, 2020 at 12:51 pm #1209266Hi,
Please include an admin login in the Private Content area so we can take a look.Best regards,
MikeMay 3, 2020 at 2:07 pm #1209278Dear Mike,
I’m sending the login details
Thank you for your help!Robert
May 3, 2020 at 3:29 pm #1209293May 3, 2020 at 3:36 pm #1209297Yes, now it’s perfect.
Thanks Mike, :)
Regards
RobertMay 3, 2020 at 3:46 pm #1209300Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Hiding title on mouse hover in Post Slider’ is closed to new replies.

