Viewing 30 results - 61 through 90 (of 141,784 total)
  • Author
    Search Results
  • #1486042

    In reply to: lightbox issues

    the code snippet will work on your page for all images. Even on that graphics page.
    But if you create these images in a different way – and i see some Enfold Lightbox on paintings page we had to find then a different solution.
    But if you use the same way like on mixed media and graphics page – the code will work there too.

    But as mentioned – it would be nice to have a fallback for the bottom-bar title on lightbox. my advise – and not only for seo purpose – give an alt tag to your images via media library.

    and use that snippet with fallback alt -tag as title inside bottom-bar:

    Edit
    this checks if original image is present and if widget-text or alt is present :

    function mixed_media_lightbox() {
    ?>
    <script type="text/javascript">
    window.addEventListener("DOMContentLoaded", function () { 
    (function($){
        $('.widget_media_image').magnificPopup({
          delegate: 'img',
          type: 'image',
          removalDelay: 500,  // to allow animated closing in ms
          mainClass: 'avia-popup mfp-zoom-in mfp-image-loaded mixed-media',  
          midClick: true,
          gallery: { 
            enabled:true,
            preload: [1, 1] ,
          },
          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 class="mfp-counter"></div>'+
                        '</div>'+
                    '</div>',
            },  
            callbacks: {
              elementParse: function(item) {
                var originalSrc = item.el.attr('src');
                var fullSizeSrc = originalSrc.replace(/-\d+x\d+\./, '.');
    
                // Create a temporary image object to check whether the full resolution exists
                var img = new Image();
                img.onload = function() {
                  item.src = fullSizeSrc;
                };
                img.onerror = function() {
                  item.src = originalSrc;
                };
                img.src = fullSizeSrc;
                item.src = originalSrc;
              },
    
              markupParse: function (template, values, item) {
                var title = ''; // Initialize title as an empty string. This is our default fallback.
    
                // 1. Highest Priority: Check for content from a nearby .widget_text element
                var textWidget = item.el.closest('.panel-grid-cell').find('.widget_text');
                if (textWidget.length && textWidget.html().trim() !== '') {
                  title = textWidget.html();
                } else {
                  // 2. Second Priority: If no text widget, check the image's alt attribute
                  var altAttribute = item.el.attr('alt');
                  if (altAttribute && altAttribute.trim() !== '') { // Checks if exists AND has non-empty content
                    title = altAttribute;
                  } else {
                    // 3. Third Priority: If no alt, check the image's title attribute
                    var titleAttribute = item.el.attr('title');
                    if (titleAttribute && titleAttribute.trim() !== '') { // Checks if exists AND has non-empty content
                      title = titleAttribute;
                    }
                  }
                }
    
                // Finally, assign the title to values.title, wrapping it in <h3> ONLY if there's content
                if (title) {
                  values.title = '<h3 class="heading">' + title + '</h3>';
                } else {
                  values.title = ''; // If no title was found at all, ensure nothing is displayed
                }
              },
            },
        });
    })(jQuery);
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'mixed_media_lightbox', 9999);

    And

    #top .mixed-media .mfp-image-holder .mfp-content {
      max-width: 1200px; 
      box-sizing: border-box; 
      padding-bottom: 90px; 
      vertical-align: middle; 
    }
    
    #top .mixed-media .mfp-bottom-bar {
      margin-top: -36px;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      cursor: auto;
      background-color: rgba(0,0,0,0.3);
      backdrop-filter: blur(4px);
      padding: 5px 10px;
    }
    
    #top .mixed-media .mfp-bottom-bar .mfp-counter {
      right: 5px
    }
    
    #top .mixed-media .mfp-content img.mfp-img {
      width: auto;
      max-width: 100%;
      max-height: 90vh !important;
      height: auto;
      display: block;
      line-height: 0;
      box-sizing: border-box;
      padding: 40px 0 40px;
      margin: 0 auto;
    }
    
    #top .mixed-media .mfp-content .mfp-title .heading * {
      font-weight: 400 !important;
    }
    
    #top .mixed-media .mfp-content .mfp-title .heading p {
      margin: 0.3em 0;
    }
    
    #top .widget_media_image img {
      cursor: pointer;
    }
    #1486039

    Hey minhndq,
    Duplicate thread for https://kriesi.at/support/topic/flatpickr-date-picker-year-dropdown-not-displaying-in-fluent-forms/#post-1485947
    We will close this one.

    Best regards,
    Mike

    #1486036

    In reply to: lightbox issues

    this is the main crux:

    elementParse: function(item) {
              item.src = item.el.attr('src').replace( /-\d*x\d*\./, '.' );
    },

    in the callback function. The image link comes now from the src attribute.

    because of that extra class on mainClass you can individually set :
    see final solution at: https://kriesi.at/support/topic/lightbox-issues-2/#post-1486042

    #1486035

    In reply to: lightbox issues

    not familiar with site origin – but with the magnificPopup script ;)

    but you can have your own lightbox script for those pages – using the magnificPopup :

    Edit: see final solution at: https://kriesi.at/support/topic/lightbox-issues-2/#post-1486042

    your img tags have no title nor alt attributes – but we can use the following description.

    #1486027

    Hello, Yes I have desactivated the mega menu and still have the same problem. I cannot set a different menu for desktop and mobile. This is really driving me crazy, we’re considering abandoning this theme because of this major issue. From what I see on the Internet, it seems super easy and we’ve been trying to work this out for months now! I’m getting tired of this issue. Can you help please? Thx Alexandra

    #1486007

    Hi,

    This is how the site looks on an actual mobile device, identical to the desktop view:

    View post on imgur.com

    Best regards,
    Ismael

    Hey Bpelzer,

    Thank you for the inquiry.

    Adding this css code should help move the copyright text below the image, but it will create a bit of extra space below the slider.

    #presse .av-horizontal-gallery {
        padding-bottom: 120px;
    }
    
    #presse .presse-galerie .av-image-copyright {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
        padding-top: 0;
    }
    
    #presse .presse-galerie .av-horizontal-gallery-wrap {
        overflow: visible;
        padding-bottom: 50px;
    }

    View post on imgur.com

    Best regards,
    Ismael

    #1486002

    Hi,

    Thank you for the update.

    We already set the width to 80px, but it seems to be overridden by the default styles. Try to replace the selector “.contact-form :is([type=submit], button:not([type=reset]))” with “#top #wrap_all .contact-form :is([type=submit], button:not([type=reset]))”.

    Let us know the result.

    Best regards,
    Ismael

    #1485981

    Hey faroestudio,
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function change_posts_titles_from_h3_to_h2_in_grid_view() { ?>
      <script>
    (function($) {
      $(function() {
        function replaceElementTag(targetSelector, newTagString) {
          $(targetSelector).each(function(){
            var newElem = $(newTagString, {html: $(this).html()});
            $.each(this.attributes, function() {
              newElem.attr(this.name, this.value);
            });
            $(this).replaceWith(newElem);
          });
        }
        replaceElementTag('.slide-entry-wrap h3.slide-entry-title.entry-title ', '<h2></h2>');
      });
    }(jQuery));
    </script>
      <?php
    }
    add_action( 'wp_footer', 'change_posts_titles_from_h3_to_h2_in_grid_view', 99 );

    If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    use wpcode php snippet and activate
    and ensure that it is activated, then add the above code and save.

    Best regards,
    Mike

    #1485970

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1485962

    Topic: Logo as SVG

    in forum Enfold
    Bpelzer
    Participant

    Hello,
    I am struggling with the horizontal image gallery. I would like to show some text below each image and I am using “image copyright”, because I found no other possibility. The problem is, that it should show up below the image, and not on it. To get this working I used the following code:
    .presse-galerie .av-image-copyright {
    position: relative;
    padding-top: 10px;
    }
    Where .presse-galerie is my class for the gallery.
    This works for desktop view. But unfortunately not in tablet or mobile mode. My copyright text will displayed on the image and is not readable.

    Another issue is, that the horizontal gallery is not really responsive. It only works well in desktop mode. But on smaller screens images are badly cropped. Could you please provide some CSS to make this elements responsive?

    Thanks, Bettina

    #1485958
    raslade
    Participant

    Hi there

    I’m building a site where I’ve set the overlays to show permanently as they use a svg as a design element. See the link for example. The problem is on mobile, the overlays don’t show up.

    #top .slide-entry a .image-overlay {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        overflow: visible !important;
        opacity: 1 !important;
    }

    Any help would be very much appreciated
    Richard

    #1485950
    jugalbandi3
    Participant

    Hi,

    We observed duplicate id-attributes in the mobile menu (hamburger-menu), similar to what is described in

    This came up when trying to check and optimize website-compatiblity for screenreaders. Nodes of the main menu are copied over to the hamburger-menu. svg-icons (for the search) contain id-attributes which simply get duplicated – but obviously need to be transformed to become unique again.

    A modification of this copy-behaviour would for example be possible in
    wp-content/themes/enfold/js/avia-snippet-hamburger-menu.js
    in function normalize_layout().

    Quick-and-dirty code for those replacements:
    There was:
    var menu2 = $(‘#header .main_menu’).clone(true),
    ul = menu2.find(‘ul.av-main-nav’),
    id = ul.attr(‘id’);

    We then added lines to search for the corresponding nodes in the HTML with jQuery and make replacements for all hits. ‘-hamburger’ is appended to the IDs.

    var toChange;
    toChange = menu2.find(‘[id^=av-svg-desc-‘);
    toChange.each(function() {
    $(this).attr(‘id’, $(this).attr(‘id’) + ‘-hamburger’);
    });
    toChange = menu2.find(‘[id^=av-svg-title-‘);
    toChange.each(function() {
    $(this).attr(‘id’, $(this).attr(‘id’) + ‘-hamburger’);
    });
    toChange = menu2.find(‘[aria-labelledby^=av-svg-title-‘);
    toChange.each(function() {
    $(this).attr(‘aria-labelledby’, $(this).attr(‘aria-labelledby’) + ‘-hamburger’);
    });
    toChange = menu2.find(‘[aria-describedby^=av-svg-desc-‘);
    toChange.each(function() {
    $(this).attr(‘aria-describedby’, $(this).attr(‘aria-describedby’) + ‘-hamburger’);
    });

    It’s quite an edge case, but could potentially irritate a screen reader.

    #1485945
    Daniel Stanford
    Guest

    Beloved website owner,

    I’m Daniel from the USA, and I’ve been helping businesses around the world with professional web and app design services since 2012.

    I recently visited your website and noticed a few areas where improvements could significantly enhance user experience—especially for mobile users. Additionally, it appears the site may not meet current web security and Google compliance standards.

    The good news? These are all fixable. A modern redesign would not only make your site more mobile-friendly but also improve speed, usability, and overall performance—ultimately supporting your business growth.

    If you’re interested, I’d be happy to share samples of my past work, client testimonials, service details, and a brief company profile.

    Looking forward to hearing from you!

    Best regards,

    Daniel Stanford
    Web Design Algorithms
    (Email address hidden if logged out)

    Respond with stop to optout.

    #1485934
    oestersund
    Participant

    Dear team,
    on my page below I use on the very top a color section with 1/1 box inside. I need to change the parallax effect of this box: Now it disappears to the very top, but it shall longer be visible at scrolling, i.e. it shall move down. But I did not find a way to realize this. Menu does not offer a reverse movement and +/- are only changing the speed.

    Would be great to know how this can be realized

    thx a lot & best regards Tilman

    #1485931

    Hey profumopuntoit,

    Thank you for the inquiry.

    You can add this css code to adjust the width and height of the SVG icons.

    .responsive #top #wrap_all .menu-item-search-dropdown >a > svg {
        width: 24px;
        height: 24px;
    }
    
    .responsive #top #wrap_all #menu-item-shop .cart_dropdown_link .av-cart-container svg {
        width: 24px;
        height: 18px;
    }
    

    Let us know the result.

    Best regards,
    Ismael

    #1485926
    torture4
    Participant

    Hi. Google maps has suddenly stopped working on my site, and the API I created before has been deleted by Enfold somehow.

    Now I can’t create a new API, because the “Register an API Key” link from inside the Enfold goes to a dead page, that just says “The link that you followed was not configured correctly. Required URL parameter apiid is missing”. What gives?

    This is a total mess.

    #1485921

    You are still using an outdated version of Enfold there. You should update the theme to match the current WordPress version, which uses a newer jQuery. You might want to get help with this. Enfold 4.5.7 and 7.1.1 are quite different, so you may need to customize it further then. At the very least you should have a full backup of your site. I recommend updating as follows: https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107

    #1485910
    Katie
    Guest

    Regarding this question, sorry I’m not able to reply.

    So does this mean then that the child theme will work once updated, thanks

    #1485908

    Hey Katie,

    Your site is running a very old version, so it needs to be updated. You can only purchase it at Themeforest, not directly from us. Once you have access to the theme files, then the update to 7.1.1 has to be done manually from the version you are running, please refer to my replies in this thread: https://kriesi.at/support/topic/enfold-4-5-theme-update-update-failed-download-failed-a-valid-url-was-not-pro/#post-1021541
    You can either update manually via FTP: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update, or upload the theme as if it was new under Appearance->Themes->Add New Theme.
    If that doesn’t work then please try to delete the whole theme folder, then replace it with the new version. Make sure that you have backups of the site before starting updating.
    Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/

    Best regards,
    Rikard

    onlineprodcontent
    Participant

    So I have Enfold 6.x / LS 7.12.4 on our live site, and Enfold 7.1.1 / LS 7.14.4 on a staging clone.

    On both sites, I can open the wp-admin/admin.php?page=layerslider main admin page. But I can not edit a single LayerSlider slide any more. We rarely do this, so I don’t know when it stopped working.

    When loading a slider for editing, the blue loading layer of LayerSlider just stays on top forever. No JS Console messages, and even with WP DEBUG enabled, no serverside errors or messages.
    On the LayerSlider Admin page, an update of LS is announced, this is of course not yet included in Enfold. Would that solve the problem? What else could resolve this problem?
    Regards
    Ulrich

    #1485887
    ellkam
    Participant

    Hi Kreisi team,

    I’ve tried everything: perplexity, forums, trial and error: I’m not getting anywhere. I have been embedding annual reports as posts on the homepage of the http://www.kms-kleve.de website for a few years now. This year, the post image of the 2024 annual report is suddenly cut off at the top and bottom.
    I have tried the following so far:

    – Duplicating the 2022 annual report in the backend and simply replacing the images (in the same format and size)
    – Tried various settings in the Enfold blog settings
    – In WordPress, set the image sizes for import in height to ‘0’
    – Deleted image and reloaded
    – Deleted and reloaded the entire post
    – Deleted, deleted, deleted caches
    – Post recreated with Avia
    – Post recreated with the standard editor

    The image of the annual report 2024 is not displayed in the desired size – as with the other annual reports. The image should be displayed in full size like the others. What is the error? Thank you for your help!

    Best regards, Lutz

    #1485884

    In reply to: PAGESPEED / LCP

    Hi,

    Thank you for the update.

    The desktop score is now 98, and 80 on mobile. CLS is now resolved, but there’s still an LCP issue, which now points to the text element below the first gallery. It will probably help to further reduce the size of the background image (kuechen-schmidt_edelstahl_footer-bg.jpg), which is still 43KB and larger than necessary. Optimizing the slider images such as kuechen-schmidt_stellenanzeige_Technischer-Koordinator_2406.webp (88KB), kuechen-schmidt_service-check_kundenzufriedenheit-1-300×150.jpg (32KB), along with the others would also help.

    Best regards,
    Ismael

    #1485877

    In reply to: PAGESPEED / LCP

    Thanks for the tip – that made me realize the actual error in the header. The background image in the header is only 1920px and only 8KB via WebP. Before, I had 2500px with 15KB because of large displays/Retina => both shouldn’t be a problem with Insights. But: at the top of the second header with the phone number, the old jpg version was still embedded via CSS at an incredible 32KB :D
    Hope that helps.

    I’ve used the other CSS.

    I’ll let you know after a few tests.

    #1485875

    Hey Tilman,

    Thank you for the inquiry.

    The overlay option is not available for the Easy Slider element by default, but you can recreate the same effect using this css code.

    .avia-slideshow .avia-slide-wrap:before {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 10;
        position: absolute;
        left: 0;
        top: 0;
    }
    

    Let us know if you need more info.

    Best regards,
    Ismael

    #1485873

    Hey tonyiatridis,

    Thank you for the inquiry.

    To adjust the color of the testimonial arrow, please add this css code:

    .avia-testimonial-arrow-wrap .avia-arrow {
        background-color: #c8cedd !important;
        border-color: #c8cedd;
    }

    The text or span element in the testimonial content has inline styling, so you’ll need to remove it in order to assign a different text color.

    <span style="color: #808080;">“When it comes to customer service, Brookwood Construction is top notch.&nbsp; I have a great level of comfort knowing Brookwood is behind the wheel, driving the project to completion.”</span>
    

    Remove this part:

     style="color: #808080;"
    

    Let us know the result.

    Best regards,
    Ismael

    kurson
    Participant

    HI.

    For the About Page I have 2 versions of the Fullwidth Easy Slider. The first row includes the original Slider, now set up for Desktop mode. I have a duplicate slider underneath, set-up for Tablet mode and a third slider now set up for mobile mode. NOTE: the caption title and caption text will not display for tablet mode. The caption text will not display for mobile mode (the 2nd duplicate slider).

    NOTE: I had been using 1 slider for the page however the text truncated for all modes save for desktop mode, thus the reason for creating two duplicate sliders on the About page.

    Please advise on how to resole the issue with the text not appearing. Note: presently i am using place hoder text for the tablet slider.

    Note: the page in question is: https://blgenvironmental.com/about/

    You have permission to enter the dashboard and edit the About page.

    oestersund
    Participant

    Dear team,
    on my Dev. page below I use the full width slider in the top section. I wan t to avoid font animation and font background – but was not able to find, how. Can you help? thx a lot & best regards Tilman

Viewing 30 results - 61 through 90 (of 141,784 total)