-
AuthorSearch Results
-
July 28, 2015 at 1:01 pm #479674
In reply to: Remove title tag from gallery images in ENFOLD
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,
YigitJuly 26, 2015 at 3:11 pm #478737Topic: Break Lines spacing
in forum Enfoldsitesme
ParticipantHi,
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
July 25, 2015 at 6:44 am #478564Hi 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,
IsmaelJuly 23, 2015 at 5:18 pm #477841In 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 ekleyinfunction 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,
YigitJuly 23, 2015 at 7:36 am #477531In 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,
DakeJuly 23, 2015 at 6:04 am #477499In reply to: Masonry Gallery Lightbox Figcaption Titles missing
Hi!
One of these plugins is causing the issue. If deactivated, the title shows fine:
Img Title Removal
No Title TooltipsPlease contact the plugin author.
Best regards,
IsmaelJuly 22, 2015 at 12:54 pm #477013In reply to: Responsive issues: timer, hotspots
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
JorgeJuly 21, 2015 at 7:48 pm #476699In reply to: REPLACING NUMBERS ON IMAGE HOTSPOTS
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!
ElliottJuly 21, 2015 at 3:45 pm #476567In reply to: Responsive issues: timer, hotspots
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,
ElliottJuly 21, 2015 at 3:11 pm #476536In reply to: Responsive issues: timer, hotspots
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!
AndyJuly 20, 2015 at 6:32 pm #476010In reply to: Stupid overlay over my site
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,
YigitJuly 19, 2015 at 3:43 pm #475392In reply to: Add Class to Google Maps Tooltip
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!
IsmaelJuly 17, 2015 at 5:05 pm #475064In reply to: Add Class to Google Maps Tooltip
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
July 17, 2015 at 2:19 pm #474950Topic: Add Class to Google Maps Tooltip
in forum EnfoldVirtualentertainments
ParticipantI 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.
July 14, 2015 at 11:58 am #473040In 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
July 7, 2015 at 5:25 pm #469839In reply to: Gallery captions a bit weird – how do I change?
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,
ElliottJuly 4, 2015 at 8:40 am #468336In 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
July 3, 2015 at 6:24 am #467828In 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,
BasilisJuly 3, 2015 at 4:44 am #467816Topic: how to use tooltips
in forum Enfolddecode
Participanthi,
how can I use the beautiful tooltips on text or buttons? (ex: pricing table)
or is there a short code for tooltips?thank you :)
July 1, 2015 at 3:29 pm #467028In reply to: Image Map HotSpot animation speed up
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.
June 29, 2015 at 7:23 pm #466027Hi 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.
June 28, 2015 at 3:50 pm #465548Topic: CSS for blog-grid image and adding title popup on hover
in forum EnfoldMark
ParticipantHi
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!
June 28, 2015 at 12:00 pm #465508Topic: search submit button, value="" in hebrew
in forum Enfoldalonarad
ParticipantHi,
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.
June 28, 2015 at 7:35 am #465436Hi!
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,
IsmaelJune 24, 2015 at 1:19 pm #463988In reply to: Google Map Marker Descriptions
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’
}$.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; };June 24, 2015 at 10:54 am #463894Hey!
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,
IsmaelJune 23, 2015 at 7:17 pm #463573Topic: Google Map Marker Descriptions
in forum EnfoldGOWD
ParticipantHi, 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?
June 23, 2015 at 12:00 pm #463295In reply to: Making inner tooltip always visible
Hi!
try this code in Quick CSS field:
.avia-tooltip.avia-tt { display: block !important; opacity: 1 !important; }Regards,
AndyJune 22, 2015 at 3:55 pm #462856Hi,
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
June 22, 2015 at 1:26 pm #462732In reply to: Making inner tooltip always visible
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.
-
This reply was modified 10 years, 6 months ago by
-
AuthorSearch Results
-
Search Results
-
Topic: Break Lines spacing
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
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.
Topic: how to use tooltips
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 :)
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!
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, 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?
