Great then.
I got confused too……….
Don’t know which solution is for me
so now can any one tell me how to solve my problem?
to make it clear, I would like to start over again:
my problem is https://drive.google.com/file/d/0B6L9QZ3Td5Yjc3NRQmdlcXhDY0U/view?usp=sharing
the code as below:
CSS:
@media only screen and (max-width: 767px) {
#menu-item-shop .cart_dropdown_link {
padding: 0 10px;
}
#menu-item-shop #menu-item-search {
padding: 0 20px;
}
#menu-item-shop #menu-item-search .avia-search-tooltip.avia-tt {
left: -16px !important;
}
#menu-item-shop {
min-width: 110px;
}
}
and functions.php
add_action(‘wp_footer’, ‘ava_new_custom_script’);
function ava_new_custom_script(){
?>
<script type=”text/javascript”>
(function($) {
function a() {
if ($.avia_utilities.isMobile) {
$(‘#menu-item-search’).appendTo($(‘#menu-item-shop’));
}
}
$(window).load(function() {
a();
});
})(jQuery);
</script>
<?php
}
Hi,
Sorry I can’t find any other solution for hiding the map tooltip.
Best regards,
Mike
Hi Marc,
To change the event that the captions show to, you need to edit the avia.js file find there this line $.AviaTooltip = function(options) and in defaults change event from mouseenter to click.
This will affect the whole website and the changes will be lost unless you move avia.js to a child theme.
If you need further assistance please let us know.
Best regards,
Victoria
That still doesn’t explain why the widget was removed. Pls care to explain.
For an user without technical skills the debugging method is too complicated. You can place shortcode in a text widget, but the tooltips don’t show correctly because they are being cut off by the containing element. The result isn’t very satisfying.
The shortcode generator only shows a limited range of options different from your screenshot with no obvious option for sharing. So this won’t help very much either.
I don’t get why a formerly easy way to set this up as a widget has been removed?
Best, Thorsten
Almost there! Great Thanks John, the tooltip has disappeared. The vertical space allocated to that tooltip is still huge. Can I shrink that down please?
Hi Andy and Basilis,
I don’t understand the response to…
href=”?s=” data-avia-search-tooltip
it’s not a theme related question – Andy
Enfold is causing soft 404 errors. How is it not a theme related question? My non-Enfold WP websites don’t produce this error so how is this a general WP Support issue?
get their search results to google – Basilis
This makes no sense. As CompleteWebResources said, these error pages are not indexed. How does this help?
You either need to explain how this Enfold feature is beneficial in Google Webmaster / Search / Duplicate Content or explain how to eliminate this error.
Hi,
Just add this custom CSS code:
.avia-related-tooltip {
display: none !important;
opacity: 0 !important;
}
Best regards,
John Torvik
Hi,
Do you mean show the coordinates in the tooltip?
Best regards,
Mike
Never mind – I discovered what was happening. I have a clipping of the standard format I was using for all my addresses (about 09 in total)…
<strong>Company Name</strong>
Address
Email: <a href='mailto:XXX?subject=website%20inquiry'>XXX</a>
Website: <a href=‘http://XXX' target=‘_blank’>XXX</a>
…and the quotations were coming over from the copy/paste as high ascii and I needed to overwrite the quotes for each separate address.
It would be nice if the tooltip entry box were plain text, perhaps in a future version? I tried to post to the feature request post, but see that it is closed.
I’ve found (after adding URLs to the tooltip area in over 80 entries, that double quotes DO NOT WORK. ON a hunch I tried single quotes and it works, so I’m going back through all the entries (at least an hour’s work) to switch them all to single quotes. My two questions are…
1. Why?
2. Will I be screwed in an upcoming update (fingers crossed this happens soon) and have to switch them ALL back to double quotes?
This works…
<strong>Company Name</strong>
Address
City, State Zip
Phone: <a href="tel:555-555-5555">(555) 555-5555</a>
Website: <a href='http://apple.com/' target='_blank'>Apple Computer</a>
This DOES NOT work…
<strong>Company Name</strong>
Address
City, State Zip
Phone: <a href="tel:555-555-5555">(555) 555-5555</a>
Website: <a href="http://apple.com/" target="_blank">Apple Computer</a>
(note the double quotes in the website URL).
Having the first line of the address serve as the tooltip for the Google Map markers is awkward. It would be great if the first field were ‘Name’ (as in business name), so that when a user hovered over a map marker that would show (instead of the first line of the address).
Short of being able to show the business name, I tried to hide the marker tooltip by using code I found in another post…
function add_custom_tooltip(){
?>
<script>
jQuery(window).load(function(){
jQuery('.gmnoprint').removeAttr('title');
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_tooltip');
?>
… but this had no effect (see link in private content).
How can I remove the tooltip so it no longer shows (short of being able to show the first line of the contents of the info bubble)?
No, the above code is not working as well
so I use the old CSS again from Vivtoria (amend a littlle bit to keep more space for this 2 icon)
CSS:
@media only screen and (max-width: 767px) {
#menu-item-shop .cart_dropdown_link {
padding: 0 10px;
}
#menu-item-shop #menu-item-search {
padding: 0 20px;
}
#menu-item-shop #menu-item-search .avia-search-tooltip.avia-tt {
left: -16px !important;
}
#menu-item-shop {
min-width: 110px;
}
}
and functions.php
add_action(‘wp_footer’, ‘ava_new_custom_script’);
function ava_new_custom_script(){
?>
<script type=”text/javascript”>
(function($) {
function a() {
if ($.avia_utilities.isMobile) {
$(‘#menu-item-search’).appendTo($(‘#menu-item-shop’));
}
}
$(window).load(function() {
a();
});
})(jQuery);
</script>
<?php
}
I believe THERE IS SOMETHING WRONG WITH THE CSS, which make the search icon being in the container of cart icon
Hey Mike,
I think what you’re talking about is the tooltip for the title of the image. It’s best to include a title that describes the image. However, if you really want to remove it, you can either keep the title field blank for your images, OR remove the attribute entirely by following the instructions here: https://kriesi.at/support/topic/how-to-remove-tooltips/#post-224464
Best regards,
Sarah
Hi InternationalPartneringInstitute,
I found a better spot for search.
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
@media only screen and (max-width: 767px) {
.responsive #top .logo {
width: 60%;
}
#top-line .container {
max-width: 80%;
}
.avia-search-tooltip.avia-tt {
background-color: #fff;
}
}
and this code has to go to your functions.php
function av_move_search_mobile(){
?>
<script>
jQuery(window).load(function(){
jQuery("li#menu-item-search a").detach().css({"height": "auto", "line-height": "initial"}).appendTo('#top-line .container');
});
</script>
<?php
}
add_action('wp_footer', 'av_move_search_mobile');
If you need further assistance please let us know.
Best regards,
Victoria
Hi,
Since it’s from jquery ui, I don’t think it’s necessary to add an extra js file, try to replace this part of the code Yigit gave:
wp_enqueue_script( 'tooltip-js', get_template_directory_uri() . '/js/tooltip.js', array(), '1.0.0', true );
to
wp_enqueue_script( 'jquery-ui-tooltip' );
Hope this helps.
Best regards,
Nikko
Where do we get the tooltip.js file from?
Hi!
Please add following code to Functions.php file of your child theme
function add_tooltip_js() {
wp_enqueue_script( 'tooltip-js', get_template_directory_uri() . '/js/tooltip.js', array(), '1.0.0', true );
}
add_action( 'wp_enqueue_scripts', 'add_tooltip_js' );
then place tooltip.js file inside /js folder on your child theme. You do not need to copy header.php file to your child theme to enqueue that script :)
Best regards,
Yigit
We are just adding this tooltop https://jqueryui.com/tooltip/. So added some code to the the child header.php.
We would like to add a tooltip to some of the timetable copy.
Is that ok? or can you suggest an alternative way of doing this?
Thanks
Hello Shannon,
we found a solution for the problem.
it was caused by a certain style applied in the tooltip, which did make it appear all the time.
We do not know if this is the correct solution for this issue but it works.
The thread can be closed in the meantime.
Thanks for your support.
Hi,
use this for mobile:
@media only screen and (max-width: 767px) {
.avia-tooltip.avia-icon-tooltip.avia-tt {
left: 15px !important;
}}
and adjust as needed.
Best regards,
Andy
Hi Andy
the only thing you have to do is to let me know what file(s) is / are responsible for the output (see number 2 in my last post)
Alternative: Show me a gallery-version that let us use reasonable descriptions
Styled tooltips are nice but if its not possible to give a user useful informations its just a gimmick and not a useful thing.
Regards Martin
Enfold theme (Current as of 4-14-17), with WooCommerce (Current as of 4-14-17).
Search Icon issue in mobile version.
I have to double tap the search icon graphic to get the search field to pop up. The first tap pops up the Shopping Cart info, as empty or a given # of items in the cart. The second tap gives me the search field on top of the cart info. Tapping the cart works as it should.
Here is what I have done.
Any suggestions?
THE CODE USED:
In “Enfold”, functions.php:
add_action(‘wp_footer’, ‘ava_new_custom_script’);
function ava_new_custom_script(){
?>
<script type=”text/javascript”>
(function($) {
function a() {
if ($.avia_utilities.isMobile) {
$(‘#menu-item-search’).appendTo($(‘#menu-item-shop’));
}
}
$(window).load(function() {
a();
});
})(jQuery);
</script>
<?php
}
In “Enfold Child” quick CSS:
@media only screen and (max-width: 767px) {
#menu-item-shop .cart_dropdown_link {
padding: 0 24px;
}
#menu-item-shop #menu-item-search {
width: 0px;
}
#menu-item-shop #menu-item-search .avia-search-tooltip.avia-tt {
left: -16px !important;
}
#menu-item-shop {
min-width: 110px;
}
Thanks for your reply Victoria but the code doesn’t show the tooltip when when the icon is tapped on a tablet or phone.
Can this be achieved?
Thanks again,
Ed
Hi Ed,
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
@media only screen and (max-width: 767px) {
.avia-tooltip.avia-icon-tooltip.avia-tt {
left: 25px !important;
}
.av-icon-char {
animation: av_pulsate 3s linear infinite;
}
}
Did you mean something like that?
If you need further assistance please let us know.
Best regards,
Victoria
Hi Anni,
for the social share buttons in the footer just add this code in a text wigdet for the footer and add a headline above:
<div class="av-social-sharing-box avia-builder-el-39 avia-builder-el-no-sibling">
<div class="av-share-box">
<ul class="av-share-box-list noLightbox">
<li class="av-share-link av-social-link-facebook">
<a data-avia-related-tooltip="Share on Facebook" title="" data-av_iconfont="entypo-fontello" data-av_icon="" aria-hidden="true" href="http://www.facebook.com/sharer.php?u=http://mittelalter-in-coburg.de/content/&t=Home" target="_blank">
<span class="avia_hidden_link_text">Share on Facebook</span>
</a>
</li>
<li class="av-share-link av-social-link-twitter">
<a data-avia-related-tooltip="Share on Twitter" title="" data-av_iconfont="entypo-fontello" data-av_icon="" aria-hidden="true" href="https://twitter.com/share?text=Home&url=http://mittelalter-in-coburg.de/content/" target="_blank">
<span class="avia_hidden_link_text">Share on Twitter</span>
</a>
</li>
<li class="av-share-link av-social-link-gplus">
<a data-avia-related-tooltip="Share on Google+" title="" data-av_iconfont="entypo-fontello" data-av_icon="" aria-hidden="true" href="https://plus.google.com/share?url=http://mittelalter-in-coburg.de/content/" target="_blank">
<span class="avia_hidden_link_text">Share on Google+</span>
</a>
</li>
<li class="av-share-link av-social-link-pinterest">
<a data-avia-related-tooltip="Share on Pinterest" title="" data-av_iconfont="entypo-fontello" data-av_icon="" aria-hidden="true" href="http://pinterest.com/pin/create/button/?url=http%3A%2F%2Fmittelalter-in-coburg.de%2Fcontent%2F&description=Home&media=http%3A%2F%2Fmittelalter-in-coburg.de%2Fcontent%2Fwp-content%2Fuploads%2F2017%2F04%2Fstartseite-bg-neu-705x406.jpg" target="_blank">
<span class="avia_hidden_link_text">Share on Pinterest</span>
</a>
</li>
</ul>
</div>
</div>
Dear support team,
i have placed the Social share buttons in the footer. Now the tooltips for the left and right buttons (share on facebook, share on pinterest) are cut off.
Please see: http://mittelalter-in-coburg.de/content/ at the down right in the footer.
Is there a way to fix this?
Thanks John,
You can find an example here:
The icon is placed at the bottom right of the grey panel. To be clear, I’d like the tooltip to be displayed on mobile and tablets.
Many thanks,
Ed
Hi guys,
I’d like the ‘icon’ element’s tooltip to be shown on tablet and mobile devices in the same way that the ‘image with hotspots’ element displays tooltips. Can you please help?
Thanks,
Ed.
Hey!
Sorry for the late reply!
Please add Code Block element to your portfolio post and insert following inside it
<style>
.avia-tooltip.avia-tt {
display: none!important;
}
</style>
Best regards,
Yigit
-
This reply was modified 8 years, 10 months ago by
Yigit.
Hi Neverlands,
I see now :) Well, you could show a phone icon next to the name and show a tooltip on hover(tap on mobile) as an alternative solution. Or we could try to adjust css to show like this.
What are your thoughts?
Best regards,
Victoria