Hey there, is there a solution to stop the bouncing animation of the tooltips in the Google map so that all the markers are show immediately?
Best regards,
Martijn Koster
yes on avia.js line 32 :
you can enter postion:’bottom’ and the rest will be css – but maybe a mod knows a child-theme solution without having a whole avia.js on child-theme folder.
new $.AviaTooltip({"class": 'avia-related-tooltip', data: 'avia-related-tooltip', position:'bottom', scope: ".related_posts, .av-share-box", attach:'element', delay:0});
on line 1609 maybe that is enough to replace top with bottom – sadly this is not a pluggable function ( if function exists …) then it would be ease to have a child theme solution)
Sorry – hope ismael or günter knows how to.
avia.js pos1 is for top positioning since lines: 1598 and on focus 1773ff
now it is to look if there could be a child-theme solution.
But on reading those lines – isn’t there a bottom position as option? ( Edit – no seems to be only for image with tooltip )
this is hard stuff – because it seems to be calculated values in the infinite vastness of the source code.
Maybe some of the Devs knows where to find.
li.av-share-link:hover .avia-related-tooltip {
transform: translateY(15px) !important;
top: unset !important;
margin-top: unset !important;
}
li.av-share-link:hover .avia-related-tooltip .avia-arrow-wrap {
top: 0 !important;
bottom: auto !important;
transform: scaleY(-1) !important;
}
This quick css solution is an insufficient solution of the whole, because the original container initially appears for fractions of a moment at the top position.
https://kriesi.at/themes/enfold-2017/2015/01/24/a-small-gallery/
The boxes are below “Share this entry”
do you refer to those tooltips on hovering the share button?
Yes :)
can you show me a link to a demo page of enfold ( link ) where that is shown?
do you refer to those tooltips on hovering the share button? https://kriesi.at/themes/enfold-2017/elements/social-share-buttons/
-
This reply was modified 4 years, 11 months ago by
Guenni007.
Hi,
Thanks for the update. Please try this CSS instead:
.avia-tooltip.avia-icon-tooltip.avia-tt {
left: 40px !important;
}
Best regards,
Rikard
Hey whdsolutions,
Sorry for the delay. This should be possible, but we have to directly modify the AviaTooltip function in the themes\enfold\js\avia.js, and bind a new event to the body tag so that when you click anywhere else, all tooltips will close. Please look for this code around line 1596.
if (this.options.event != 'click') {
this.scope.on('mouseleave', default_tooltips, $.proxy(this.hide_tooltip, this));
this.scope.on('click', default_tooltips, $.proxy(this.hide_on_click_tooltip, this));
} else {
this.body.on('mousedown', $.proxy(this.hide_tooltip, this));
}
Below, add this code.
this.body.on('click', $.proxy(this.hide_all_tooltips, this));
You may need to toggle or temporarily disable the Performance > File Compression settings after doing the modification.
Best regards,
Ismael
Hi,
Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 767px) {
.avia-tooltip.avia-icon-tooltip.avia-tt {
left: 40px !important;
}
}
Best regards,
Rikard
Here I am, sorry the mess.
So, reading from other discussions and suggestions, I removed the small featured image at the top with this Quick CSS:
.blog-meta .small-preview {
display: none;
}
Then I change the arrows like that
.avia-post-nav .entry-info-wrap {
width: 240px;
}
But it seems to me that this second command override the blog layout setting about share links and related entries
Look at this

