-
Search Results
-
Topic: Tooltip don't show on mobile
Firstly Thanks for your great theme.
We met a issue that the tooltip content doesn’t show on mobile or tablet device.
we use the following code to make a tooltip conent for a text.
<a data-avia-tooltip="content"> text </a>
it works well on desktop, so how to fix this issue?I followed this thread (and others) on how to close one Marker Tooltip when opening another…
https://kriesi.at/support/topic/google-maps-tool-tips-query/… I edited the child theme to enqueue the revised shortcode.js in functions.php and copied/edited the shortcode.js per the above link. I also made sure permissions were the same in the initial dir/file structure from the default shortcode.js and the one in the child theme.
But still when I click on a marker and then click on another, both remain open. Could you look (Appearance > Editor) at the codes to see why this still isn’t working?
Thank you!
Hi there,
On mobile view, the ‘toggle fullscreen view’ is empty (just a rectangular color box) and it covers the ‘Marker Tooltip’ box and a LOT of the map (whether viewing portrait or landscape view).
Is there a way to remove the ‘toggle fullscreen view’ box entirely?
Page in question where this is occurring: birdrescuecenter.org/get-in-contact
ALSO, is there a way to set the ‘Marker’ be CENTERED in the middle of the Avia-google map (regardless of the browser window width)? That would be awesome :-)
Thank you!
ChristinaTopic: Dal Facebook??
Why does the div inner_tooltip always display dal facebook like on this screenshot: http://prntscr.com/ioxs0d on a german page?
Same on Twitter, Pinterest, linked in. Only Email link is correctly displayed in the page language.Topic: Regarding sharing link
Hi Kriesi Team,
Hopefully you are doing great. I am Sidra, content manager at WPArena.com, a renowned name in WordPress world. We are always eager to provide our clients with best WordPress products. Purpose of writing this mail is that we wrote different posts and published them on our site. In these articles, we created your references. Here are the links to the articles for reference:
https://wparena.com/how-to-add-guestbook-in-the-wordpress-blog-and-website/
https://wparena.com/tooltips-tutorials-jquery-plugins/It will definitely impact your business positively a lot as; WPArena has thousands of readers and subscribers. Therefore I am requesting you to list this article on your website. I was wondering if you can put link of this article on your page or where you feel comfortable. We have put much effort in creating this list and we would appreciate it if you could accept our request. It will be a start of new collaboration and we would love to proceed with listing you and your more products/posts.
Looking forward for your response
Best Regards,
Sidra Zuberi
(Email address hidden if logged out)I am trying to change the background colour of the image hotspot tooltip using CSS because I have quite a large number of images each with a few hotspots and it will save time if I can change them once in CSS. So far I have accessed the “block” but cannot seem to find the selector for the little arrow associated with it. Can you help please?
What I have so far:
.avia-tooltip.av-tt-hotspot {
background: #333333;
}Hi,
I attempted to create a custom avia shortcode for the page builder for extending the library.
I found out that:
Enfold loads avia shortcodes by looping through all of the declared classes that have been declared in that request and checking if they extend aviaShortcodeTemplate. This is doing more work than it has to.
Enfold uses the class name as the href of the shortcode’s icon in the template builder. This breaks the link and the template disappears when dropping it onto the editing pane.
Shortcode Template Icon in on the page editor:
<a data-avia-tooltip="Creates a simple text block" data-dragdrop-level="3" href="#SomeNamespace\avia_sc_text" class="shortcode_insert_button avia-target-insert ui-draggable ui-draggable-handle"><img src="http://localhost/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/images/sc-text_block.png" alt="Text Block"><span>Text Block</span></a>As you can see
href="#SomeNamespace\avia_sc_text"is an invalid link.Possible Solutions:
One possible solution to this could be replacing ‘\’ with ‘_’ and check for that in referencing locations. But this could potentially confuse two classes as the same class. ex. namespace\class ans namespace_class. These are two conventions available.
A better approach would be declaring a method abstract so the subclass can declare the tag it should have.
One possible improvement for the loader is to use a filter based system instead. Filter an array to add class names. Loop through the array and initialize only those templates. This
prevents looping over all declared classes which will lead to better execution time.Let me know your thoughts,
Jason GallavinHi,
I’m trying to translate the image tooltips appearing with MouseOver for the gallery at the bottom of the page mentioned in the private section.
Using current WPML (3.9.3) and current Enfold (4.2.6) and had no issues translating all the individual pages. But if I switch to another language and change the tooltips there, they change throughout the other 2 languages as well. Even tried inserting a new gallery, but when I added the same images, they came with the existing tooltips already filled im.
Am I missing something here? :-/
Thanks for some help!
Hello there,
I have serched already in the support but I couldn’t find anything to figure it out my need.
I am using hotspot and I need to manage the baloon background opacity in order to make it a bit transparent (simething like 0.8), and also show an outline.
Can you please suggest a quick CSS change for both requests?
many thanks
Topic: Countdown language
Most popular question)) How to change lenguage? As you can see i changed lines in file countdown php
Maybe something wrong?<?php
/**
* Animated Countdown
*
* Display Numbers that count from 0 to a specific date
*/
if ( ! defined( ‘ABSPATH’ ) ) { exit; } // Exit if accessed directlyif ( !class_exists( ‘avia_sc_countdown’ ) )
{class avia_sc_countdown extends aviaShortcodeTemplate
{
/**
* Create the config array for the shortcode button
*/
function shortcode_insert_button()
{
$this->config[‘self_closing’] = ‘yes’;$this->config[‘name’] = __(‘Animated Countdown’, ‘avia_framework’ );
$this->config[‘tab’] = __(‘Content Elements’, ‘avia_framework’ );
$this->config[‘icon’] = AviaBuilder::$path[‘imagesURL’].”sc-countdown.png”;
$this->config[‘order’] = 14;
$this->config[‘target’] = ‘avia-target-insert’;
$this->config[‘shortcode’] = ‘av_countdown’;
$this->config[‘tooltip’] = __(‘Display a countdown to a specific date’, ‘avia_framework’ );
$this->config[‘preview’] = “xlarge”;
$this->time_array = array(
__(‘Секунда’, ‘avia_framework’ ) =>’1′,
__(‘Минута’, ‘avia_framework’ ) =>’2′,
__(‘Час’, ‘avia_framework’ ) =>’3′,
__(‘День’, ‘avia_framework’ ) =>’4′,
__(‘Неделя’, ‘avia_framework’ ) =>’5′,
/*
__(‘Месяц’, ‘avia_framework’ ) =>’6′,
__(‘Год’, ‘avia_framework’ ) =>’7′
*/
);
}function extra_assets()
{
//load css
wp_enqueue_style( ‘avia-module-countdown’ , AviaBuilder::$path[‘pluginUrlRoot’].’avia-shortcodes/countdown/countdown.css’ , array(‘avia-layout’), false );//load js
wp_enqueue_script( ‘avia-module-countdown’ , AviaBuilder::$path[‘pluginUrlRoot’].’avia-shortcodes/countdown/countdown.js’ , array(‘avia-shortcodes’), false, TRUE );
}/**
* Popup Elements
*
* If this function is defined in a child class the element automatically gets an edit button, that, when pressed
* opens a modal window that allows to edit the element properties
*
* @return void
*/
function popup_elements()
{
$this->elements = array(
array(
“type” => “tab_container”, ‘nodescription’ => true
),array(
“type” => “tab”,
“name” => __(“Content” , ‘avia_framework’),
‘nodescription’ => true
),array(
“name” => __(“Date”,’avia_framework’ ),
“desc” => __(“Pick a date in the future.”,’avia_framework’ ),
“id” => “date”,
“type” => “datepicker”,
“container_class” => ‘av_third av_third_first’,
“std” => “”),array(
“name” => __(“Hour”, ‘avia_framework’ ),
“desc” => __(“Pick the hour of the day”, ‘avia_framework’ ),
“id” => “hour”,
“type” => “select”,
“std” => “12”,
“container_class” => ‘av_third’,
“subtype” => AviaHtmlHelper::number_array(0,23,1,array(),’ h’)),array(
“name” => __(“Minute”, ‘avia_framework’ ),
“desc” => __(“Pick the minute of the hour”, ‘avia_framework’ ),
“id” => “minute”,
“type” => “select”,
“std” => “0”,
“container_class” => ‘av_third’,
“subtype” => AviaHtmlHelper::number_array(0,59,1,array(),’ min’)),array(
“name” => __(“Smallest time unit”, ‘avia_framework’ ),
“desc” => __(“The smallest unit that will be displayed”, ‘avia_framework’ ),
“id” => “min”,
“type” => “select”,
“std” => “1”,
“subtype” => $this->time_array),array(
“name” => __(“Largest time unit”, ‘avia_framework’ ),
“desc” => __(“The largest unit that will be displayed”, ‘avia_framework’ ),
“id” => “max”,
“type” => “select”,
“std” => “5”,
“subtype” => $this->time_array),array(
“name” => __(“Text Alignment”, ‘avia_framework’ ),
“desc” => __(“Choose here, how to align your text”, ‘avia_framework’ ),
“id” => “align”,
“type” => “select”,
“std” => “center”,
“subtype” => array(
__(‘Center’, ‘avia_framework’ ) =>’av-align-center’,
__(‘Right’, ‘avia_framework’ ) =>’av-align-right’,
__(‘Left’, ‘avia_framework’ ) =>’av-align-left’,
)
),array( “name” => __(“Number Font Size”, ‘avia_framework’ ),
“desc” => __(“Size of your numbers in Pixel”, ‘avia_framework’ ),
“id” => “size”,
“type” => “select”,
“subtype” => AviaHtmlHelper::number_array(20,90,1, array( __(“Default Size”, ‘avia_framework’ )=>”)),
“std” => “”),array(
“type” => “close_div”,
‘nodescription’ => true
),array(
“type” => “tab”,
“name” => __(“Colors”,’avia_framework’ ),
‘nodescription’ => true
),array(
“name” => __(“Colors”, ‘avia_framework’ ),
“desc” => __(“Choose the colors here”, ‘avia_framework’ ),
“id” => “style”,
“type” => “select”,
“std” => “center”,
“subtype” => array(
__(‘Default’, ‘avia_framework’ ) =>’av-default-style’,
__(‘Theme colors’, ‘avia_framework’ ) =>’av-colored-style’,
__(‘Transparent Light’, ‘avia_framework’ ) =>’av-trans-light-style’,
__(‘Transparent Dark’, ‘avia_framework’ ) =>’av-trans-dark-style’,
)
),
array(
“type” => “close_div”,
‘nodescription’ => true
),array(
“type” => “tab”,
“name” => __(“Screen Options”,’avia_framework’ ),
‘nodescription’ => true
),array(
“name” => __(“Element Visibility”,’avia_framework’ ),
“desc” => __(“Set the visibility for this element, based on the device screensize.”, ‘avia_framework’ ),
“type” => “heading”,
“description_class” => “av-builder-note av-neutral”,
),array(
“desc” => __(“Hide on large screens (wider than 990px – eg: Desktop)”, ‘avia_framework’),
“id” => “av-desktop-hide”,
“std” => “”,
“container_class” => ‘av-multi-checkbox’,
“type” => “checkbox”),array(
“desc” => __(“Hide on medium sized screens (between 768px and 989px – eg: Tablet Landscape)”, ‘avia_framework’),
“id” => “av-medium-hide”,
“std” => “”,
“container_class” => ‘av-multi-checkbox’,
“type” => “checkbox”),array(
“desc” => __(“Hide on small screens (between 480px and 767px – eg: Tablet Portrait)”, ‘avia_framework’),
“id” => “av-small-hide”,
“std” => “”,
“container_class” => ‘av-multi-checkbox’,
“type” => “checkbox”),array(
“desc” => __(“Hide on very small screens (smaller than 479px – eg: Smartphone Portrait)”, ‘avia_framework’),
“id” => “av-mini-hide”,
“std” => “”,
“container_class” => ‘av-multi-checkbox’,
“type” => “checkbox”),array(
“type” => “close_div”,
‘nodescription’ => true
),array(
“name” => __(“Number Font Size”,’avia_framework’ ),
“desc” => __(“Set the font size for the number, based on the device screensize.”, ‘avia_framework’ ),
“type” => “heading”,
“description_class” => “av-builder-note av-neutral”,
),array( “name” => __(“Font Size for medium sized screens (between 768px and 989px – eg: Tablet Landscape)”, ‘avia_framework’ ),
“id” => “av-medium-font-size-title”,
“type” => “select”,
“subtype” => AviaHtmlHelper::number_array(10,60,1, array( __(“Default”, ‘avia_framework’ )=>” , __(“Hidden”, ‘avia_framework’ )=>’hidden’ ), “px”),
“std” => “”),array( “name” => __(“Font Size for small screens (between 480px and 767px – eg: Tablet Portrait)”, ‘avia_framework’ ),
“id” => “av-small-font-size-title”,
“type” => “select”,
“subtype” => AviaHtmlHelper::number_array(10,60,1, array( __(“Default”, ‘avia_framework’ )=>”, __(“Hidden”, ‘avia_framework’ )=>’hidden’), “px”),
“std” => “”),array( “name” => __(“Font Size for very small screens (smaller than 479px – eg: Smartphone Portrait)”, ‘avia_framework’ ),
“id” => “av-mini-font-size-title”,
“type” => “select”,
“subtype” => AviaHtmlHelper::number_array(10,60,1, array( __(“Default”, ‘avia_framework’ )=>”, __(“Hidden”, ‘avia_framework’ )=>’hidden’), “px”),
“std” => “”),array(
“name” => __(“Text Font Size”,’avia_framework’ ),
“desc” => __(“Set the font size for the text, based on the device screensize.”, ‘avia_framework’ ),
“type” => “heading”,
“description_class” => “av-builder-note av-neutral”,
),array( “name” => __(“Font Size for medium sized screens (between 768px and 989px – eg: Tablet Landscape)”, ‘avia_framework’ ),
“id” => “av-medium-font-size”,
“type” => “select”,
“subtype” => AviaHtmlHelper::number_array(10,60,1, array( __(“Default”, ‘avia_framework’ )=>”, __(“Hidden”, ‘avia_framework’ )=>’hidden’), “px”),
“std” => “”),array( “name” => __(“Font Size for small screens (between 480px and 767px – eg: Tablet Portrait)”, ‘avia_framework’ ),
“id” => “av-small-font-size”,
“type” => “select”,
“subtype” => AviaHtmlHelper::number_array(10,60,1, array( __(“Default”, ‘avia_framework’ )=>”, __(“Hidden”, ‘avia_framework’ )=>’hidden’), “px”),
“std” => “”),array( “name” => __(“Font Size for very small screens (smaller than 479px – eg: Smartphone Portrait)”, ‘avia_framework’ ),
“id” => “av-mini-font-size”,
“type” => “select”,
“subtype” => AviaHtmlHelper::number_array(10,60,1, array( __(“Default”, ‘avia_framework’ )=>”, __(“Hidden”, ‘avia_framework’ )=>’hidden’), “px”),
“std” => “”),array(
“type” => “close_div”,
‘nodescription’ => true
),
);}
/**
* Frontend Shortcode Handler
*
* @param array $atts array of attributes
* @param string $content text within enclosing form of shortcode element
* @param string $shortcodename the shortcode found, when == callback name
* @return string $output returns the modified html string
*/
function shortcode_handler($atts, $content = “”, $shortcodename = “”, $meta = “”)
{
extract(AviaHelper::av_mobile_sizes($atts)); //return $av_font_classes, $av_title_font_classes and $av_display_classes
extract(shortcode_atts(array( ‘date’ => ”,
‘hour’ => ’12’,
‘minute’ => ‘0’,
‘min’ => ‘1’,
‘max’ => ‘5’,
‘align’ => ‘center’,
‘size’ => ”,
‘style’ => ‘av-default-style’,
‘link’ => ”,
‘title’ => ”
)
, $atts));$this->full_time_array = array(
1 => array(“interval” => 1000 , ‘class’=>’seconds’, ‘label’ => __(‘Секунда’, ‘avia_framework’ ), ‘label_multi’ => __(‘Секунды’, ‘avia_framework’)),
2 => array(“interval” => 60000 , ‘class’=>’minutes’, ‘label’ => __(‘Минута’, ‘avia_framework’ ), ‘label_multi’ => __(‘Минуты’, ‘avia_framework’)),
3 => array(“interval” => 3600000 , ‘class’=>’hours’, ‘label’ => __(‘Час’, ‘avia_framework’), ‘label_multi’ => __(‘Часы’, ‘avia_framework’)),
4 => array(“interval” => 86400000 , ‘class’=>’days’, ‘label’ => __(‘День’, ‘avia_framework’ ), ‘label_multi’ => __(‘Дней’, ‘avia_framework’)),
5 => array(“interval” => 604800000 , ‘class’=>’weeks’, ‘label’ => __(‘Неделя’, ‘avia_framework’ ), ‘label_multi’ => __(‘Недель’, ‘avia_framework’)),
6 => array(“interval” => 2678400000 , ‘class’=>’months’, ‘label’ => __(‘Месяц’, ‘avia_framework’ ), ‘label_multi’ => __(‘Месяцев’, ‘avia_framework’)),
7 => array(“interval” => 31536000000 , ‘class’=>’years’, ‘label’ => __(‘Год’, ‘avia_framework’ ), ‘label_multi’ => __(‘Лет’, ‘avia_framework’)));
$interval = $this->full_time_array[$min][‘interval’];
$final_time = “”;
$output = “”;
$digit_style= “”;
$el = isset($meta[‘el_class’]) ? $meta[‘el_class’] : “”;if(!empty($date))
{
$date = explode(“/”, $date);$final_time .= ” data-year='”.$date[2].”‘”;
$final_time .= ” data-month='”.((int) $date[0] – 1).”‘”;
$final_time .= ” data-day='”.$date[1].”‘”;
$final_time .= ” data-hour='”.$hour.”‘”;
$final_time .= ” data-minute='”.$minute.”‘”;if(!empty($size)) $digit_style = “font-size:{$size}px; “;
$tags = !empty($link) ? array( “a href='{$link}’ “, “a”) : array(‘span’, ‘span’);$output .= “<div class=’av-countdown-timer {$av_display_classes} {$align} {$style} {$el}’ {$final_time} data-interval='{$interval}’ data-maximum='{$max}’ >”;
if( is_array( $title ) && isset( $title[‘top’] ) )
{
$output .= “<h3><{$tags[0]} class=’av-countdown-timer-title av-countdown-timer-title-top’>”.$title[‘top’].”</{$tags[1]}></h3>”;
}$output .= “<{$tags[0]} class=’av-countdown-timer-inner’>”;
foreach(array_reverse($this->time_array) as $key => $number)
{
if($number >= $min && $number <= $max)
{
$class = $this->full_time_array[$number][‘class’];
$single = $this->full_time_array[$number][‘label’];
$multi = $this->full_time_array[$number][‘label_multi’];$output .= “<span class=’av-countdown-cell av-countdown-“. $class .”‘>”;
$output .= “<span class=’av-countdown-cell-inner’>”;$output .= “<span class=’av-countdown-time {$av_title_font_classes}’ data-upate-width='{$class}’ style='{$digit_style}’>0</span>”;
$output .= “<span class=’av-countdown-time-label {$av_font_classes}’ data-label='{$single}’ data-label-multi='{$multi}’>”.$multi.”</span>”;$output .= “</span>”;
$output .= “</span>”;
}
}$output .= “</{$tags[1]}>”;
if( is_array( $title ) && isset( $title[‘bottom’] ) )
{
$output .= “<h3><{$tags[0]} class=’av-countdown-timer-title av-countdown-timer-title-bottom’>”.$title[‘bottom’].”</{$tags[1]}></h3>”;
}$output .= “</div>”;
}return $output;
}
}
}Hi, I am using the Shop Demo and wanted to have the avia tooltip on hover on image thumbnails of the product gallery as it is done on your site
https://www.dropbox.com/s/nsv68ya9xytmnn0/Screenshot%202018-02-28%2010.33.40.png?dl=0
At the moment the hover shows the custom overlay as shown here
https://www.dropbox.com/s/pzjajanlf9cgclu/Screenshot%202018-02-28%2010.35.24.png?dl=0
What is needed to achieve the same result, i.e. tooltip on hover?
ThanksThe social share buttons (included as Avia widget or shortcode) show strange text as a tooltip , e.g. “del Facebook”. How and where can I change this, e.g. to “Share on Facebook”.
And a second question: Is it possible to manually add other social platforms (Instagram, XING, …)?
Topic: Worker
Hi. help me pls with .avia-tooltip here: http://jet-ceramic.ru/nasha-komanda/
https://www.dropbox.com/s/2ipkwwfxvf5y1sp/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202018-02-27%2019.58.25.png?dl=0
I didn’t find how to make different size .avia-tooltip width and height. For exemple first worker 200/300, for second 300/400 etc.
And how i can disable link from icon?
