Hey Victoria,
thank you for your support but this solution isnt enough for me because this is not responsive anymore. I will search a solution myself. Can you just say to me in which file I can find this line of code? This would help me:
<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown menu-item-avia-special">
<a href="?s=" rel="nofollow" data-avia-search-tooltip="
<form action="https://stage-200619.bathely.de/" id="searchform" method="get" class="">
<div>
<input type="submit" value="" id="searchsubmit" class="button avia-font-entypo-fontello" />
<input type="text" id="s" name="s" value="" placeholder='Suche' />
</div>
</form>" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"><span class="avia_hidden_link_text">Suche</span></a>
</li>
Thank you!
Sandro
Hey misteradamello,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
.related_entries_container .avia-related-tooltip.avia-tt {
display: block !important;
opacity: 1 !important;
}
If you need further assistance please let us know.
Best regards,
Victoria
Well i do not see any tooltip on firefox. The first image has one title tag. so on hovering it there is no tooltip.
Chrome did it too – only safari after a few seconds – allthough the title tag is empty – it shows a tooltip – do not know why.
Actually, I’m noticing the tooltip still shows up if you hover over the caption — not the end of the world, but let me know if you can think of a fix for that.
I had already removed the gallery-title fix. I’ve now also now set the Javascript file merging and compression to Disabled, checked the box to Delete old CSS and JS files, cleared the Managed WordPress cache and browser cache several times — no luck; the tooltip still shows on the first image on http://l2f.0b8.myftpupload.com/f-r-a-g-m-e-n-t-s-chaos-mixed-media/ . This is the correct function, right — just this?
function remove_standard_tooltip(){
?>
<script>
(function($) {
$(window).load(function(){
$('a.lightbox-added .av-masonry-image-container').hover(
function() {
$(this).attr("orig_title", $(this).attr('title'));
$(this).attr('title', '');
}, function() {
$(this).attr('title', $(this).attr("orig_title"));
}
);
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'remove_standard_tooltip');
remove the gallery-title fix
and refresh all cache – and refresh the merged files on Enfold / Performance : Delete old CSS and JS files?
and this is for masonry with flexible image sizes. As said on top
function remove_standard_tooltip(){
?>
<script>
(function($) {
$(window).load(function(){
$('a.lightbox-added .av-masonry-image-container img').hover(
function() {
$(this).attr("org_title", $(this).attr('title'));
$(this).attr('title', '');
}, function() {
$(this).attr('title', $(this).attr("org_title"));
});
$('a.lightbox-added .av-masonry-image-container img').click(
function() {
$(this).attr('title', $(this).attr("org_title"));
});
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'remove_standard_tooltip');
see here: https://webers-testseite.de/masonrygallerie/
please see that there is on your case the img in that code
$('a.lightbox-added .av-masonry-image-container img').hover(
Actually, sorry to confuse you, but for me, using the title fields would be ok — there’s an advantage there for me in that I can use some html in the title fields (html gets stripped out of the alt fields), so I can italicize the title of the artwork in these galleries. SO, if I can just hide the tooltips, that’s all I really need. So I updated to 4.5.7, but the remove tooltip function still doesn’t seem to be working — I’m using the title field on the first image here http://l2f.0b8.myftpupload.com/f-r-a-g-m-e-n-t-s-chaos-mixed-media/ and the tooltip is showing.
the gallery title fix is ok for Enfold 4.5.6 and then try this for tooltip remove:`
function remove_standard_tooltip(){
?>
<script>
(function($) {
$(window).load(function(){
$('a.lightbox-added .av-masonry-image-container img').hover(
function() {
$(this).attr("org_title", $(this).attr('title'));
$(this).attr('title', '');
}, function() {
$(this).attr('title', $(this).attr("org_title"));
});
$('a.lightbox-added .av-masonry-image-container img').click(
function() {
$(this).attr('title', $(this).attr("org_title"));
});
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'remove_standard_tooltip');
Thanks, Guenni007 — I have some code that seems to be basically taking what I have in the alt tags and duplicating that to the title tags (as long as the title tags are empty — that’s the first function, below — I thought I got that from you, no? So that lets me leave the title fields blank and still shows captions in the lightbox (eg http://l2f.0b8.myftpupload.com/f-r-a-g-m-e-n-t-s-chaos-mixed-media/). But, since it also basically creates title tags, the tooltips still show ;) . And unfortunately, your additional code from above doesn’t seem to hide the tooltips. So, here’s what I have — again, the first function lets me leave the title field blank and still shows captions in the lightbox, but the second function doesn’t seem to hide the tooltips. Seems to me, if we could somehow get the lightbox to actually pull the captions from the alt tag — as opposed to just duplicating the alt tag to the title field/tag — then just leaving the title fields blank would prevent the tooltips from showing. Anyway, let me know if you figure anything out — and thanks!
function gallery_title_fix(){
?>
<script>
(function($){
$(window).load(function() {
$('.lightbox-added img').each(function(){
var lin = $(this).attr('alt');
$(this).attr('title',lin);
});
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'gallery_title_fix');
function remove_standard_tooltip(){
?>
<script>
(function($) {
$(window).load(function(){
$('a.lightbox-added .av-masonry-image-container').hover(
function() {
$(this).attr("orig_title", $(this).attr('title'));
$(this).attr('title', '');
}, function() {
$(this).attr('title', $(this).attr("orig_title"));
}
);
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'remove_standard_tooltip');
on the reason i mentioned above ( change from img to background-image ) the gallery fix will not work anymore to have alt attribute instead of title shown under the lightbox images.
Please find an alternative way to have that !!!
to solve the problem with the tooltip ( only for the new masonry Enfold 4.5.7 ! ) you can have an empty title attribute on hover:
this to child-theme functions.php
function remove_standard_tooltip(){
?>
<script>
(function($) {
$(window).load(function(){
$('a.lightbox-added .av-masonry-image-container').hover(
function() {
$(this).attr("orig_title", $(this).attr('title'));
$(this).attr('title', '');
}, function() {
$(this).attr('title', $(this).attr("orig_title"));
}
);
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'remove_standard_tooltip');
do you have a link for me to the gallery?
it seems that the standard html tooltip has its source on the av-masonry-image-container title tag
So it may work to have on hover an empty title tag there but on click again the original title tag.
Try this in your child-theme functions.php :
just a moment – i had to proof the code first
-
This reply was modified 6 years, 7 months ago by
Guenni007.
Yes, but it seems to still be pulling from the title tag — the script seems to just duplicate the alt tag to the title field, and the captions still pull from the title — I was asking if you had a snippet that would actually pull from the alt tag, so I could maybe get rid of the titles and thereby avoid having the tooltips pop up over the thumbnails.
Thanks, Victoria. Actually, Guenni007’s script seems to duplicate the alt tag to the title tag, if the title tag’s left blank. But that causes the tool tips to show when hovering over thumbnails in the masonry gallery. What I really need is to somehow have the lightbox actually pull the captions from the alt tags, so I can leave the title fields blank and thus prevent the tooltips from showing. Do happen to have a function or filter that tells the lightbox captions to pull from the alt tags instead of title tags?
Thanks again!! Here’s an example of the galleries I’m working on http://l2f.0b8.myftpupload.com/natural-and-organic-oil-paintings/
Is there a way to have the lightbox captions pull from the alt tag instead of the title tag? That way we could prevent the tooltips from showing by just leaving the title fields blank, right? Thanks!
Hey,
have this JS conflicts using the “Modern Event Calendar” with a Child Theme:
Uncaught ReferenceError: jQuery is not defined
at frontend.js?ver=5.2.1:126
(anonymous) @ frontend.js?ver=5.2.1:126
tooltip.js?ver=5.2.1:1 Uncaught ReferenceError: jQuery is not defined
at tooltip.js?ver=5.2.1:1
at tooltip.js?ver=5.2.1:1
(anonymous) @ tooltip.js?ver=5.2.1:1
(anonymous) @ tooltip.js?ver=5.2.1:1
events.js?ver=5.2.1:1 Uncaught ReferenceError: jQuery is not defined
at events.js?ver=5.2.1:1
(anonymous) @ events.js?ver=5.2.1:1
lity.min.js?ver=5.2.1:4 Uncaught TypeError: b is not a function
at lity.min.js?ver=5.2.1:4
at lity.min.js?ver=5.2.1:4
at lity.min.js?ver=5.2.1:4
(anonymous) @ lity.min.js?ver=5.2.1:4
(anonymous) @ lity.min.js?ver=5.2.1:4
(anonymous) @ lity.min.js?ver=5.2.1:4
colorbrightness.min.js?ver=5.2.1:11 Uncaught ReferenceError: jQuery is not defined
at colorbrightness.min.js?ver=5.2.1:11
(anonymous) @ colorbrightness.min.js?ver=5.2.1:11
owl.carousel.min.js?ver=5.2.1:1718 Uncaught TypeError: Cannot read property 'fn' of undefined
at owl.carousel.min.js?ver=5.2.1:1718
at owl.carousel.min.js?ver=5.2.1:1755
If I turnoff the Child Theme I have no conflict at all. So I tried to find the failure in the Child without succcess. I delete everything in the Child expecting the style.css – but still the same conflicts. Ca you help me in this case? I can not give any credentials, because it´s still on my local machine.
Hey Dogmut,
You can select to always show the tooltip in the theme options, I’m not sure if adding a button would work though.
Best regards,
Rikard
Is it possible for the image hotspot tool to remain open on click and then allow a clickable button within the tooltip.
Thanks
-
This topic was modified 6 years, 7 months ago by
Dogmut.
Hi Victoria
Thank you for the reply. The issue could be solved with an easy patch with a previous version. See my old thread related to this under
https://kriesi.at/support/topic/anzeige-tooltip-bei-mouseover-in-masonry-galleries/
Do you think there could be a solution as easy as this with the current versions of Enfold and WP?
Thanks for your help
Samuel
Hey sweetloove,
While many elements have “tooltips” already, I assume that you are looking for a more customized solution which can easily be added with css, please see this tutorial. There are also javascript solutions but this can be much trickier to embed, depending on your experience.
Please let us know if this helps.
Best regards,
Mike
Hi there!
I want to have tooltips on my site.
How can I get them?
All plugins don’t work in Enfold.
Sorry for my English. I’m from Russia
Hi Rob,
It’s added in the Show Tooltips dropdown option.
Best regards,
Rikard
Dear community and support
I have extensive Masonry Galleries on our Website and would like to use my comments when displaying the gallery both in the overview as well as in the Lightbox.
For this, I have manually added comments, directly underneath the pictures in the Masonry editor. These comments are additional to the file title as per upload into the media center (which seem to be used as standard for this purpose).
Current behavior (Desktop) is:
– On MOUSE STILL: “Tooltip” showing the file name as per media center upload (imported as “Title” into the Masonry Gallery)
– On MOUSE OVER: Comment (as defined underneath the picture when editing the Masonry Gallery) appearing underneath the picture
Current behavior (Mobile, Portrait) is:
– On OPENING the Gallery: Comment appearing underneath picture (and sometimes hiding most of the picture unfortunately)
Intended behavior (Desktop) would be:
– On MOUSE STILL: “Tooltip” showing the COMMENT (as defined when editing the Masonry Gallery) instead of the title
– On MOUSE OVER: Nothing (I know, I can just de-activate the comments/title in the Masonry Options)
– On OPENING THE LIGHTBOX: Showing the COMMENT instead of the title
Questions:
1) How do I make sure my manually added comments (subtitles) are visible as “Tooltip” when hovering over the picture? I used to add some code in the functions.php file to fix this but it doesn’t work any more with the current Enfold version
2) How can I make sure the COMMENT appears when opening the Lightbox of a picture (instead of the ‘title’)
3) (How) is it possible to turn off masonry gallery comments (subtitles) in the mobile view? My comments (subtitles) relate to artworks and are quite extensive. Hence, they hide almost every picture in the mobile view (e.g. mobile portrait view) if they are activated.
Thanks for your help
Samuel
Hey Rob,
It shows the tooltip for the hotspot on hover, and closes it if you click with the mouse.
Best regards,
Rikard
Hi, I have a tooltip on this page:
Hi,
Thanks for the update.
The opacity is not adjusting properly on click but I’m not sure why. You can add this css code to fix that issue temporarily.
.avia-search-tooltip.avia-tt {
opacity: 1 !important;
}
Are there any other issue that you notice aside from this?
Best regards,
Ismael
Using Jquery Updater has worked for us with one exception that I am hoping I can get help with…
We have the Search icon at the end of our main menu. The design, when working, is that clicking the Search Icon displays the Search form and search text input field for use. With Jquery Updater the Search form and search text field do not display on click of the Search icon.
When working, the implementation goes like this: The style of the DIV that holds the search form and field by default set to display: none; opacity: 0; when you click the Search icon that DIV style is changed to display: block; opacity: 1;
The DIV involved here is:
<div class="avia-search-tooltip avia-tt" style="top: 28.7344px; left: 738.109px; display: none; opacity: 0;">
On click of the Search Icon gets changed to:
<div class="avia-search-tooltip avia-tt" style="top: 28.7344px; left: 738.109px; display: block; opacity: 1;">
Jquery updater breaks this.
Is there a way to fix this in functions.php? Or some other way?
-
This reply was modified 6 years, 8 months ago by
galpinr.
I’ve been trying to figure out what is going on with this theme and why certain content isn’t loading for over a week now. This issue is hard to explain but I believe I’ve narrowed it down to an issue with using Google ReCaptcha.
SETUP:
Using the latest enfold theme
Using the Latest WordPress Version
I’ve updated and tested all plugins separately
What I’m finding – The Issue:
When I put Google’s Site Key & Secret Key in the Theme Options and save parts of the site fail to load as expected. Sometimes after clearing the cache the files will load, but most times they will not. It seems to me that it only affects text that is in an animated container.
If I then go back and remove these Keys the site returns to normal.
Other Notes About The Issue:
In the production version of the website I have a SUCURI Firewall and Caching in place. I’ve tested with the caching turned off. I also have adjusted my local hosts file to ensure I’m bypassing SUCURI.
Console Files that keep showing Errors
Uncaught TypeError: t.avia_utilities.supports is not a function
at n (avia-head-scripts-9d16114390ac2d82fe8ad5b731879e02.js:8)
at Object.t.avia_utilities.avia_ajax_call (avia-head-scripts-9d16114390ac2d82fe8ad5b731879e02.js:3)
at HTMLDocument.<anonymous> (avia-head-scripts-9d16114390ac2d82fe8ad5b731879e02.js:2)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at Function.ready (jquery.js?ver=1.12.4:2)
at HTMLDocument.K (jquery.js?ver=1.12.4:2)
avia-footer-scripts-f7e5d5394f3e5f09ad97f9f358f39f09.js:2 Uncaught TypeError: i.AviaTooltip is not a constructor
at HTMLDocument.<anonymous> (avia-footer-scripts-f7e5d5394f3e5f09ad97f9f358f39f09.js:2)
at c (jquery.min.js:4)
at Object.fireWith [as resolveWith] (jquery.min.js:4)
at Function.ready (jquery.min.js:4)
at HTMLDocument.q (jquery.min.js:4)
Outside of creating the Google ReCaptcha key’s and putting them into theme options is there something I’m missing?
Could someone please look into this issue on my dev server? The links to both the live site and dev server are in the Private Field as well as login credentials to the dev site.
Thanks so much in advance!
-
This topic was modified 6 years, 8 months ago by
estleman.
Sorry for the late reply..
In the large image are two “dots” and in the other example “arrows”.
If you hover over these elements the tooltips will show up.
Greetings
Henning
how to show the existing arrow ?
Edit: found it – i set the tooltip including the arrow to width auto :lol
the arrow needs an absolute given width.
Hi Henning,
I am not seeing any tooltips on those pages.
Could you please attach some screenshots of the issue?
Best regards,
Victoria