Viewing 30 results - 1,621 through 1,650 (of 2,320 total)
  • Author
    Search Results
  • #479674

    Hi salvix!

    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

    #478737

    Topic: Break Lines spacing

    in forum Enfold
    sitesme
    Participant

    Hi,

    Some of my break lines are giving a big gap between the lines like a paragraph. Can you please look at the sshot below and the page where this can be obtained to see what the problem may be and how to fix it? This also happens in the “Marker Tooltip” of a map.

    I am afraid that fixing this will ruin other sections where a double line may be required. Is there a way to have single and double line spacing by simply adding one br/ or two br/ (i.e. pressing Shift+Enter once or twice) to get a single or a double break line?

    Either way, the main priority is making a regular break line without the double spacing.

    Thank you

    Hi Switzer!

    Thank you for using Enfold.

    You can try this in the functions.php file:

    add_filter( 'ava_main_header', 'avia_append_search_nav_mod', 10);
    
    function avia_append_search_nav_mod()
    {
        ob_start();
        get_search_form();
        $form =  htmlspecialchars(ob_get_clean()) ;
    	
        $items = '<div id="menu-item-search-mod" class="menu-item-search-mod 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>
               </div>';
    
        echo $items;
    }

    Add this in the Quick CSS field:

    #menu-item-search-mod {
      display: block;
      position: absolute;
      right: 30%;
      top: 30%;
      z-index: 1000;
    }
    
    @media only screen and (min-width: 768px) {
      /* Add your Desktop Styles here */
    	#menu-item-search-mod { display: none; }
    }

    Regards,
    Ismael

    #477841

    In reply to: about portfolio

    Merhabalar! :)

    1- Degisiklerin yapilmasi gereken sayfanizin linkini atabilir misiniz?
    2- Mumkun fakat tema dosyalari uzerinde baya degisiklikler yapilmasi gerekiyor. Lutfen boyle bir ozelligi buradan talep ediniz – https://kriesi.at/support/enfold-feature-requests/ yada sizin icin cok acilse lutfen hire a freelance developer :)
    3- Lutfen assagidaki kodu Appearance > Editor bolumunde Functions.php dosyasina ekleyin

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

    #477531

    In reply to: SEARCH BAR WIDTH

    Hi emin!

    You can increase the width of the search bar with the below css:

    .avia-search-tooltip {
      width: 300px !important;
    }

    Regards,
    Dake

    #477499

    Hi!

    One of these plugins is causing the issue. If deactivated, the title shows fine:

    Img Title Removal
    No Title Tooltips

    Please contact the plugin author.

    Best regards,
    Ismael

    #477013

    Hello,

    For the countdown I reduced the size a bit a quit the seconds so is OK now.

    For the tootips, its not working yet:

    1.- This code works only in one box – please see pictures 10 in https://drive.google.com/open?id=0B1pkqICrGgvKflRwckk2ZnR1b29VNEVQbVYwNUlYTlRBUXg2ZlkyLUJqWGN6SmxJRlZXYTg

    @media only screen and (min-device-width: 768px) and (max-device-width: 1386px) {
    .avia-tooltip.avia-tt.av-tt-xlarge-width.av-tt-pos-right.av-tt-align-top.av-mobile-fallback-active.av-permanent-tooltip-single.transparent_dark.av-tt-hotspot {
    padding: 3px !important;
    font-size: 10px;
    }}

    2.- This code works great
    .av-tt-xlarge-width {
    width: 240px !important;
    }

    3.- There is a problem of overlapping between sections that I’ve resolved moving to different sections. Pictures 10 and 11.

    Thanks
    Jorge

    #476699

    Hi silviouk!

    We might be able to do it with CSS if we had a link to your page but it’s going to take a lot of work, you would only be able to use it once, and the pulse animations would look weird.

    It would be best to just add the text inside the tooltips. There is also an option for replacing the numbers with blanks.

    Cheers!
    Elliott

    #476567

    Hi!

    For the countdown I’m not sure what we can do. There just isn’t enough space for the labels your using. Would you like to try displaying them on top of each other instead of in one line?

    For the hotspots what happens when you add this to your custom CSS?

    .av-tt-xlarge-width {
      width: 240px !important;
    }

    The tooltips have a width setting. I would try setting it to the default instead of large or extra large.

    Best regards,
    Elliott

    #476536

    Hi!

    try this code for the hot spot section:

    @media only screen and (min-device-width: 768px) and (max-device-width: 1386px) {
    .avia-tooltip.avia-tt.av-tt-xlarge-width.av-tt-pos-right.av-tt-align-top.av-mobile-fallback-active.av-permanent-tooltip-single.transparent_dark.av-tt-hotspot {
    padding: 3px !important;
    font-size: 10px;
    }}
    

    and adjust as needed.

    Cheers!
    Andy

    #476010

    Hi!

    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

    #475392

    Hi!

    Even if you can add an image to the tooltip, you will not be able to style it correctly because there is no unique class. Unfortunately, there is no option to add a class attribute to the marker options: https://developers.google.com/maps/documentation/javascript/reference#MarkerOptions

    Cheers!
    Ismael

    #475064

    Ok Thanks, What if I put an image within the tooltip. Is there any way to override the width/height and padding etc? to match the size of my image

    #474950

    I am looking to add background images to the Google maps tooltips, and thought this might be best done by adding class for each tooltip. How can I add a CSS Class to the tooltip.

    Alternatively if this isn’t possible, how else can I add a background image to a Google maps tooltip? Each one would need to be different for each Tooltip.

    #473040

    In reply to: how to use tooltips

    hi,

    There is no need for a site link, I only wish to know if there is a quick way with Enfold to use “tooltips” on general text and buttons ??

    thanks

    #469839

    Hey jimjiber!

    We could make the tooltips display in the middle but they would “flicker” when you mouse over them. Instead it would be better if you use the regular image shortcode. It has an option where you can set the caption to display in the middle of the image on hover.

    Regards,
    Elliott

    #468336

    In reply to: how to use tooltips

    oh, sorry,
    I am referring to the TEXT and Buttons across the site.
    Any short code to apply the tooltips on text and buttons?

    thanks

    #467828

    In reply to: how to use tooltips

    Hey decode!

    I assume you referring for the Image Tooltips, here is a link of documentation
    http://kriesi.at/documentation/enfold/creating-images-with-hotspots/

    Best regards,
    Basilis

    #467816

    Topic: how to use tooltips

    in forum Enfold
    decode
    Participant

    hi,

    how can I use the beautiful tooltips on text or buttons? (ex: pricing table)
    or is there a short code for tooltips?

    thank you :)

    #467028

    Hey!

    Actually in the later versions of Enfold there is an option for removing the fade in animation for the hotspots. Are you talking about the tooltip animations? Go ahead and take a screenshot and highlight the area your referring to.

    Regards,
    Elliott

    • This reply was modified 10 years, 6 months ago by Elliott.

    Hi Mark!

    Try this instead.

    .slide_entry img {  }
    .slide_entry img:hover {  }
    

    The tooltip popup is going to take a lot of time and code to implement so it would have to be considered custom work. It would be best to hire a freelancer to help you out with that customization.

    Cheers!
    Elliott

    • This reply was modified 10 years, 6 months ago by Elliott.
    Mark
    Participant

    Hi

    On blog grid layout I have the images rotating, but it also rotates the title text, I just want the CSS to rotate only the image. Can you help please?

    Currently I am using

    .slide-entry {
    -webkit-transition: all 0.3s ease;
    ..}
    .slide-entry:hover {
    -webkit-transform: rotate(-10deg);
    ..}

    Also I would like the title of the image to pop up on hover as a tooltip like it does for the Masonry display.

    Please could you help me to get it working as I would like. Thank you!

    #465508
    alonarad
    Participant

    Hi,

    When I use Enfold on a RTL Hebrew WordPress install,
    The icon of the magnifying glass at the avia-search-tooltip get corrupted.

    Please advice,

    Tnx.

    Alon.

    Hi!

    You can modify the config-templatebuilder > aviashortcodes > team.php file, look for this code:

    	if(!empty($socials))
    					{
    						$output .= "<div class='team-social'>";
    
    							$output .= "<div class='team-social-inner'>";
    
    							foreach($socials as $social)
    							{
    								//set defaults
    								$social['attr'] =  shortcode_atts(array('link' => '',  'link_target' => '', 'icon' => '','font'=>'','title' => '' ), $social['attr'], 'av_social');
    
    								//build link for each social item
    								$tooltip = $social['attr']['title'] ? 'data-avia-tooltip="'.$social['attr']['title'].'"' : "";
    								$target  = $social['attr']['link_target'] ? "target='_blank'" : "";
    
    								//apply special class in case its a link to a known social media service
    								$social_class = $this->get_social_class($social['attr']['link']);
    
                                    if(strstr($social['attr']['link'], '@'))
                                    {
                                        $markup = avia_markup_helper(array('context' => 'email','echo'=>false, 'custom_markup'=>$custom_markup));
                                    }
                                    else
                                    {
                                        $markup = avia_markup_helper(array('context' => 'url','echo'=>false, 'custom_markup'=>$custom_markup));
                                    }
    								
    								$display_char = av_icon($social['attr']['icon'], $social['attr']['font']);
    								
                                    $output .= "<span class='hidden av_member_url_markup {$social_class}' $markup>".$social['attr']['link']."</span>";
    
    								$output.= "<a rel='v:url' {$tooltip} {$target} class='{$social_class} avia-team-icon ' href='".$social['attr']['link']."' {$display_char}>";
    								$output.= "</a>";
    							}
    
    							$output .= "</div>";
    
    						$output .= "</div>";
    					}

    Place it underneath the team-member-description container. Please create a changelog or a note about this modification in case you update the theme.

    Best regards,
    Ismael

    #463988

    Hi Ismael,
    thank you for your reply.

    I found the shortcodes.js file in my Enfold download.

    I took the section just relating to the Google Maps and copied it into a new file called shortcodes.js
    I edited the line in question and uploaded the new shortcodes.js file to my CHILD theme.

    The shortcodes.js file in the PARENT theme is still as it was.

    The new file shows up in Filezilla VIA FTP in the child theme but not in the Admin – Appearance – Editor
    in the WordPress backend, still just functions.php and style.css .

    It didn’t change the map markers tooltip appearance on the front end.

    Will it only work if I edit the shortcodes.js file in the parent theme?

    Here is the code in the new file in the child theme. I only included the piece relating to the Google Map.

    (function($)
    {
    “use strict”;

    $.AviaMapsAPI = function(options, container)
    {
    if(typeof window.av_google_map == ‘undefined’)
    {
    $.avia_utilities.log(‘Map creation stopped, var av_google_map not found’); return
    }

    // gatehr container and map data
    this.container = container;
    this.$container = $( container );
    this.$body = $(‘body’);
    this.$mapid = this.$container.data(‘mapid’) – 1;
    this.$data = window.av_google_map[this.$mapid];
    this.retina = window.devicePixelRatio > 1;

    // set up the whole api object
    this._init( options );
    }

    $.AviaMapsAPI.apiFiles =
    {
    loading: false,
    finished: false,
    src: ‘https://maps.googleapis.com/maps/api/js?v=3.6&sensor=false&callback=aviaOnGoogleMapsLoaded&#8217;
    }

    $.AviaMapsAPI.prototype =
    {
    _init: function()
    {
    this._bind_execution();
    this._getAPI();
    },

    _getAPI: function( )
    {
    //make sure the api file is loaded only once
    if((typeof window.google == ‘undefined’ || typeof window.google.maps == ‘undefined’) && $.AviaMapsAPI.apiFiles.loading == false)
    {
    $.AviaMapsAPI.apiFiles.loading = true;
    var script = document.createElement(‘script’);
    script.type = ‘text/javascript’;
    script.src = $.AviaMapsAPI.apiFiles.src;

    document.body.appendChild(script);
    }
    else if((typeof window.google != ‘undefined’ && typeof window.google.maps != ‘undefined’) || $.AviaMapsAPI.apiFiles.loading == false)
    //else if($.AviaMapsAPI.apiFiles.finished === true)
    {
    this._applyMap();
    }
    },

    _bind_execution: function()
    {
    this.$body.on(‘av-google-maps-api-loaded’, $.proxy( this._applyMap, this) );
    },

    _applyMap: function()
    {
    if(typeof this.map != ‘undefined’) return;
    if(!this.$data.marker || !this.$data.marker[0] || !this.$data.marker[0].long || !this.$data.marker[0].long)
    {
    $.avia_utilities.log(‘Latitude or Longitude missing’, ‘map-error’);
    return;
    }

    var _self = this,
    mobile_drag = $.avia_utilities.isMobile ? this.$data.mobile_drag_control : true,
    zoomValue = this.$data.zoom == “auto” ? 10 : this.$data.zoom;

    this.mapVars = {
    mapMaker: false, //mapmaker tiles are user generated content maps. might hold more info but also be inaccurate
    mapTypeControl: false,
    backgroundColor:’transparent’,
    streetViewControl: false,
    panControl: this.$data.pan_control,
    zoomControl: this.$data.zoom_control,
    draggable: mobile_drag,
    scrollwheel: false,
    zoom: zoomValue,
    mapTypeId:google.maps.MapTypeId.ROADMAP,
    center: new google.maps.LatLng(this.$data.marker[0].lat, this.$data.marker[0].long),
    styles:[{featureType: “poi”, elementType: “labels”, stylers: [ { visibility: “off” }] }]
    };

    this.map = new google.maps.Map(this.container, this.mapVars);

    this._applyMapStyle();

    if(this.$data.zoom == “auto”)
    {
    this._setAutoZoom();
    }

    google.maps.event.addListenerOnce(this.map, ’tilesloaded’, function() {
    _self._addMarkers();
    });
    },

    _setAutoZoom: function()
    {
    var bounds = new google.maps.LatLngBounds();

    for (var key in this.$data.marker)
    {
    bounds.extend( new google.maps.LatLng (this.$data.marker[key].lat , this.$data.marker[key].long) );
    }

    this.map.fitBounds(bounds);
    },

    _applyMapStyle: function()
    {
    var stylers = [], style = [], mapType;

    if(this.$data.hue != “”) stylers.push({hue: this.$data.hue});
    if(this.$data.saturation != “”) stylers.push({saturation: this.$data.saturation});

    if(stylers.length)
    {
    style = [{
    featureType: “all”,
    elementType: “all”,
    stylers: stylers
    }, {
    featureType: “poi”,
    stylers: [
    { visibility: “off” }
    ]
    }];

    mapType = new google.maps.StyledMapType(style, { name:”av_map_style” });
    this.map.mapTypes.set(‘av_styled_map’, mapType);
    this.map.setMapTypeId(‘av_styled_map’);
    }
    },

    _addMarkers: function()
    {
    for (var key in this.$data.marker)
    {
    var _self = this;

    (function(key, _self)
    {
    setTimeout(function()
    {
    var marker = “”;

    if(!_self.$data.marker[key] || !_self.$data.marker[key].long || !_self.$data.marker[key].long)
    {
    $.avia_utilities.log(‘Latitude or Longitude for single marker missing’, ‘map-error’);
    return;
    }

    _self.$data.LatLng = new google.maps.LatLng(_self.$data.marker[key].lat, _self.$data.marker[key].long);

    var markerArgs = {
    flat: false,
    position: _self.$data.LatLng,
    animation: google.maps.Animation.BOUNCE,
    map: _self.map,
    title: _self.$data.marker[key].address,
    optimized: false
    };

    //set a custom marker image if available. also set the size and reduce the marker on retina size so its sharp
    if(_self.$data.marker[key].icon && _self.$data.marker[key].imagesize)
    {
    var size = _self.$data.marker[key].imagesize, half = “”, full = “”;

    if(_self.retina && size > 40) size = 40; //retina downsize to at least half the px size
    half = new google.maps.Point(size / 2, size ) ; //used to position the marker
    full = new google.maps.Size(size , size ) ; //marker size
    markerArgs.icon = new google.maps.MarkerImage(_self.$data.marker[key].icon, null, null, half, full);
    }

    marker = new google.maps.Marker(markerArgs);

    setTimeout(function(){ marker.setAnimation(null); _self._infoWindow(_self.map, marker, _self.$data.marker[key]); },500);

    },200 * (parseInt(key,10) + 1));

    }(key, _self));
    }
    },

    _infoWindow: function(map, marker, data)
    {
    var info = $.trim(data.content);

    if(info != “”)
    {
    var infowindow = new google.maps.InfoWindow({
    content: info
    });

    infowindow.open(map,marker);

    if(data.tooltip_display) infowindow.open(map,marker);
    }
    }

    }

    //simple wrapper to call the api. makes sure that the api data is not applied twice
    $.fn.aviaMaps = function( options )
    {
    return this.each(function()
    {
    var self = $.data( this, ‘aviaMapsApi’ );

    if(!self)
    {
    self = $.data( this, ‘aviaMapsApi’, new $.AviaMapsAPI( options, this ) );
    }
    });
    }

    })( jQuery );

    //this function is executed once the api file is loaded
    window.aviaOnGoogleMapsLoaded = function(){ $(‘body’).trigger(‘av-google-maps-api-loaded’); $.AviaMapsAPI.apiFiles.finished = true; };

    Hey!

    You can use this to fix the mobile menu:

    @media only screen and (max-width: 1100px) {{
    #advanced_menu_hide {display:block !important; }
    }}

    For the search icon, try to add this in the functions.php file:

    add_filter( 'avia_meta_header', 'avia_append_search_nav_mod');
    
    function avia_append_search_nav_mod()
    {
        ob_start();
        get_search_form();
        $form =  htmlspecialchars(ob_get_clean()) ;
    
        $items = '<div id="menu-item-search" class="menu-item-search-mod 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>
               </div>';
    
        echo $items;
    }

    Add this in the Quick CSS field:

    .menu-item-search-mod {
      position: absolute;
      top: -8px;
      right: 100px;
    }
    
    @media only screen and (min-width: 1099px) {{
      .menu-item-search-mod { display: none !important; }
    }}

    Regards,
    Ismael

    #463573
    GOWD
    Participant

    Hi, I have embedded a Google Map using the advanced layout editor with two locations, Url in private content below.

    is it possible to have the marker Tooltips appear by default without having to click on the markers?

    #463295

    Hi!

    try this code in Quick CSS field:

    .avia-tooltip.avia-tt {
    display: block !important;
    opacity: 1 !important;
    }
    

    Regards,
    Andy

    Hi,
    thanks for the clarification. I have said the same to my customer :-( If you take a look at my page you will see that the tooltip is not showing the title (“Titel”) of the media library but the “Bildunterschrift” from the media library. Even if I let the Titel empty. So on mouse over we have the caption coming up and the tooltip, both with the same words. Can you check, please?

    Best Regards

    #462732

    Maybe I have made a mistake and its actually “.avia-tooltip” or .avia-tooltip tt something like this, the little boxes that pop up when overing over gallery images.

Viewing 30 results - 1,621 through 1,650 (of 2,320 total)