Viewing 30 results - 1,591 through 1,620 (of 2,320 total)
  • Author
    Search Results
  • #491442

    Hi Emilvillumsen!

    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');

    Cheers!
    Yigit

    #490367

    Hi Yigit,

    I tried this, but it doesn’t work.
    The problem is the alt of the image is not shown in the yellow tip, but the title of the caption in the a tag. Now you just removed the title attribute in the img tag.

    <a style="position: absolute; left: 0px; top: 0px;"... title="Marathon <br>50x180cm, foil on forex panel" itemprop="contentURL"><div class="av-inner-masonry-sizer"></div><figure class="av-inner-masonry main_color"><div class="av-masonry-outerimage-container"><div class="av-masonry-image-container" style="background-image: url(https://blabla.jpg);"><img src="blabla.jpg.jpg" alt="Marathon"></div></div></figure></a>

    This is really a concern as html is not rendered in these browser tooltips (hence I see html tags in the tooltip) and a caption should not be shown there. Some captions are really large. These tooltips should show the alt of the img. As you see this is nicely set at “Marathon”.

    What could be a solution for this?

    Thank you.

    • This reply was modified 10 years, 5 months ago by Spiv.
    #488981

    Hey!

    Well the paragraph is supposed to be there. If you remove it then the styling would look different. You can try changing line 523 in the /enfold/config-templatebuilder/avia-shortcodes/image_hotspots.php file from this.

    $output .= "<div class='av-image-hotspot' data-avia-tooltip-position='{$data_pos}' data-avia-tooltip-alignment='{$align}' data-avia-tooltip-class='{$tooltip_width} {$tooltip_pos} {$extraClass} {$tooltip_style} av-tt-hotspot' data-avia-tooltip='".esc_attr(ShortcodeHelper::avia_apply_autop($content))."' style='{$pos_string}'>";
    

    To this.

    $output .= "<div class='av-image-hotspot' data-avia-tooltip-position='{$data_pos}' data-avia-tooltip-alignment='{$align}' data-avia-tooltip-class='{$tooltip_width} {$tooltip_pos} {$extraClass} {$tooltip_style} av-tt-hotspot' data-avia-tooltip='".esc_attr($content)."' style='{$pos_string}'>";
    

    Best regards,
    Elliott

    #488690

    Problem is in the source code. The data-avia-tooltip= tooltip values have appended <p> which break W3TC minify. I don’t know where they come from, the preview code is cleared of any whitespace.

    #487337

    In reply to: Theme all transparent

    Hey palmeirenses!

    Your wanting to get rid of all the white backgrounds so the main background is only shown?

    If so then add this to your custom CSS.

    .main_color, .main_color .site-background, .main_color .first-quote, .main_color .related_image_wrap, .main_color .gravatar img .main_color .hr_content, .main_color .news-thumb, .main_color .post-format-icon, .main_color .ajax_controlls a, .main_color .tweet-text.avatar_no, .main_color .toggler, .main_color .toggler.activeTitle:hover, .main_color #js_sort_items, .main_color.inner-entry, .main_color .grid-entry-title, .main_color .related-format-icon, .grid-entry .main_color .avia-arrow, .main_color .avia-gallery-big, .main_color .avia-gallery-big, .main_color .avia-gallery img, .main_color .grid-content, .main_color .av-share-box ul, #top .main_color .av-related-style-full .related-format-icon, .main_color .related_posts.av-related-style-full a:hover, .main_color.avia-fullwidth-portfolio .pagination .current, .main_color.avia-fullwidth-portfolio .pagination a, .main_color .av-hotspot-fallback-tooltip-inner, .main_color .av-hotspot-fallback-tooltip-count { background: transparent !important; }
    .header_color .header_bg, .header_color .main_menu ul ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div, .header_color .av-subnav-menu > li ul, .header_color .av-subnav-menu a { background: transparent !important; }
    

    Regards,
    Elliott

    #487264

    Hi,

    that’s too bad. Thanks anyway.

    Hotspots are right there on the link I posted (see screenshot). Take a look at the html code and search for
    data-avia-tooltip=
    All values have p Tags added (can’t post the correct code as it gets converted here, even with code tags)

    #486988

    Hi Elliott,

    I’m talking about the Portfolio Grid element and its ajax preview. By default it opens at the top and I’d like to open it at the bottom (preferebly with the slide animation changed as well). Is that possible?

    And while we’re at it: I noticed a small glitch on my site. On my portfolio items pages, I added an hotspot image shortcode to the preview. Everything is working as expected, but if you take a look at the code, there are bunch of </p> elements on data-avia-tooltip. I guess WordPress adds p tags in the process at some point. I already removed every whitespace on the portfolio page and added the following function without success:
    remove_filter (‘the_content’, ‘wpautop’);

    It breaks W3TCs minify so would be cool if there’s a workaround.

    Thanks!

    • This reply was modified 10 years, 5 months ago by Gero.
    vdlpwp
    Participant

    Hello!

    I have developed a widget/shortcode which can be used in the avia builder. It all works accept for one thing, can anyone assist?

    Widget: modal group with sub elements (input and select). Adding/edit items works fine, closing (saving) the widget and then opening the widget the items are still there. But when i save the whole page and click on the widget the items are not loading. They are stored in the database and show up in front-end. What am i missing?

    `
    class vdlp_sc_merken_list extends aviaShortcodeTemplate
    {

    /**
    * Create the config array for the shortcode button
    */
    function shortcode_insert_button()
    {
    $this->config['name'] = __('Merken (lijst)', 'vdlp');
    $this->config['tab'] = __('VDLP', 'vdlp');
    $this->config['icon'] = AviaBuilder::$path['imagesURL']."sc-blog.png";
    $this->config['order'] = 20;
    $this->config['target'] = 'avia-target-insert';
    $this->config['shortcode'] = 'vdlp_sc_merken_list';
    $this->config['shortcode_nested'] = array('vdlp_sc_merken_list_merk');
    $this->config['tooltip'] = __('Lijst van merken', 'vdlp');
    }

    /**
    * 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() {

    global $merken_module;

    $posts = $merken_module->queryItems();
    if (!empty($posts)) {
    foreach ($posts as $post) {
    $merken[get_field('merk_naam', $post->ID)] = $post->ID;
    }
    }

    $this->elements = array(
    array(
    "name" => __("Toevoegen/wijzigen lijst met merken", 'vdlp' ),
    "desc" => __("Hier kunt u merken toevoegen, wijzigen of verwijderen uit uw lijst", 'vdlp' ),
    "type" => "modal_group",
    "id" => "content",
    "modal_title" => __("Merk", 'vdlp'),
    "std" => array(),
    'subelements' => array(
    array(
    "name" => __("Titel", 'vdlp' ),
    "desc" => __("Geef titel op", 'vdlp' ),
    "id" => "title",
    "type" => "input",
    ),
    array(
    "name" => __("Kies gekoppelde merk", 'vdlp' ),
    "desc" => __("Selecteer een merk uit de lijst", 'vdlp' ),
    "id" => "merkid",
    "type" => "select",
    "subtype" => $merken,
    ),
    )
    )
    );
    }

    /**
    * 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;
    }

    /**
    * Editor Sub Element - this function defines the visual appearance of an element that is displayed within a modal window and on click opens its own modal window
    * Works in the same way as Editor Element
    * @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_sub_element($params)
    {
    $template = $this->update_template("title", "{{title}}");

    $params['innerHtml'] = "<div class='avia_title_container'>";
    $params['innerHtml'] .= "<span {$template}>" .$params['args']['title']. "</span>";
    $params['innerHtml'] .= "</div>";

    return $params;
    }

    /**
    * 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 = "")
    {
    $output = "";

    $atts = shortcode_atts(array(
    'items' => 0,
    ), $atts, $this->config['shortcode']);

    $merken = ShortcodeHelper::avia_remove_autop($content, true);

    if (empty($merken)) {
    return '';
    }

    $output .= '<div class="vdlp-widget-wrapper">';
    $output .= '<h2>Merken</h2>';
    $output .= '<ul class="merken">';
    $output .= ShortcodeHelper::avia_remove_autop( $content, true );
    $output .= '</ul>';
    $output .= '<a href="' . get_permalink(CONST_PAGEID_MERKEN) . '" title="Meer merken">Meer merken</a>';
    $output .= '</div>';

    return $output;
    }

    /**
    * vdlp_sc_merken_list_merk
    *
    * @param array $atts
    * @param string $content
    * @param string $shortcodename
    * @return string
    */
    function vdlp_sc_merken_list_merk($atts, $content = "", $shortcodename = "")
    {
    $atts = shortcode_atts(array(
    'merkid' => '',
    'title' => ''
    ), $atts, $this->config['shortcode_nested']);

    $atts['title'] = (empty($atts['title'])) ? get_field('merk_naam', $atts['merkid']) : $atts['title'];

    $output = '<li><a title="Ga naar '. $atts['title'] .'" href="' . get_permalink($atts['merkid']) . '"><span>' . $atts['title'] .'</span></a></li>';

    return $output;
    }
    }
    `

    Kind Regards,

    Nico

    #485543

    Hey!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .avia-search-tooltip.avia-tt,.header_color .avia-tt .avia-arrow, .header_color .avia-tt .avia-arrow {
        background-color: white;
    }

    Best regards,
    Yigit

    #484677

    In reply to: Vollbild-Slider Size

    Hey!

    please refuse from posting into two different threads with the same issue. I already answered you here: https://kriesi.at/support/topic/tooltip-caption-team-member/#post-484676

    Best regards,
    Andy

    #484676

    Hey xxtita!

    1.) About which tooltipps are you talking about? can’t see it on the link you have provided. Please use screenshots to highlight what you mean. Use imgur.com or dropbox.

    2.) Use this code for your slider on iPhone:

    @media only screen and (max-device-width: 736px) {
    .avia-slideshow.avia-slideshow-1.av-slider-scroll-down-active.avia-slideshow-no.scaling.av_fullscreen.avia-slide-slider {
    height: 345px;
    }
    .slideshow_align_caption {
    top: 86px;
    }}
    

    Best regards,
    Andy

    #484350
    xxtita
    Participant

    Hi,
    tried to resize the caption tooltip in team members, so the e-mail fits in one row. But i cannot find the css for it. Maybe data-avia-tooltip, but dont know where. Can you please help me out?
    thanks.

    2. Vollbild-Slider responsive? Is there any solution yet? I tried many css-codes in this forum. I can resize the image with this code

    .avia-fullscreen-slider .avia-slideshow>ul>li {
    background-size: contain;
    background-repeat: no-repeat;
    }
    

    but the height is still to big on iphone and the caption is somewhere in the white.
    http://stage21.ramsau.com/abenteuerland/langlaufen/

    Hi Andy,

    Many thanks for looking into this.

    For point 1, I checked the link you sent and looked into the helper-social-media.php, and may have to draft in some help to customise as there is no PayPal tooltip icon there to adjust.
    For point 2, that is brilliant.

    Cheers.

    Hey!

    glad you could almost fix the issue. Please refer to this solution for customizing your paypal icon tooltip: https://kriesi.at/support/topic/how-to-change-text-in-tooltip-for-social-media-icons-in-header/#post-319550

    For hover color of your new paypal icon use this CSS code in Quick CSS field:

    li.social_bookmarks_icon_name.av-social-link-icon_name.social_icon_3 a:hover {
    background-color: #575757 !important;
    color: white;
    }
    

    Cheers!
    Andy

    Thanks, that worked wonders. The website has been updated.

    I am wondering if this should not be default on mobile. Otherwise it covers the picture as was shown previously. It did not feel natural to me at least.
    I believe the biggest problem was that when you tapped the picture in the gallery to bring it up the tooltip stayed there which feels like that is not the intention.

    Hi!

    You can add following code to Quick CSS in Enfold theme options under General Styling tab to remove tooltips on mobile

    @media only screen and (max-width: 480px) {
    .avia-tooltip.avia-tt { display: none !important; }}

    Cheers!
    Yigit

    Hey!

    use this code to hide it:

    .avia-related-tooltip.avia-tt {
    display: none !important;
    }
    

    Best regards,
    Andy

    #483232

    Hi wjcc!

    you can control position of the tooltip using this code:

    .avia-tooltip.avia-tt {
    margin-left: -20px;
    margin-top: 5px;
    }
    

    Adjust as needed.

    Regards,
    Andy

    Hi Elliot,

    Many thanks for getting back on this, and apologies for any confusion caused. I’m still getting to grips with this theme (one week in) and since I made this post I have discovered that although I used html code to create a list of share social medial icons in a widget in my previous theme, there is actually a shortcode in Enfold to do this (brilliant btw).

    I have now placed a block of share social media icons n the footer using the shortcode, and styled the hover over color. The only issue I am having is that when I include a title for the widget area (SHARE) on hover a share message appears over each icon (e.g. “Share on Facebook”). However, as the widget is in a 1/4 footer area near the top of the footer, the share bubble and text doesn’t show fully. Can this pop-out window (data-avia-related-tooltip ?) be hidden with css, as with the existing footer widget title this extra information is not really needed?

    Note that I have other tooltips on the site which need to remain active

    Cheers,
    Barnez

    • This reply was modified 10 years, 5 months ago by Barnez1.
    #482206
    wjcc
    Participant

    I have several Team Member modules on the website and when I hover over the image for the e-mail, the tooltip is way off from where the icon is. A link is included below so you can see what I mean, any ideas on how this can be fixed?

    http://wjccschools.org/departments/superintendent/

    Hi Ismael,

    This theme is fantastic, and I’m really pleased with my decision to choose it over the two others I was considering!

    Your suggested css was excellent. The only thing I needed to do was to increase the margin left to -90 to allow the tooltip windows to show on a narrow mobile screen.

    Many thanks for your help!

    Hey!

    Thank you for using Enfold.

    You can’t set the tooltip to align left or right but you can adjust the position in the Quick CSS field:

    #top .avia-icon-tooltip {
        margin-left: -50px;
    }
    
    .avia-tooltip .avia-arrow-wrap {
        margin-left: 43px;
    }

    Regards,
    Ismael

    I’ve found this in js>>avia.js on line 1757-1772

    
    	$.AviaTooltip  =  function(options)
    	{
    	   var defaults = {
                delay: 1500,                //delay in ms until the tooltip appears
                delayOut: 300,             	//delay in ms when instant showing should stop
                delayHide: 0,             	//delay hiding of tooltip in ms
                "class": "avia-tooltip",   	//tooltip classname for css styling and alignment
                scope: "body",             	//area the tooltip should be applied to
                data:  "avia-tooltip",     	//data attribute that contains the tooltip text
                attach:"body",          	//either attach the tooltip to the "mouse" or to the "element" // todo: implement mouse, make sure that it doesnt overlap with screen borders
                event: 'mouseenter',       	//mousenter and leave or click and leave
                position:'top',             //top or bottom
                extraClass:'avia-tooltip-class', //extra class that is defined by a tooltip element data attribute
                permanent: false 			// always display the tooltip?
                
            }
    

    Is there any possibility for a position:”left or float:’left’?

    Barnez1
    Participant

    Hi,

    There doesn’t seem to be any existing support threads for this particular tooltips issue:

    1. When I create and position the tooltips the option is only for right or left align. Is it possible to have the tooltip icon placed just after the last item of text on a line, rather than at the right hand margin.

    2. Also in this same bulleted section, the tooltips in the right hand column overflow off the page when open. This happens on both desktop and mobile screens. Can this be solved without needing to reduce the column widths on this page to 2/5 + 2/5?

    Thanks,
    Barnez

    • This topic was modified 10 years, 5 months ago by Barnez1.
    #481246

    Hi,

    When I Inspect the source of a button (for example the Headline Rotator). I don’t find the ID.

    I have this code

    <a data-avia-tooltip="Creates a text rotator for dynamic headings" data-dragdrop-level="3" href="#avia_sc_headline_rotator" class="shortcode_insert_button avia-target-insert ui-draggable ui-draggable-handle"><img src="http://www.website.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/images/sc-heading.png" alt="Headline Rotator"><span>Headline Rotator</span></a>

    Where can I find the ID for this ?

    Thx for your help.

    Regards,
    Loïc

    • This reply was modified 10 years, 5 months ago by leplusweb.
    #480858

    Hi Mario!

    There just isn’t a lot of space there for the tooltips. I recommend setting the first one to display above the dot instead of to the left. How are you trying to change it? Are you wanting it to switch to the responsive mode sooner?

    Regards,
    Elliott

    #480193

    Hey!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_tooltip(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery(".avia-logo-element-container img").click(function() {
      jQuery(this).css( "transform", "scale(1.05,1.05)" );
    });
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_tooltip');

    Regards,
    Yigit

    • This reply was modified 10 years, 5 months ago by Yigit.
    #480146

    Hey!

    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,
    Yigit

    #480003

    Hi willblueland!

    You can follow the instructions in the below thread to remove the gallery tooltip:

    https://kriesi.at/support/topic/can-you-remove-tooltips-from-galleries-only-and-not-globally/

    Best regards,
    Dake

    #479887
    willblueland
    Participant

    Hi
    I would like to remove the image-tooltips on mouseover.in the gallery.
    how can I achieve this?
    see: https://dl.dropboxusercontent.com/u/31618162/ScreenShot.jpg
    Best regards

    Will

Viewing 30 results - 1,591 through 1,620 (of 2,320 total)