-
AuthorPosts
-
February 3, 2018 at 12:55 pm #907210
Problem only on iPhones and Ipads:
When clicking on an image in a gallery the textballoon shows, but does not disappears in the lightbox.
WP is the latets version, also the Enfold theme the most recent version.February 4, 2018 at 10:30 am #907422Hey Els,
With first tap, the tooltip pops up and the second tap opens the lightbox. Does it not like this on your end?
Best regards,
VictoriaFebruary 4, 2018 at 10:45 am #907423Hi Victoria,
On regular pc it works fine, but in apple iPad and iPhone it keeps sticking and does not disappear.Els
February 4, 2018 at 12:02 pm #907473Hi Els,
So do you want to hide them on mobile?
If yes, here is how to do it:
https://kriesi.at/support/topic/turn-off-icon-tooltip-in-mobile-view-on-smartphone-and-tablet-only/If you need further assistance please let us know.
Best regards,
VictoriaFebruary 4, 2018 at 1:10 pm #907504I don’t want it to stick on the lightbox, because it stays there even when you take > to the next image. The textballoon should not be there in the light box. I don’t have this issue on my other Enfold websites. I have several accounts, with many enfold.
February 4, 2018 at 1:13 pm #907506As I mentioned it’s only on apple devices. I do want the text info with the images in the gallery, but it should not stick and stay on the next clicks. I hope you can find a solution. Because I’m starting a new Enfold website next week and don’t want the same problems….
Thanks for you assistance.February 4, 2018 at 2:09 pm #907524On another website it also sticks when clicking on the image to the lightbox, but after clicked on the > it disappears https://elsmoes.com/paperworks/
February 5, 2018 at 6:47 am #907761Hi,
Thank you for the update.
Please try this script in the functions.php file.
add_action('wp_footer', 'ava_custom_script'); function ava_custom_script(){ ?> <script type="text/javascript"> (function($) { function a() { $('body').on('click', function() { var box, tip; box = $('.mfp-wrap'); tip = $('.avia-tooltip'); if(box.length >= 1) { tip.toggle(); } }); } a(); })(jQuery); </script> <?php }
Don’t forget to remove the browser cache before testing the page.
Best regards,
IsmaelFebruary 5, 2018 at 12:53 pm #907917Thanks for your reply.
I don’t have any experience by adding php into files. Only CSS experience.
I tried in the file you’ve mentioned but it gives an syntex error.
Also I’ve tried by the code insert with avia. But the code was visible.
May be you have a link where I can find instructions how to insert php?
I would be very grateful !February 5, 2018 at 1:42 pm #907944Hi,
Try going to WordPress > Appearance > Editor
You may get a warning, click I understand
Then if you are using a child theme you will have two choices, one is the stylesheet (style.css) the other is the Theme Functions (functions.php)
add your code at the end and click Update File.
you should get a success message
If you don’t have a child theme, which you should, you will have more files to choose from, but you will still edit Theme Functions (functions.php). Add your code to the bottom.
Hope this helps.
I also tested the code for syntax errors, but received none. Be sure to copy the code from the post and not from your email, as often quotes become curly quotes which will give you a syntax error.Best regards,
MikeFebruary 5, 2018 at 5:35 pm #908112I’ll get back on this tomorrow! Thanks for the input, I have some work to do now and hope this will fixed it.
February 5, 2018 at 7:15 pm #908150February 6, 2018 at 5:03 pm #908684Hello moderators,
Thanks for all your replies. I must say that I feel a bit embarrassed, with a bliss on my cheeks, because I have never used a child theme yet! Most CSS stuff that I used was minor and not so complicated, so always used the simple way.
So I guess here is a new challenge for me. But as I understand, doing this afterwords, might cause problems.
Best regards,
ElsFebruary 7, 2018 at 5:09 am #908892 -
AuthorPosts
- You must be logged in to reply to this topic.