Forum Replies Created

Viewing 30 posts - 1 through 30 (of 35,134 total)
  • Author
    Posts
  • in reply to: Manage WP Layer slider appearance laptop mobile #1495844

    Hi,
    Glad that we could help, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    in reply to: Manage WP Layer slider appearance laptop mobile #1495840

    Hi,
    I got the IDs from the page code using the Dev Tools
    When I check today “Alex” is not italic:
    qzVt2Se.md.png
    Please clear your cache and check.

    Best regards,
    Mike

    Hi,
    Try this instead:

    add_filter( 'avf_contact_form_autoresponder_mail', function( $mail_array, $new_post, $form_params, $form_obj ) {
        if ( ! isset( $mail_array['Message'] ) ) {
            return $mail_array;
        }
    
        $message = $mail_array['Message'];
    
        $separators = [ '<hr', '———' ];
    
        foreach ( $separators as $sep ) {
            $pos = strpos( $message, $sep );
    
            if ( $pos !== false ) {
                $mail_array['Message'] = rtrim( substr( $message, 0, $pos ) );
                return $mail_array;
            }
        }
    
        $pattern = '/<br\s*\/?>\s*(?:Ihre Nachricht|Anrede|Vorname|Nachname|E-Mail|Thema|Nachricht)\s*:?/i';
    
        if ( preg_match( $pattern, $message, $matches, PREG_OFFSET_CAPTURE ) ) {
            $mail_array['Message'] = rtrim( substr( $message, 0, $matches[0][1] ) );
        }
    
        return $mail_array;
    }, 10, 4 );

    Or this:

    add_filter( 'avf_contact_form_autoresponder_mail', function( $mail_array, $new_post, $form_params, $form_obj ) {
        if ( ! isset( $mail_array['Message'] ) ) {
            return $mail_array;
        }
    
        $message = $mail_array['Message'];
    
        $separators = [ '<hr', '———' ];
    
        foreach ( $separators as $sep ) {
            $pos = strpos( $message, $sep );
    
            if ( $pos !== false ) {
                $mail_array['Message'] = rtrim( substr( $message, 0, $pos ) );
                return $mail_array;
            }
        }
    
        $pattern = '/(?:<br\s*\/?>)?\s*Ihre Nachricht\s*:?|<br\s*\/?>\s*(?:Anrede|Vorname|Nachname|E-Mail|Thema|Nachricht)\s*:?/i';
    
        if ( preg_match( $pattern, $message, $matches, PREG_OFFSET_CAPTURE ) ) {
            $mail_array['Message'] = rtrim( substr( $message, 0, $matches[0][1] ) );
        }
    
        return $mail_array;
    }, 10, 4 );

    Best regards,
    Mike

    in reply to: Manage WP Layer slider appearance laptop mobile #1495836

    Hi,
    Thanks, I found that your IDs in the css were not correct, this is how I corrected it:

    @media only screen and (min-width: 768px) {
        #layer_slider_1  { display: block !important; }
        #layer_slider_2 { display: none !important; }
    }
    
    @media only screen and (max-width: 767px) {
        #layer_slider_2 { display: block !important; }
        #layer_slider_1  { display: none !important; }
    } 

    Best regards,
    Mike

    Hi,
    The issue is that newer versions of jQuery (1.9+) no longer support the old CSS selector syntax using bare # characters. We need to escape them properly. This is the updated code that I added to your site, I also changed the offset to match your header height.

    function slow_scroll_to_anchor() { ?>
      <script>
    (function($) {
      $('a[href*="#"]:not([href="#"])').click(function() {
        var width = $(window).width()
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') 
    && location.hostname == this.hostname) {
    
          var target = $(this.hash);
          target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
          if (target.length) {
            if ($(window).width() < 768) {
              $('html,body').animate({
                scrollTop: target.offset().top - 150
              }, 1000);
              return false;
            } else {
              $('html,body').animate({
                scrollTop: target.offset().top - 250
              }, 1000);
              return false;
            }
          } 
        }
      });
    
      // Executed on page load with URL containing an anchor tag.
      var hash = location.href.split("#")[1];
      if (hash) {
        var target = $('#' + hash);
        if (target.length) {
          if ($(window).width() < 768) {
            $('html,body').animate({
              scrollTop: target.offset().top - 150
            }, 1000);
          } else {
            $('html,body').animate({
              scrollTop: target.offset().top - 250
            }, 1000);
          }
        }
      }
    }(jQuery));
    </script>
      <?php
    }
    add_action( 'wp_footer', 'slow_scroll_to_anchor', 99 );

    Please clear your cache and check.

    Best regards,
    Mike

    in reply to: Manage WP Layer slider appearance laptop mobile #1495833

    Hi,
    Please link to your page so we can examine. Please ensure that you have cleared your browser cache, any cache plugins, and any server or CDN cache. Also note that if you have a css error above this css, such as a missing bracket, it will break any css that follows.

    Best regards,
    Mike

    Hey ivancazzol,
    Please note that the Grid element gets it’s height from the elements inside of it, so on mobile, when the top grid row is stacked the right side cell that only has a background image, that shows below the first cell, will have no height. In our demo it has has another image element in it the “Parallax” text
    qzzmwb4.png
    To correct yours, add a Whitespace (hr) element with a min-height that you want it to be, perhaps 200px or so.

    Best regards,
    Mike

    in reply to: Icon Tooltip using Theme Shortcode #1495828

    Hi,
    Glad to hear that you have this sorted out, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    in reply to: Transparent header on desktop but not on Mobile #1495827

    Hey Sebastian,
    A mobile transparent header is not an option in the theme, it can be achieved with custom css. There is not one solution for all sites, so you may need to adjust the top margin some:

    @media only screen and (max-width: 766px) { 
    .responsive #top #main {margin-top: -80px!important;} 
    #top #wrap_all .av_header_transparency {background-color: transparent!important;}
    div#header_main > .container {display: block !important;}
    } 

    Best regards,
    Mike

    Hi,
    Version 7.15.1 is the correct version in Enfold 7.1.4, version 8.2.0 came available on Mar 2, 2026, after our last update.
    The bundled version of LayerSlider can only be updated with theme updates, which we do depending on our own release cycle and depending on critical updates, and what the LayerSlider team shares with us, as it is a special “bundled version”. Users cant update the bundled version of the layerslider, even if actived.
    However, if a user wishes to update before the next theme update, they can simply purchase a full version of the layerslider and upload it as a plugin and activate it.

    See our documentation here: How LayerSlider Updates work in Enfold

    Best regards,
    Mike

    Hi,
    Glad that Ismael could help, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    Hi,
    Unfortunately my test site is on a local host, so you won’t be able to login.

    Best regards,
    Mike

    Hi,
    Glad that Yigit could help, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    in reply to: Published portfolio items ‘not found’ #1495747

    Hi,
    Glad that you were able to find a solution, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    Hi,
    Thanks, but disabling your plugins did not help, as you had posted earlier. I also created a test page and imported my simple test page, but it still bounced. I’m not sure what could be causing this, but I noticed that your PHP version is 8.2.30-nmm1, but there is no official version with -nmm1, perhaps this is a custom version? I can’t imagine that a PHP version would cause this, but it seems to be the only difference between our two sites. My PHP version is 8.3.28
    Do you have that as a PHP version, or one without the -nmm1?

    Best regards,
    Mike

    Hi,
    Thanks, I was able to export your page to my test site and all five buttons worked fine with no bouncing.
    Can I disable your plugins? I don’t see any other scripts or custom functions on your site, so I’m not sure what else might be causing this behavior.

    Best regards,
    Mike

    Hi,
    It looks like it needs a login, please update permissions

    Best regards,
    Mike

    Hi,
    Please upload the pdf to your dropbox, google drive, etc and then add the link to it in the private content field. Please ensure that we can view it without a login.
    I have tagged Yigit to this thread so he can review it.

    Best regards,
    Mike

    Hi,
    Glad that Ismael could help, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    Hi,
    To make it dark, like the one above it, remove these two classes fron the button code: avia-color-theme-color avia-font-color-theme-color and add this one avia-color-light.

    Best regards,
    Mike

    in reply to: Icons next to correct text #1495673

    Hi,
    Try this css:

    .page-id-4370 #av_section_2 .iconbox_content_container p {
    	margin: 0;
    }

    Then clear your browser cache.

    Best regards,
    Mike

    in reply to: Icon box columns same height #1495672

    Hi,
    With the custom class that you added: av-icon-box-same-height it will only work on those icon boxes, not over your whole site. I didn’t see the function added to your functions.php so I added it for you and it is working:
    qBqkZaS.md.png
    Please check.

    Best regards,
    Mike

    in reply to: Image does not open video in Lightbox #1495671

    Hi,
    Glad that we could help, and thanks to Guenni007 for the solution. If you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    in reply to: horizontal gallery pic enlarge #1495670

    Hi,
    Glad that we could help, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    in reply to: Mobile view – Hero text position #1495669

    Hi,
    Thanks, glad that we could help, if you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

    Hi,
    I was not able to login to your site, as the typically login url is not working /wp-admin/ I assume that you have set a custom one.
    I tried to recreate your page on my site with five color sections, each 100vh and with a button and a contact form at the bottom. All five buttons work with no bouncing.
    Please share your login url and Enable the Avia Layout Builder Debugger to your functions.php file. You may need to scroll the documentation page to the Debug mode section or use the sidebar TOC link.
    With this I can copy your page exactly and add it to my test site to see if the same error occurs there.

    Best regards,
    Mike

    in reply to: woo commerce breadcrumbs #1495645

    Hi,
    I can not view your page as it is maintenance mode. You can not use the advanced layer builder on category pages.
    But we can change the Prints link in the breadcrumb to your prints page instead of the new prints page that you want to use as a custom category page.
    So the first step is to add a new product category “Prints” and make it the parent of any other category that you wish for it to show in the breadcrumb trail.
    Then add this code to your child theme functions.php 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: fUcTO4R.jpg then add the code below and save.

    function change_breadcrumb_trail() { ?>
      <script>
    document.addEventListener('DOMContentLoaded', function() {
    const printsLink = document.querySelector('.breadcrumb-trail a[href="http://enfold.test/product-category/prints/"]');
    
    if (printsLink) {
      printsLink.href = 'http://enfold.test/prints/';
    }
    });
    </script>
      <?php
    }
    add_action( 'wp_footer', 'change_breadcrumb_trail', 99 );

    Ensure that you change the URLs in the code above to your site, and make sure to use the full URL.

    Best regards,
    Mike

    in reply to: woo commerce breadcrumbs #1495640

    Hey Munford,
    To add breadcrumbs to the category pages go to Theme Options > Header > Header Layout > Header Title and Breadcrumbs
    qq0o6cx.md.png
    It shows on my site:
    qq00kCv.md.png
    Since you are not using the Shop page, try creating a blank “Prints” page and then go to WooCommerce > Settings > Products > General > Shop page and choose it. Then “Prints” will show in the breadcrumbs on the category pages:
    qq13DTg.png
    and on the product pages:
    qq1KjJS.md.png
    Or you could add a new product category “Prints” and make it the parent of any other category that you wish:
    qq1TKQI.md.png
    and will also show in the breadcrumbs:
    qq1uSUu.png

    Best regards,
    Mike

    Hey A1city,
    The demo images were purchased with an extended license from Photodune.net (the Envato Stock website) with some images from peopleimages.com that are Royalty Free Images. I’m not sure exactly which site that image is from, but I think it’s from Photodune.net due to it’s age.
    See this thread: https://kriesi.at/support/topic/abmahnung-wegen-bildrechtverstos/
    Kriesi states that his extended license allows end users to use the images in the theme, but not outside the theme.
    If you want to have your own license to images on your site for future reference, there are many Royalty Free Images sites, this would also ensure that you site doesn’t look exactly like the demo and other sites that use the same demo. Just a thought.

    Best regards,
    Mike

    in reply to: Mobile view – Hero text position #1495637

    Hi,
    To shrink the header and logo on mobile scroll I added this css to the end of your Quick CSS field:

    /* mobile shrinking header */
    @media only screen and (max-width: 767px) {
    #top #header:not(.av_header_transparency) #header_main > .container {
    	 height: 70px !important;
       line-height: 70px !important;
    }
    .responsive #top #header:not(.av_header_transparency) .logo img {
       height: 60px !important;
    }
    .responsive #top #wrap_all #header:not(.av_header_transparency) .main_menu {
        top: -12px;
    }
    }

    adjust to suit.
    As for moving the logo up away from the text try this css and adjust to suit:

    .responsive #top #header .logo img {
    top: -10px;
    }

    but you don’t have much room in the header, so you may need to adjust the previous css that changed the size of the logo to suit, I can not because I don’t see the same as you do, to me it looks like plenty of room:
    qqcZE5N.png

    Best regards,
    Mike

Viewing 30 posts - 1 through 30 (of 35,134 total)