-
AuthorSearch Results
-
June 22, 2015 at 1:12 pm #462716
In reply to: Link to a hotspot?
Right. So if you have this:
http://kriesi.at/themedemo/?theme=enfold-overview
Except with a larger image, can you link to one of the hotspots so that the tooltip pops up, etc. So for example, you have a lot of hotspots and perhaps a list of links on the same page, and when you click one of the links that hotspot is activated and the tooltop pops up.
Cheers,
Atticus
June 22, 2015 at 12:44 pm #462682Topic: Making inner tooltip always visible
in forum EnfoldKasade
ParticipantHello, Currently I have gallery, and when you put your mouse over the picture there is black tooltip with the name of picture, my client needs that this inner tooltip will be always displayed with each picture and not just when you hover on the picture itself, how can I do that?
June 22, 2015 at 11:05 am #462557Hey!
The code i posted removes “title” attribute from A and IMG tagged elements. Lightbox get the title from “title” attribute so that is expected.
Please also see – https://kriesi.at/support/topic/remove-tooltips-title-attributes-from-masonry-gallery/#post-462307Best regards,
YigitJune 21, 2015 at 10:36 am #462307Hi!
Note that the code above will remove all title attributes on links and images which is not good for SEO. It’s quite beneficial to keep the title of the images to add more context to the page, you can modify the image title on Media > Library panel. https://www.feedthebot.com/titleandalttags.html
If you’re wondering how to remove those tooltip, unfortunately, that is a default browser feature so we can’t modify it.
Best regards,
IsmaelJune 20, 2015 at 9:36 am #462168Hi Yigit,
Yes. Your code:
function add_custom_tooltip(){ ?> <script> jQuery(window).load(function(){ jQuery('a').removeAttr('title'); jQuery('img').removeAttr('title'); }); </script> <?php } add_action('wp_footer', 'add_custom_tooltip');in the function.php is good for not showing the yellow tooltips on hover images, but it also deletes the caption under the masonry gallery image lightbox.
Regards
June 19, 2015 at 7:38 pm #462104Sigmund
ParticipantHello,
and sorry, but can you Re-Open
https://kriesi.at/support/topic/remove-tooltips-title-attributes-from-masonry-gallery/#post-462053
because the suggested Code eliminates the caption under the lightbox images also.Thanks.
June 19, 2015 at 5:18 pm #462065Great, it works, but this code eliminates the caption under the lightbox images also. Is there a solution to only target the tooltips?
Regards
-
This reply was modified 10 years, 7 months ago by
Sigmund.
June 19, 2015 at 4:54 pm #462053Hi Sigmund!
Please add following code to Functions.php file in Appearance > Editor
function add_custom_tooltip(){ ?> <script> jQuery(window).load(function(){ jQuery('a').removeAttr('title'); jQuery('img').removeAttr('title'); }); </script> <?php } add_action('wp_footer', 'add_custom_tooltip');Best regards,
YigitJune 19, 2015 at 4:51 pm #462050Topic: Remove tooltips (title attributes) from masonry gallery
in forum EnfoldSigmund
ParticipantHi at Enfold,
I trying hard to remove the yellow boxes which appear when I am hovering over a image of my masonry gallery. I have tried Josues Tipp (link) and put the code at the end of the avia.js. Still it does not work.
Any help would be great!
Regards-
This topic was modified 10 years, 7 months ago by
Sigmund.
June 16, 2015 at 5:04 pm #460167In reply to: hotspots on mobile – numbered when should be blank
Hey!
Please add following code to Quick CSS as well
@media only screen and (max-width: 480px) { .av-hotspot-fallback-tooltip { display: none!important; }}Regards,
YigitJune 12, 2015 at 4:09 pm #458446Hey Heathcliffe!
1.) Refer to this post:
https://kriesi.at/support/topic/how-to-change-text-in-tooltip-for-social-media-icons-in-header/#post-3196702.) Yes: http://kriesi.at/documentation/enfold/adding-your-own-icon-fonts/
Cheers!
AndyJune 11, 2015 at 5:47 am #457603Hey!
Sorry for the late reply, if you reply to your own thread on this forum it will send it to the back of our support queue. Please refrain from doing that unless you think it’s very important.
What changes did you make to the tooltip?
Cheers!
RikardJune 10, 2015 at 1:41 pm #457190In reply to: Layerslider speed
Hi Elliott!
I’ve read the slider tooltips – I’ve tried everything from 50,200,250 etc. I interpreted “very small” to be <20
I’ve also tried the multiple transitions; that didn’t do the trick either!
Layerslider says they don’t offer direct support for the plugin if it’s bought through a third-party supplier. But I’ll try.
Best
Simon
June 9, 2015 at 9:02 pm #456921It has something to do from this function: display_tooltip: function(e) in avia.js at JS folder, line 1796.
I am just too noob to understand what needs to be changed in order to make it right.
June 9, 2015 at 8:41 pm #456909Topic: Tooltip in middle + not to disappear while mouse over it
in forum EnfoldKasade
ParticipantRight now in my website I made tooltip appear in center of image when you mouse over it (I speak about images in gallery ONLY).
But when you put your mouse over the tooltip itself, it loops and restarts in crazy mode, how do I fix it so when I mouse over the image the tooltip stay there even if i put my mouse on the tooltip itself?Thanks in advance.
-
This topic was modified 10 years, 7 months ago by
Kasade.
June 9, 2015 at 6:29 pm #456848In reply to: Layerslider speed
Hi Simon!
Your using 25ms for the slide transition. In the LayerSlider tooltips it says do not use very small values. I would try contacting the LayerSlider authors about this.
Or you could try just using one slide and add multiple layers to the slide and set the transitions on those instead of just using a bunch of slides with one image each.
Best regards,
ElliottJune 8, 2015 at 9:26 am #455827Hi chanleo!
Thank you for using Enfold.
Edit config-templatebuilder > avia-shortcodes > logoslider.php, look for this code:
$output .= "<div {$single_data} class='slide-entry flex_column no_margin {$post_class} {$grid} {$extraClass} {$thumb_class}'>"; $output .= !empty($link) ? "<a href='{$link}' data-rel='slide-".avia_partner_logo::$slider."' class='slide-image' title='{$linktitle}' {$blank} >{$img}</a>" : $img;Replace it with:
$output .= "<div class='slide-entry flex_column no_margin {$post_class} {$grid} {$extraClass} {$thumb_class}'>"; $output .= !empty($link) ? "<a href='{$link}' data-rel='slide-".avia_partner_logo::$slider."' class='slide-image' title='{$linktitle}' {$blank} >{$img}</a>" : $img; $output .= "<div class='custom-tooltip'>{$hover}</div>";Please create a change log of this modifications in case you update the theme.
Best regards,
IsmaelJune 6, 2015 at 6:19 am #455386Hi boscotwcheung!
Thank you for using Enfold.
Add this in the functions.php file:
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }Create a folder, name it “shortcodes”. Inside the folder create another php file called “product_snippet_custom”. Add this:
<?php /** * Custom product shortcode */ if ( !class_exists( 'avia_sc_produc_custom' ) ) { class avia_sc_produc_custom extends aviaShortcodeTemplate { /** * Create the config array for the shortcode custom */ function shortcode_insert_button() { $this->config['name'] = __('Product Custom', 'avia_framework' ); $this->config['tab'] = __('Plugin Additions', 'avia_framework' ); $this->config['icon'] = AviaBuilder::$path['imagesURL']."sc-button.png"; $this->config['order'] = 10; $this->config['target'] = 'avia-target-insert'; $this->config['shortcode'] = 'av_product_custom'; $this->config['tooltip'] = __('Display a custom info', 'avia_framework' ); $this->config['drag-level'] = 3; $this->config['tinyMCE'] = array('disable' => "true"); } /** * Editor Element - this function defines the visual appearance of an element on the AviaBuilder Canvas * Most common usage is to define some markup in the $params['innerHtml'] which is then inserted into the drag and drop container * Less often used: $params['data'] to add data attributes, $params['class'] to modify the className * * * @param array $params this array holds the default values for $content and $args. * @return $params the return array usually holds an innerHtml key that holds item specific markup. */ function editor_element($params) { $params['innerHtml'] = "<img src='".$this->config['icon']."' title='".$this->config['name']."' />"; $params['innerHtml'].= "<div class='avia-element-label'>".$this->config['name']."</div>"; $params['content'] = NULL; //remove to allow content elements return $params; } function shortcode_handler($atts, $content = "", $shortcodename = "", $meta = "") { $output = ""; $meta['el_class']; global $woocommerce, $product; if(!is_object($woocommerce) || !is_object($woocommerce->query) || empty($product)) return; // $product = wc_get_product(); $output .= "<div class='av-woo-product-info ".$meta['el_class']."'>"; ob_start(); // Disabled by Alex // $product->list_attributes(); // Custom Code by Alex to add more product info data $string_item_code = 'Item-code'; if (ICL_LANGUAGE_CODE != 'en'){ $string_item_code = '產品編號'; } if ($product->sku != ''){ echo '<div class="product_sku">'.$string_item_code.': '.$product->sku.'</div>'; } if ($product->post->post_title != ''){ echo '<div class="product_title">'.$product->post->post_title.'</div>'; } if ($product->regular_price != ''){ echo '<div class="product_price_row">'; $product_o_price = $product->regular_price; $product_s_price = $product->sale_price; $product_symbol = get_woocommerce_currency_symbol(); if ($product_symbol == '$'){ $product_symbol = 'HKD$'; } $product_symbol = 'HKD'; if ($product_s_price == ''){ // No Discount if ($product_o_price != ''){ echo '<span class="product_price">'.$product_symbol.wc_price($product_o_price).'</span>'; } } else { echo '<span class="product_price">'.$product_symbol.wc_price($product_s_price).'</span>'; echo '<span class="product_o_price"><del>'.$product_symbol.wc_price($product_o_price).'</del></span>'; echo '<span class="product_percent">'.(($product_o_price - $product_s_price) / $product_o_price) * 100 .'% off</span>'; } echo '</div>'; } // end of custom code by Alex $output .= ob_get_clean(); $output .= "</div>"; return $output; } } }You will find another element named “Product Custom” in the Plugin Additions panel.
Best regards,
IsmaelJune 5, 2015 at 5:32 pm #455184In reply to: Remove Image Title from Easy Slider
Hey jaroljmek!
Please add following code to functions.php file in Appearance > Editor
function add_custom_tooltip(){ ?> <script> jQuery(window).load(function(){ jQuery('a').removeAttr('title'); jQuery('img').removeAttr('title'); }); </script> <?php } add_action('wp_footer', 'add_custom_tooltip');Regards,
YigitJune 5, 2015 at 6:22 am #454925In reply to: Color Problems with alternate content area
Hi!
I checked the first section and the styling reflects the alternate content settings. Alternate content background color is set to #fafafb.
.alternate_color, .alternate_color .site-background, .alternate_color .first-quote, .alternate_color .related_image_wrap, .alternate_color .gravatar img .alternate_color .hr_content, .alternate_color .news-thumb, .alternate_color .post-format-icon, .alternate_color .ajax_controlls a, .alternate_color .tweet-text.avatar_no, .alternate_color .toggler, .alternate_color .toggler.activeTitle:hover, .alternate_color #js_sort_items, .alternate_color.inner-entry, .alternate_color .grid-entry-title, .alternate_color .related-format-icon, .grid-entry .alternate_color .avia-arrow, .alternate_color .avia-gallery-big, .alternate_color .avia-gallery-big, .alternate_color .avia-gallery img, .alternate_color .grid-content, .alternate_color .av-share-box ul, #top .alternate_color .av-related-style-full .related-format-icon, .alternate_color .related_posts.av-related-style-full a:hover, .alternate_color.avia-fullwidth-portfolio .pagination .current, .alternate_color.avia-fullwidth-portfolio .pagination a, .alternate_color .av-hotspot-fallback-tooltip-inner, .alternate_color .av-hotspot-fallback-tooltip-count { background-color: #fafafb; color: #666666; }Try to change the color settings to something bright like yellow, violet etc. to see which elements are affected by the current settings.
Best regards,
IsmaelJune 4, 2015 at 11:55 pm #454809In reply to: hover over title, like to see image pop-up
Hey!
Inside a CodeBlock Element put the following:
<span data-avia-tooltip="<img src='http://www.ateliermi.nl/wp-content/uploads/2015/06/flyer-juni.png'>">Openingsexpositie – zaterdag 28 maart tot en met zaterdag 23 mei 2015</span>Cheers!
Josue-
This reply was modified 10 years, 7 months ago by
Josue.
June 3, 2015 at 8:30 am #453602In reply to: Masongy Blog Posts
Hi mocablue!
Most likely because of this line:
line-height: .9px!important;Could you try to remove it?
The “tooltip” is generated from your browser and comes from the title tag of the image, if you want to remove them, please remove the title of the image.
Regards,
RikardJune 1, 2015 at 4:29 pm #452614Hey erikatzen!
Please add following code to Functions.php file in Appearance > Editor
function add_custom_tooltip(){ ?> <script> jQuery(window).load(function(){ jQuery('a').removeAttr('title'); jQuery('img').removeAttr('title'); }); </script> <?php } add_action('wp_footer', 'add_custom_tooltip');Regards,
YigitMay 31, 2015 at 4:09 am #452113Hey!
Try adding this at the very end of your theme / child theme functions.php file:
if(!function_exists('avia_append_search_nav')) { //first append search item to main menu add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 ); add_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 10, 2 ); function avia_append_search_nav ( $items, $args ) { if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items; if(avia_get_option('header_position', 'header_top') != "header_top") return $items; if ((is_object($args) && $args->theme_location == 'avia2') || (is_string($args) && $args = "fallback_menu")) { global $avia_config; ob_start(); get_search_form(); $form = htmlspecialchars(ob_get_clean()) ; $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"> <a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a> </li>'; } return $items; } }Cheers!
JosueMay 28, 2015 at 7:25 pm #451386In reply to: Mobile Icon Tooltips not working
Any updates to this thread? I too cannot see any tooltips when viewed on an Android mobile using Firefox. Example page http://www.websiteproud.com/wptest/location/travel/
May 28, 2015 at 10:33 am #451068Hi!
Please try the following in Quick CSS under Enfold–>General Styling:
.avia-search-tooltip { left: 70px !important; }Best regards,
RikardMay 28, 2015 at 10:04 am #451050In reply to: Image with hotspots
Hi!
You can use this to hide the fallback tooltip:
@media only screen and (max-width: 767px) { .av-hotspot-fallback-tooltip { display: none !important; } }Regards,
IsmaelMay 25, 2015 at 2:59 pm #449530In reply to: Search box resize
Thanks Ismael, that worked but not quite aligned as I needed, so I tweaked your code a little.
This now works :.avia-search-tooltip.avia-tt { position: fixed !important; min-width:900px !important; top:18% !important; left:0% !important; background-color: white; z-index: 99999; margin: 0 !important; } .avia-search-tooltip.avia-tt { width: 100%; } #top #searchsubmit, .ajax_load { width: 100px; height: 100%; } #top #s { width: 100%; font-size: 50px; } #top #searchform div { max-width: 100%; }May 23, 2015 at 9:10 pm #449113In reply to: Mixed responsiveness on page
Hi Josue,
Thanks so much for your insight!
I ran a WC3 validator on my homepage and it revealed a stray end div tag just before the howfar section starts. I wonder if this is causing the wrap all div to close? You can see the result here.
I am running a child theme and the only modifications I’ve made are this one to loop-index and the code below to functions.php.
add_filter('avf_blog_style','avia_change_archive_blog_layout', 10, 2); function avia_change_archive_blog_layout($layout, $context){ if($context == 'archive') $layout = 'single-small'; return $layout; } add_filter('avf_blog_style','avia_change_tag_blog_layout', 10, 2); function avia_change_tag_blog_layout($layout, $context){ if($context == 'tag') $layout = 'single-small'; return $layout; } add_filter( 'avf_masonry_excerpt_length', 'masonry_excerpt_length'); function masonry_excerpt_length() { $excerpt = 200; return $excerpt; } // remove masonry image title function add_custom_tooltip(){ ?> <script> jQuery(window).load(function(){ jQuery('a').removeAttr('title'); jQuery('img').removeAttr('title'); }); </script> <?php } add_action('wp_footer', 'add_custom_tooltip');There are no missing brackets anywhere in the code I’ve added.
Any thoughts would be appreciated! The CSS you gave me works, but if possible it would be nice to fix the underlying problem.
Thanks again!
May 23, 2015 at 5:46 am #448888In reply to: Google Map pin details URL
Hey!
You can put HTML content inside a Marker tooltip:

Best regards,
Josue -
This reply was modified 10 years, 7 months ago by
-
AuthorSearch Results
-
Search Results
-
Hello, Currently I have gallery, and when you put your mouse over the picture there is black tooltip with the name of picture, my client needs that this inner tooltip will be always displayed with each picture and not just when you hover on the picture itself, how can I do that?
Hello,
and sorry, but can you Re-Open
https://kriesi.at/support/topic/remove-tooltips-title-attributes-from-masonry-gallery/#post-462053
because the suggested Code eliminates the caption under the lightbox images also.Thanks.
Hi at Enfold,
I trying hard to remove the yellow boxes which appear when I am hovering over a image of my masonry gallery. I have tried Josues Tipp (link) and put the code at the end of the avia.js. Still it does not work.
Any help would be great!
RegardsRight now in my website I made tooltip appear in center of image when you mouse over it (I speak about images in gallery ONLY).
But when you put your mouse over the tooltip itself, it loops and restarts in crazy mode, how do I fix it so when I mouse over the image the tooltip stay there even if i put my mouse on the tooltip itself?Thanks in advance.
