Viewing 30 results - 211 through 240 (of 2,320 total)
  • Author
    Search Results
  • #1357240
    THP Studio
    Participant

    Hey guys,

    Wondering if the social buttons ALB element could get some attention in a coming update. IT’s a great element, but lacking some key customisations…

    1. Can’t change the order of the profiles being displayed. Need to be able to drag and drop them in the order desired.
    2. Turn on/off tooltip hover effect
    3. Add more like TikTok
    4. The different styling options are great, but need to also be able to customise the colours/display of the individual stylings eg: icon color, background, hover etc.
    5. Animation on page load like many other elements have.

    Thanks for considering it :)

    Regards

    Tim

    #1357233

    My answer concerning to your other question but also to webp format:
    https://kriesi.at/support/topic/add-lightbox-manually/#post-1355589

    Just use webp – the “can i use page” shows that only the IE11 with less than 0,5% gloabal usage does not support webp.
    In my opinion the usage of a fallback solution is now obsolete. Enfold supports webp usage in all alb elements – no need for a picture construct.

    See slider on : https://enfold.webers-webdesign.de/tooltips/

    #1356404

    and this was always the caption – i see now that on the example page caption and title are synchronized ( guess manually ).
    Then it was my fault of thinking, because here was a match to think it would show the title in the avia tooltip.

    #1356403

    Hey Guenter,
    I believe that you are referring the Lightbox image description text option in the gallery element:
    2022-06-24_007.jpg
    as this is the only option I found where a “title” can be selected, but this only applies to the lightbox title and not the tooltip.
    The gallery tooltip is picked from the gallery caption:
    2022-06-24_008.jpg
    2022-06-24_002.jpg
    I hope this explains :)

    Best regards,
    Mike

    #1356364
    Guenni007
    Participant

    it is a gallery with lightbox active and the Avia tooltip shows the description even though the “Title” setting is selected.
    ( PS i removed my temprarily remove title script to be sure that there was no influence on that)
    So you can see on hovering the real title as browser tooltip. – Look to those Mockup Images – they got both
    https://enfold.webers-webdesign.de/gallery/

    PS:
    seems to be not a problem from Enfold 5 on 4.9 i tested it with same result.

    PPS: or does this setting only affect the lightbox?
    I seem to remember that it used to be that the titles were displayed here as well. Because the double display of avia tooltip and browser tooltip was the reason to find a script to suppress the browser tooltip.

    See demo “Gallery with Preview” on : https://kriesi.at/themes/enfold-2017/elements/gallery/

    Hi WPStyling2020,

    Why do you want to empty the alt and title tag? it is useful for SEO stuff.
    If you want to remove it, so the tooltip won’t show when you hover over it, I would suggest Guenni007’s solution on this thread: https://kriesi.at/support/topic/remove-tooltip-keep-caption-in-galleries-masonry/#post-1355891

    Best regards,
    Nikko

    #1356119

    on your page you use that ( by the way deprecated window.load is involved too ) script:

    jQuery(window).load(function(){
    	jQuery('a').removeAttr('title');
    	jQuery('img').removeAttr('title');
    });

    without the titles – the lightbox got no info what to show!
    The question now is when you inserted the script, because even in the earlier version of enfold this could not work.

    Have a look into the alb you set – maybe there is the option not to use the title but f.e. description.
    Or just not to remove the title – but save it to another attribut and save back on click or on mouseout:

    can you try this instead :

    function temporary_removal_title_tags(){
    ?>
    <script>
      window.onload = function() {
          var links = document.querySelectorAll('a, img');
          for (var i = 0; i < links.length; i++) {
              var link = links[i];
              link.onmouseover = function() {
                  this.setAttribute("data-tooltip", this.title);
                  this.title = "";
              };
              link.onmouseout = function() {
                  this.title = this.getAttribute("data-tooltip");
              };
              link.onmousedown = function() {
                  this.title = this.getAttribute("data-tooltip");
              };
          }
      };
    </script>
    <?php
    }
    add_action('wp_footer', 'temporary_removal_title_tags');

    btw: maybe you decide to darken the lightbox background a bit more – because the png files with the transparency will then be better seen:

    .mfp-zoom-in.mfp-ready.mfp-bg, 
    .mfp-zoom-in.mfp-ready .mfp-preloader {
      opacity: 0.9 !important;
    }
    #1355891

    can you use instead:

    function temporary_removal_title_tags(){
    ?>
    <script>
      window.onload = function() {
          var links = document.querySelectorAll('a, img, *[title]');
          for (var i = 0; i < links.length; i++) {
              var link = links[i];
              link.onmouseover = function() {
                  this.setAttribute("data-tooltip", this.title);
                  this.title = "";
              };
              link.onmouseout = function() {
                  this.title = this.getAttribute("data-tooltip");
              };
              link.onmousedown = function() {
                  this.title = this.getAttribute("data-tooltip");
              };
          }
      };
    </script>
    <?php
    }
    add_action('wp_footer', 'temporary_removal_title_tags');
    #1355847
    xxtita
    Participant

    Hi Team Kriesi,
    i was looking for a script, which just removes the tooltip on hover, but not the caption in the lightbox. Found something

    function custom_remove_tooltip_script() { 
    ?>
        <script>
    (function($){
        $("*").hover(function(){
          $(this).removeAttr("title");
        });  
      })(jQuery);
      </script>
        <?php
    }
    add_action('wp_footer', 'custom_remove_tooltip_script');

    funny situation, works fine, just the 1. image in every gallery (easyslider, gallery, masonry), which opens in the lightbox, has no captions at all.

    #1355617

    Hi Mike and Guenni007

    Thanks a lot for your help and contributions.

    Reply on Mike’s https://kriesi.at/support/topic/image-with-hotspots-that-open-image-in-lightbox/#post-1355277
    This solution also works well.

    Your new approach in using the tooltip text is a very nice idea. It’s more convenient to write and edit this text within the hotspot element than editing it in the child’s functions.php. WP authors without access to the functions.php would not able to edit this text if I used the initial approach.

    I implemented Mike’s version (https://kriesi.at/support/topic/image-with-hotspots-that-open-image-in-lightbox/#post-1355413) on my website:

    function popup_tooltips_with_links_erdgeschoss() { 
    if(is_page(559)) {
    ?>
    <script type="text/javascript">
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
       $('#top.page-id-559 .av-image-hotspot_inner').each(function () {
       	var toolTip = $(this).closest('.av-image-hotspot').attr('data-avia-tooltip');
        var cleanTitle =  $(toolTip).text();
    	$(this).attr('title', cleanTitle );
    	$(this).magnificPopup({
        type: 'image',
        image: {
            titleSrc: 'title' 
        }
    });
    });
    })(jQuery);
    });
    </script>
    <?php }
    									 }
    add_action('wp_footer', 'popup_tooltips_with_links_erdgeschoss');
    
    function popup_tooltips_with_links_obergeschoss() { 
    if(is_page(561)) {
    ?>
    <script type="text/javascript">
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
       $('#top.page-id-561 .av-image-hotspot_inner').each(function () {
       	var toolTip = $(this).closest('.av-image-hotspot').attr('data-avia-tooltip');
        var cleanTitle =  $(toolTip).text();
    	$(this).attr('title', cleanTitle );
    	$(this).magnificPopup({
        type: 'image',
        image: {
            titleSrc: 'title' 
        }
    });
    });
    })(jQuery);
    });
    </script>
    <?php }
    									 }
    add_action('wp_footer', 'popup_tooltips_with_links_obergeschoss');
    
    function popup_tooltips_with_links_dachgeschoss() { 
    if(is_page(563)) {
    ?>
    <script type="text/javascript">
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
       $('#top.page-id-563 .av-image-hotspot_inner').each(function () {
       	var toolTip = $(this).closest('.av-image-hotspot').attr('data-avia-tooltip');
        var cleanTitle =  $(toolTip).text();
    	$(this).attr('title', cleanTitle );
    	$(this).magnificPopup({
        type: 'image',
        image: {
            titleSrc: 'title' 
        }
    });
    });
    })(jQuery);
    });
    </script>
    <?php }
    									 }
    add_action('wp_footer', 'popup_tooltips_with_links_dachgeschoss');

    Actually, there are three floor plans. That’s why I use the script three times (with slightly different function names) and address it to the corresponding page id.

    For all of those who want to see how a house tour with floor plans might be realized with Enfold’s image with hotspots media element, here is the link:
    http://www.ferienhaus-alpina.ch/hausbesichtigung


    @Guenni007
    : I’ve also tried your version (https://kriesi.at/support/topic/image-with-hotspots-that-open-image-in-lightbox/#post-1355426) but it didn’t work. Like Mike’s report, the lightbox opens but no image is shown. Any idea how your version could run on my site?

    Kind regards
    Ueli

    #1355615

    In reply to: Hotspot not working

    Hi,

    Thank you for the login info.

    The opacity of the tooltip is always set to 0 for some reason, which is why they are not displaying on hover. To fix the issue temporarily, we added this code in the child theme’s style.css file.

    body .avia-tooltip {
        opacity: 1 !important;
    }
    

    We also disabled the Comet Cache plugin temporarily. Please make sure to purge the cache before testing the page.

    Best regards,
    Ismael

    if these are only images that are not meant to be opend in a lightbox – you can simply remove the titles of the images.
    This is not an enfold setting – it is simple browser behavior to show after a while the title on hovering.
    just put it in the child-theme functions.php:

    function remove_title_attr(){
    ?>
    <script>
    (function($) {
      $(window).on('load', function(){
        $('*[title]').removeAttr('title');
      });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'remove_title_attr');

    __________

    If you need the title for lightbox bottom-bar description – use instead:

    function temporary_removal_title_tags(){
    ?>
    <script>
      window.onload = function() {
          var links = document.querySelectorAll('a,img,div[title]');
          for (var i = 0; i < links.length; i++) {
              var link = links[i];
              link.onmouseover = function() {
                  this.setAttribute("data-tooltip", this.title);
                  this.title = "";
              };
              link.onmouseout = function() {
                  this.title = this.getAttribute("data-tooltip");
              };
              link.onmousedown = function() {
                  this.title = this.getAttribute("data-tooltip");
              };
          }
      };
    </script>
    <?php
    }
    add_action('wp_footer', 'temporary_removal_title_tags');
    #1355462

    In reply to: Hotspot not working

    Hi,

    Thank you for the info.

    We are not aware that there should be a tooltip — the hotspot links are working properly. Please post the WP and FTP login details in the private field so that we can check the issue further.

    Best regards,
    Ismael

    #1355453

    In reply to: Add lightbox manually

    i am not sure if the magnificPopup script supports webp. Unfortunately the developer is not well reachable at the moment; Dmitry Semenov is a Ukrainian developer. The documentation does not say if and if yes how to set it.
    Edit: it does support webp – see webp and jpg : https://enfold.webers-webdesign.de/tooltips/
    But: Enfold supports webp and most modern browser as well : Can I Use
    For all those IE 11 ( and earlier ) users ?

    #1355439

    In reply to: Hotspot not working

    Hi Ismael,

    In the desktop website: What does it do? What do you see?
    It still doesn’t work at this end. I tried Safari, Chrome and Firefox. There should be appearing a tooltip/text.
    It worked fine a few weeks ago.

    Greetings,
    Maureen

    #1355426

    As said above – i had to see the concerning DOM to give exact advice.
    i actually found the takeover of the tags quite nice. So you have even more design options.
    i don’t know why my code is not working on your test page, because the structure has not been changed to Enfold5.
    The difference is – that i use the magnificPopup api to give the popup title a different source.

    Maybe it is because i set the titleSrc to false and have my own markup ( to avoid lightbox counter )

    function popup_tooltips_with_links() { 
    ?>
    <script type="text/javascript">
    (function($){
    $(window).on('load', function(){
        $('.av-image-hotspot_inner').magnificPopup({ 
          type: 'image',
          mainClass: 'avia-popup',
          closeOnContentClick:  false,
          midClick: true,
          gallery: {
          enabled: true
          },
          image: {
            titleSrc: false,
            markup: '<div class="mfp-figure">'+
                        '<div class="mfp-close"></div>'+
                        '<div class="mfp-img"></div>'+
                        '<div class="mfp-bottom-bar">'+
                          '<div class="mfp-title"></div>'+
                        '</div>'+
                      '</div>',
          },
          callbacks: {
            markupParse: function (template, values, item) {
              values.title = item.el.closest('.av-image-hotspot').attr('data-avia-tooltip');
            },
          },
      }); 
    
      $(document).on('click', '.popup-modal-dismiss', function (e) { 
        $.magnificPopup.close();
      });
    });
    })(jQuery);
    </script>
    <?php }
    add_action('wp_footer', 'popup_tooltips_with_links');
    #1355413

    Hi,
    Thanks for sharing Guenni007, I see this working on your site, but on my site, it was opening the overlay but not the image, but I didn’t get any error messages.
    But thanks to you I was able to use some of your code to adjust mine and get it working to use the hotspot tooltip as the lightbox title.

    function popup_tooltips_with_links() { 
    ?>
    <script type="text/javascript">
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
       $('#top.page-id-1386 .av-image-hotspot_inner').each(function () {
       	var toolTip = $(this).closest('.av-image-hotspot').attr('data-avia-tooltip');
            var cleanTitle =  $(toolTip).text();
       $(this).attr('title', cleanTitle );
    $(this).magnificPopup({
        type: 'image',
        image: {
            titleSrc: 'title' 
        }
    });
    });
    })(jQuery);
    });
    </script>
    <?php }
    add_action('wp_footer', 'popup_tooltips_with_links');

    In the above code you’ll see that I added window.addEventListener('DOMContentLoaded', function() { }); this is because on my test site I’m loading the scripts in the header before jQuery, I included it here should someone in the future be loading jQuery in the footer.
    I also added a page ID so it will only work on my test page.
    I also wanted to remove the tags from the titles so I added another variable var cleanTitle = $(toolTip).text();

    Best regards,
    Mike

    #1355407

    i had to see the page it belongs. When seeing numbers on recurring elements i tend to use an index in each function.
    But it is hard to give advice without the concrete page – so maybe Ueli send me an email if he does not like to make the link public.

    Is it similiar to that demo page: https://kriesi.at/themes/enfold-restaurant/reservations/ but with links on the tooltips ?

    try something like this:

    function popup_tooltips_with_links() { 
    ?>
    <script type="text/javascript">
    (function($){
    $(window).on('load', function(){
        $('.av-image-hotspot_inner').magnificPopup({ 
        type:               'image',
        mainClass:          'avia-popup',
        closeOnContentClick:  false,
        midClick:         true,
        gallery: {
          enabled:      true
        },
        callbacks: {
          markupParse: function (template, values, item) {
            values.title = item.el.closest('.av-image-hotspot').attr('data-avia-tooltip');
          },
        },
      }); 
    
      $(document).on('click', '.popup-modal-dismiss', function (e) { 
        $.magnificPopup.close();
      });
    });
    })(jQuery);
    </script>
    <?php }
    add_action('wp_footer', 'popup_tooltips_with_links');

    See: https://enfold.webers-webdesign.de/tooltips/
    ( i did not want on that lightbox a counter – so i got my own markup here )

    If you do not like to show the tooltip:

    .avia-tooltip.av-tt-hotspot {
      display: none !important;
    }
    #1355340

    Hi,
    Yes, I didn’t know what title he would want for each image and I wanted a different title for each image when I tested so that I knew it was working correctly.
    I had thought of getting the tooltip text (data-avia-tooltip) and adding it to the lightbox title, but he is not using the tooltip field so “data-avia-tooltip” was empty.
    I believe getting each hotspot tooltip and adding it to the lightbox title should be something like this:

    (function($){
       $('.av-image-hotspot a').each(function () {
       	var toolTip = $(this).parents('div').eq(1).find('.av-image-hotspot').attr('data-avia-tooltip');
       $(this).attr('title', toolTip );
    $(this).magnificPopup({
        type: 'image',
        image: {
            titleSrc: 'title' 
        }
    });
    });
    })(jQuery);
    

    but it’s not working quite as expected, do you have any ideas? Thanks Guenni007

    Best regards,
    Mike

    #1355051

    Hi Mike,
    thank you for your E-mail. I solved the problem. I created a class for the Tooltip and it work.
    Thank you for your help
    Arantza

    Rikard
    Keymaster

    We’re happy to announce that Enfold 5.0 is finally available. Since this is a major update, we would recommend that users update on a staging or development sites first.

    Please see the change log below:

    New demo: https://kriesi.at/themes/enfold-parallax/

    feature: added position options (responsive) to:
    - Image
    - Button
    - Columns
    
    feature: added "Curtain Reveal Animations" (found in Animations Dropdown) to:
    - Image
    - Columns
    - Masonry
    - Masonry Gallery
    
    feature: added Animations Dropdown to:
    - Button
    
    feature: added parallax option (responsive) to:
    - Image
    - Columns
    
    feature: added transform options (perspective, rotate3d, scale3d, skew, translate3d) (responsive) to:
    - Image
    
    feature: added options to scale (zoom) and opacity for images when slide becomes active:
    - Easy Slider
    - Fullwitdh Easy Slider
    
    feature: minimum column height in % of surrounding layout container
    
    feature: theme option to disallow background image parallax and delayed animations on mobile (Performance Tab) - changed to be allowed by default
    feature: added swipe to all devices supporting touch screens (not only to mobile devices)
    feature: Extended Animations Dropdown with "Advanced Fade Animations", "Special Advanced Animations"
    
    feature: ALB Horizontal Gallery added rotation and styling options
    feature: ALB PostSlider added Navigation Dots
    feature: ALB Testimonial Slider added navigation styling and animation options
    feature: Adjusted options (and new options) for most sliders - under progress:
    - Slider Control Styling
    - Show Navigation Arrows and Dots (or none)
    - Custom colors for Navigation Arrows and Dots
    - Transitions and speed
    - Autorotate, end with last slide
    - Disable/Enable manual rotate (hide corresponding Navigation Arrows)
    
    feature: WPML global layout theme options - keep in sync options for all languages
    feature: added support for RankMath SEO plugin (active beta)
    
    tweak: CSS Burger Menu - remove space above mobile menu in landscape orientation and mobile devices
    tweak: support image links for slideshows with first slides caption as permanent caption
    tweak: option to add "alb templates" to top of page (not only to bottom)
    tweak: add option "Use custom link (fallback is image link)" to ALB Masonry Gallery
    tweak: ALB Tab Section new option "Deeplink String" (Advanced Tab -> Developer Settings) to set a custom link hash
    
    fixed: Block editor and ALB Tab Section have strange behaviour in backend
    fixed: Accordion Slider division by zero if no entries or images
    fixed: Anchor column link not working when set to open in the same window
    fixed: Block editor typography letter spacing not working
    fixed: Google Search only allows 1 tag FAQPage
    
    tweak: jQuery 3.0 remove deprecated $.proxy in all theme files:
    - enfold\config-gutenberg\js\avia_gutenberg.js
    - enfold\config-templatebuilder\avia-shortcodes\slideshow\slideshow.js
    - enfold\config-templatebuilder/avia-shortcodes/slideshow_accordion/slideshow_accordion.js
    - enfold\config-templatebuilder\avia-shortcodes\slideshow_fullscreen\slideshow_fullscreen.js
    - enfold\config-templatebuilder\avia-shortcodes\menu\menu.js
    - enfold\config-templatebuilder\avia-template-builder\assets\js\avia-tab-section.js
    - enfold\config-templatebuilder\avia-template-builder\assets\js\avia-tooltip.js
    - enfold\js\avia.js
    - enfold\js\shortcodes.js
    - enfold\framework\js\avia_sidebar.js
    - enfold\framework\js\conditional_load\avia_google_maps_api.js
    - enfold\framework\js\conditional_load\avia_google_maps_front.js
    - enfold\framework\js\conditional_load\avia_google_recaptcha_api.js
    
    tweak: jQuery 3.0 remove deprecated $.fn.focus() in js\aviapopup\jquery.magnific-popup.js
    
    updated: sync all language files version 5.0 (close to final release)
    updated: Dutch language files nl_NL (version 5.0 provided by EZWebdesign - Roger Hoen )
    
    DEVELOPER:
    
    tweak: support json string for slideshow options in HTML (data-slideshow-json="...")
    
    added conditional body classes: 
    - 'pointer-device-undefined', 'pointer-device-fine', 'pointer-device-coarse', 'pointer-device-coarse-only', 'pointer-device-none', 
    - 'touch-device', 'no-touch-device'
    
    added: class aviaPopupTemplatesPlugins
    
    added: filter 'avf_css_rules_position' - allows to alter position rules top bottom left right
    added: filter 'avf_css_rules_animation_duration' - allows to alter animation-duration rules
    added: filter 'avf_css_rules_animation_delay' - allows to alter animation-delay rules
    added: filter 'avf_css_rules_transition_duration' - allows to alter transition-duration rules
    added: filter 'avf_el_styling_responsive_styles_skip' - skip creating rules on element basis
    added: filter 'avf_get_global_option_keys' - modify global options key attributes before adding to internal logic
    added: filter 'avf_is_global_option' - remove a global option attribute
    
    deprecated: AviaHelper::css_4value_helper() no longer needed
    removed: $.AviaParallaxElement - replaced by AviaObjectParallaxElement in enfold\js\avia-snippet-parallax.js
    
    renamed: function sonar_keyframes -> keyframes
    renamed: filter 'avf_css_rules_sonar_keyframes' -> 'avf_css_rules_keyframes'
    #1354382

    Hi,
    To align the text left, please adjust to this:

    #top .avia-tooltip.avia-icon-tooltip.avia-tt {
        width: 550px;
        text-align: left;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1354380

    Hi,

    thank you.
    I understand: you’re changing the width of the tooltip frame.
    I’d like to have the content (= text) not centered but aligned left.
    Is this possible as well?

    #1354378

    Hi,
    Thank you for the link to your site, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    #top .avia-tooltip.avia-icon-tooltip.avia-tt {
        width: 550px;
    }

    and adjust the width to suit.
    After applying the css, please clear your browser cache and check.
    Please see the screenshot in the Private Content area of the expected results.

    Best regards,
    Mike

    #1354281

    @Mike, thx for your reply.

    tried the CSS, can’t see any difference.
    Tooltip content alignment did not change at all.

    • This reply was modified 3 years, 7 months ago by Nomad.
    #1354249
    Nomad
    Participant

    Hi there,

    I’m using icons within contact forms for tooltips for guiding users what to enter…
    Often longer texts. Might look way better, when aligned left.

    is there any argument on the a.m. shortcode or any other way, I’m capable to handle?
    pls consider: I’m not a pro.

    Regards,

    Nomad

    #1354191

    Hi,
    Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    .avia-tooltip .inner_tooltip {
      font-size: 1.5em;
      line-height: 1.65em;
      color: #fff;
    }
    #top .av-tt-large-width {
        width: 350px;
    }
    .main_color .avia-tt, .main_color .avia-tt .avia-arrow, .main_color .avia-tt .avia-arrow {
        background-color: #add4ef;
    }

    2022-06-04_012.jpg
    Feel free to adjust to suit.
    After applying the css, please clear your browser cache and check.
    If this still doesn’t work for you then we will need to see your example so we can examine, so please create a test site online.

    Best regards,
    Mike

    #1354115

    Hi, the page is not online yet. I tested it on the quick CSS.
    I could customize addin html-code on each tooltip, but I’d prefer adding it to css

    #1354029

    I also would like to change the width of the tooltip

    #1354025

    the setting on default is:

    .avia-tooltip .inner_tooltip {
      font-size: 0.925em;
      line-height: 1.65em;
    }
Viewing 30 results - 211 through 240 (of 2,320 total)