When instead my setting are:
only FB, Tw, email and Waps share links
and show thumbnails by default as related entries
But I re enter the editor, all setting are auto changed themselves?!?!
(Thumbnails by tooltip and all share links on)
very strange
Hi yampieters,
Please try this code to see what it looks like:
.avia-tooltip {
background: rgb(254 250 250 / 80%);
color: #444;
}
Best regards,
Victoria
Hi yampieters,
I am not sure what can be causing this, it’s better to leave the tooltip in the original position without the css given by me.
Best regards,
Victoria
same shit different selector ;)
again custom class at “image with hotspots” element: insert-logo
try:
function insert_logo_to_tooltip_of_image_hotspot() {
?>
<script type="text/javascript">
(function($) {
$('.insert-logo .av-image-hotspot').each( function() {
var tooltipContent = $(this).data('avia-tooltip');
$(this).data('avia-tooltip', tooltipContent+' <p class="tooltip-logo"><img class="aligncenter" src="/wp-content/uploads/logo.png" alt="YourLogo" width="40" height="40" /></p>');
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'insert_logo_to_tooltip_of_image_hotspot');
you can shift that little logo by that class added via that script
.tooltip-logo {
width: 30px;
display: inline-grid;
height: 30px;
margin: -20px 0 0;
}
Edit: these are added on closed tooltips by opening via hover. I had to look what we need for always opened tooltips.
: the same but styling is better via quick css – see above.
btw. the fallback “toolttips” : it is better inserted via css f.e.
.av-hotspot-fallback-tooltip-inner p {
text-align: left !important;
padding-left: 40px;
float: left;
}
.av-hotspot-fallback-tooltip-inner p::before {
content: "";
width: 30px;
height: 30px;
top: 50%;
transform: translateY(-50%);
left: 0;
background-image: url(/wp-content/uploads/logo.png);
background-size: 30px;
position: absolute;
background-repeat: no-repeat;
margin: 0 50px 0 10px;
float: left;
}
if your logos had to be on the right side when fallback is shown set f.e: left to auto and right:0
-
This reply was modified 4 years, 12 months ago by
Guenni007.
is it an icon-grid element?
if so – give a custom class to this element f.e.: insert-logo
then insert this to your child-theme functions.php:
function insert_logo_to_tooltip() {
?>
<script>
(function($){
$('.insert-logo .avia-icongrid-text').append( '<p><img class="aligncenter" src="/wp-content/uploads/logo.png" alt="YourLogo" width="40" height="40" /></p>' );
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'insert_logo_to_tooltip');
on src put in your link to your logo.
Hi yampieters,
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
#top .avia-tooltip {
margin-top: 100px;
}
If you need further assistance please let us know.
Best regards,
Victoria
I know this case is quite old, but I finally ran the Health Check troubleshooter to see which plugin was causing this issue. I re-enabled all of our plugins one by one until finding the culprit. It’s Tooltips Pro, the premium version of this plugin: https://wordpress.org/plugins/wordpress-tooltips/
Luckily, that plugin offers a setting to disable it per page when it is not needed, so I was able to disable it and restore the accordian elements and animated numbers on the page above and our referal page https://www.premierepc.net/refer
and even better is that plugin has a setting to load it’s JS in the footer rather than the header, so all conflicts are resolved.
Just wanted to let you know we resolved it!
Hi,
Sorry for the very late reply and glad to hear you sorted this out for the buttons, can you post a link to where we can see the tooltips. Is the shortcode showing on the frontend, or is it just not working?
Best regards,
Mike
Hi,
I have an Icon Grid and would like to:
1. Use some HTML code in the Grid Item Title to specify the background txt color. The HTML syntax however is displayed.
2. Would like to remove the animation and just display the txt when you hover over the icon. Tried adding the following code to the QuickCSS setting but that doesn’t change anything.
#top .avia-icongrid-tooltip li .avia-icongrid-front {
bottom: 50% !important;
-webkit-transform: translateY(50%) !important;
-ms-transform: translateY(50%) !important;
transform: translateY(50%) !important;
}
Any advice on how I can get this working?
Thank you,
Dimitri
Hi,
I figured it out for the buttons via class option + css.
But I can not get it to work on the tooltips :-(
Kind regards, Alexander
Hi, I am trying to use the polylang shortcode** in the cookie bar buttons and tooltips, but that doesn’t work.
(**as suggestied by @guenni007 in this ticket https://kriesi.at/support/topic/polylang-in-socket/)
see staging2.brainsprint.nl
accept button text: [polylang lang=”en”]Accept[/polylang][polylang lang=”nl”]Accepteren[/polylang]
accept button tooltip: [polylang lang=”en”]Allow to use cookies[/polylang][polylang lang=”nl”]Cookies accepteren[/polylang]
decline button text: [polylang lang=”en”]Decline[/polylang][polylang lang=”nl”]Afwijzen[/polylang]
decline button tooltip: [polylang lang=”en”]Do not allow to use cookies – some functionality on our site might not work as expected.[/polylang][polylang lang=”nl”]Cookies niet accepteren – sommige functies van de website werken dan mogelijk niet zoals verwacht.[/polylang]
How can I solve this?
Kind regards, Alexander
Hi,
Thank you for the inquiry.
Hotspots open on mouse hover by default, but you could change the behaviour in the Advanced > Animation > Show Tooltips settings of the hotpost element.
Best regards,
Ismael
Hi,
if I show the content of the boxes in an icon grid as tooltips, I can have links there and they are working fine (cursor = pointer, clickable).
If I display it as flip boxes (that’s what my customer wants), the links don’t work anymore (so no pointing hand, not clickable).
Any suggestions?
Best Regards,
Jürgen
Hi,
How to set the Image With Hotspots tooltips to only open on mouse over.
Every time I try all tooltips come open.
Thank you
Hey,
I edited your Column element where you have your tooltips and gave it a unique ID “tt-sec” and added following code to bottom of Quick CSS field
#top #tt-sec.flex_column_table_cell { z-index: 2; }
Please review your website :)
Regards,
Yigit
Sorry Mike, it doesn’t work.
– 1st tooltip (cubiq): Ok
– 2nd (taille du site): ok
– 3rd (budget): Not Ok yet.
It still goes underneath next section as you can check here.
But… remember as I said in an other thread, I moved to daughter pages. I don’t have portfolio items any more.
My portfolio items became pages and maybe it’s not without effect with the code you gave me. (?)
Following yours tips, here’s the code I have now in my quick css:
#top #main .sidebar {
z-index: 0 !important;
}
#top.page-id-1066 #main > div > div > main > div > div > div:nth-child(4) > div.avia-builder-el-8 > div:nth-child(7) > table > tbody > tr > td {
text-align: left !important;
}
#top.page-id-1066 #main > div > div > main > div > div > div:nth-child(5) {
z-index: 0 !important;
position: relative !important;
}
We’re getting close Mike but it’s not quite perfect yet
In my quick css, I have added this code:
#top #main .sidebar {
z-index: 0 !important;
}
It works fine only for the first tooltip (Cubiq)
and that one:
#top.postid-2634 #main > div > div > main > div > div > div:nth-child(5) {
z-index: 0 !important;
position: relative;
}
which works fine for the budget tooltip.
But unfortuantely, that 2nd code works only the first portfolio item called Club Aladin.
If you navigate to other portfolio items, you will see that the 3rd tooltip (budget) doesn’t work.
Is it possible to extend your code to all portfolios?
Hi,
Thank you for the feedback, to align the “budget” left and to adjust the z-index of the section below so the “budget” tooltip is on top, please try this css:
#top.postid-2634 #main > div > div > main > div > div > div:nth-child(4) > div.avia-builder-el-8 > div:nth-child(7) > table > tbody > tr > td {
text-align: left !important;
}
#top.postid-2634 #main > div > div > main > div > div > div:nth-child(5) {
z-index: 0 !important;
position: relative;
}
After applying the css, please clear your browser cache and check.
Best regards,
Mike
Hi Mike,
Thx for the tip.
I’ve added your code, I’ve cleared the cache as well, but
unfortunately that doesn’t work for the 3rd tooltip of the page (the ‘budget’ one)
I use Enfold on my wordpress site. Link provided in private content.
My web site is not loading. In the console I see this error.
Uncaught TypeError: t.AviaTooltip is not a constructor
at HTMLDocument.<anonymous> (avia-footer-scripts-59e1ddf02c458f646de6aa5c1d673241—5fac4475aa72c-95c3a5fb5a0eef90bc1614a3ef1d66c2.js:1)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.add [as done] (jquery.js?ver=1.12.4-wp:2)
at n.fn.init.n.fn.ready (jquery.js?ver=1.12.4-wp:2)
at avia-footer-scripts-59e1ddf02c458f646de6aa5c1d673241—5fac4475aa72c-95c3a5fb5a0eef90bc1614a3ef1d66c2.js:1
at avia-footer-scripts-59e1ddf02c458f646de6aa5c1d673241—5fac4475aa72c-95c3a5fb5a0eef90bc1614a3ef1d66c2.js:1
Please advise?
2 of the customized tooltip layouts in links Yigit helped me to settup in a previous post (/customising-the-title-attribute-of-a-text-link) are going underneath other sections as you can check in that page.
I’ve tried numerous values in the z-index parameter but nothing changed.
Any hint will be appreciated… ;)