Forum Replies Created

Viewing 30 posts - 4,261 through 4,290 (of 35,007 total)
  • Author
    Posts
  • in reply to: Page Builder Issue #1432951

    Hi,
    Thanks for the feedback, but unfortunately we don’t have any inside knowledge about your issue, typically the steps above like database connections & memory solve this.
    It’s odd that your site is giving an exhausted memory size error for your gravityforms plugin, I can only recommend trying to find the cause for your error on the admin-ajax.php

    Best regards,
    Mike

    in reply to: Page Builder Issue #1432945

    Hi,
    Oh, I misunderstood, I thought that you were saying that the plugin was causing the admin-ajax.php 403 (Forbidden) error. Perhaps disabling it along with your other plugins would be a good test. I note in your log above there are a few errors for the gravityforms plugin as it has exhausted the memory size
    It also looks like you downgraded your PHP to v7.3.33, I thought before you were using v7.4?
    Perhaps your plugins require v8, have you tried that?

    Best regards,
    Mike

    in reply to: Measure Enfold Contactform Submissions with GTM #1432944

    Hi,
    The ID result_ajax_response_1 is only in the page DOM after the contact form is submited and won’t be there on the page load.
    Note that this is inside on the ajaxresponse_1 ID, and on page load ajaxresponse_1 is empty.
    I’m not sure what your options are with Page Patch criterium in GTM but perhaps you can also get the page ID so you will know what page it is.
    You could also add a custom field to your pages which could be added to the body classes for better information than the page ID, see this thread for an example.

    Best regards,
    Mike

    in reply to: Page Builder Issue #1432942

    Hi,
    Glad to hear that you have sorted this out, I don’t see anything specific that stands out in the log the you posted.
    What is the name of the custom login plugin that you were using?

    Best regards,
    Mike

    in reply to: can I use classic or gutenberg editor on the enfold theme #1432941

    Hey Phil,
    Thank you for your question, you can use the Classic Editor or the Block Editor, “Gutenberg” in Enfold and not use the Advanced Layout Builder if you wish.
    But you will not be able to use any of the ALB elements or edit the layouts from our demos.

    Best regards,
    Mike

    in reply to: Request to check page editing errors (Avia Layout Builder) #1432928

    Hi,
    We still are not allowed
    Enfold_Support_4624.jpeg

    Best regards,
    Mike

    in reply to: scroll-margin-top & scroll-padding-top css properties #1432926

    Hi,
    For mobile try this slow scroll to anchor with offset function in your child theme functions.php, I tested in on your page by injecting it in the browser and it seemed to work well.

    function slow_scroll_to_anchor_with_offset() { ?>
      <script>
    (function($) {
    	var width = $(window).width();
        if ((width <= 767)) {
      $('a[href*=#]:not([href=#])').click(function() {
        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) {
            $('html,body').animate({
              scrollTop: target.offset().top - 80 //offset
            }, 1000);
            return false;
          }
        }
      });
      //Executed on page load with URL containing an anchor tag.
      if($(location.href.split("#")[1])) {
          var target = $('#'+location.href.split("#")[1]);
          if (target.length) {
            $('html,body').animate({
              scrollTop: target.offset().top - 80 //offset
            }, 1000);
            return false;
          }
        }
        } else {}
    }(jQuery));
    </script>
      <?php
    }
    add_action( 'wp_footer', 'slow_scroll_to_anchor_with_offset', 99 );

    Best regards,
    Mike

    in reply to: Page Builder Issue #1432925

    Hi,
    If you are still getting the admin-ajax.php 403 (Forbidden) then try the common fixes, and if that doesn’t help then check with your webhost if they can see a cause in your error logs.
    I see now your custom login url is a 404 as well as the standard WP login url, and it makes me think that perhaps this customization is breaking how the backend admin-ajax.php is being called or loaded. Try disabling this customization. Perhaps the key is in what is different with this install and the others that don’t have an issue, are that all on the same server, same plugins and customization, etc. There is probably something small and different that is causing this.

    Best regards,
    Mike

    Hi,
    Glad to hear that you have this sorted out, and thanks for sharing the plugin causing the conflict. If you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Request to check page editing errors (Avia Layout Builder) #1432922

    Hi,
    Thanks for the login, but unfortunately we get a “forbidden” error so we can not login.
    I see on your page that you have some random “P” tags and “br” between the elements, did you also edit or open the page with a difference editor such as the Block Editor?
    Please note that when you create a page with the Advanced Layout Builder you should not edit it with any other editor.
    So now you could try Enabling the Avia Layout Builder Debugger and try to remove the random “P” tags and “br” between the elements. If you have trouble with this then try to allow us to login to your site, otherwise you may need to create a new page and only use the Advanced Layout Builder to edit it.

    Best regards,
    Mike

    Hi,
    Glad to hear that disabling the plugins has put you on the right path, after you find which one it was please post it here as it may help future users that have this issue.

    Best regards,
    Mike

    Hi,
    I’m not seeing a top margin for the first .flex_column_table, only after the first one. Are you hiding the first one with some custom css? Please link to your page so we can examine, perhaps you have a different issue.
    The latest version is now v5.6.10

    Best regards,
    Mike

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Page Builder Issue #1432904

    Hi,
    Thank you for your patience and the link to your site, I notice in your WordPress ▸ Dashboard ▸ Tools ▸ Site Health ▸ Info ▸ Server that your PHP max input variables is set to 4000, please try changing to 10000
    Also try setting your Max input time to 120 and your PHP memory limit to 768M
    Perhaps uping your WordPress Constants WP_MEMORY_LIMIT to 64M and changing your Database Max connections from 300 to 1000 will also help. These are the settings that I see are different between your site and my test site.
    When I checked your homepage I saw the error: admin-ajax.php 403 (Forbidden) this can be caused by many issues, such as if mod_security is enabled on the server, try asking your webhost if it is, and to disable it as a test. It could also be caused by incorrect file permissions or a Corrupt .htaccess file. Please see this article for common fixes.

    Best regards,
    Mike

    Hi,
    Thank you for your patience, since though your tests seem to ruled out the typically header.php & footer.php issue, this seems to be a strange issue that we have not seen before.
    Unfortunately we are not able to login to your site, we get the error Access Denied – Sucuri Website Firewall
    I was able to login via FTP and while this doesn’t directly help us help you, I did notice that you have 140 plugins, I don’t have a way of knowing how many are activate, but I would recommend disabling all plugins and then try enabling one at a time, often the one causing the problems is not showing any errors.
    I see above that you have tried disabling “various plugins” but the best approach will be to disable all of them and then check.
    If this doesn’t help then please create a staging site without the Sucuri Firewall so we can disable everything and try to investigate.
    Most cPanel webhosts have a staging site option, some in the dashboard:
    staging-1.jpeg
    Others add the option in the Softaculous WordPress Management
    2022-12-11_001.jpeg
    There may be other staging site options in different cPanel servers, these are the two that I have seen, try asking your web host if you don’t see these.

    Best regards,
    Mike

    Hey ricedean,
    Thanks for the link to your site, the Recently Viewed Products widget show smaller image typically 36px square and should have a layout like this:
    Enfold_Support_4620.jpeg
    but it looks like you are using some custom css to show the small images larger, so the are blurry:
    Enfold_Support_4622.jpeg
    To correct this try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function larger_recently_viewed_products_widget_images() { ?>
      <script>
    (function($){
    $('.single-product .widget_recently_viewed_products').each(function(){
    $('.product_list_widget img.size-widget').attr('width', '250px');
    $('.product_list_widget img.size-widget').attr('height', '250px');
    $('.product_list_widget img.size-widget').attr('sizes', '(max-width: 450px) 100vw, 450px');
    });
    })(jQuery);
    </script>
      <?php
    }
    add_action( 'wp_footer', 'larger_recently_viewed_products_widget_images', 99 );

    This will change the image size used to a larger image so they won’t be blurry
    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.

    Best regards,
    Mike

    in reply to: Keep 1/2 Columns Perfect Squares #1432899

    Hey MikeTandySwag,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 767px) { 
    .home #av_section_2 .flex_column.av_one_half {
        padding: 55% 50px 30px 50px;
    }
    }
    @media only screen and (min-width: 768px) and (max-width: 1023px) {
    .home #av_section_2 .flex_column.av_one_half {
        padding: 24% 5px 30px 5px;
    }
    }
    @media only screen and (min-width: 1024px) and (max-width: 1439px) {
    .home #av_section_2 .flex_column.av_one_half {
        padding: 35% 5px 30px 5px;
    }
    }

    The height was affected by the inner padding, this seems to correct in my tests.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: after changes effects/pictures only appear in preview #1432898

    Hi,
    Thanks for the video and the link to your site. Your plugin Autoptimize was causing the error, I disabled it and now your “2.0” image shows:
    Enfold_Support_4618.jpeg
    please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Dynamic CSS #1432897

    Hey mvi,
    It sounds like you are having a server cache issue, perhaps from a object-oriented cache? We have not experienced any issues on our servers or any reports from other users that we can reproduce. You could try changing the Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression to Use minified theme CSS files without merging or disable it completely and let your server do all of the caching, but you would need to do this for each site, there is no other way to do this.

    Best regards,
    Mike

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

    Best regards,
    Mike

    Hi,
    I have checked your homepage on Windows in Chrome, Firefox, & Edge and the slider at the top with the button seems to be the same in each browser. I didn’t see any “zooming” on hover in the slider, but I did on a image lower on the page that looks like a office.
    Above you write that the “zooming” only works when you are logged in, typically this would point to an error in the cached files since typically when you are logged in you are not served any cached files. Often when the theme and a plugin minifys the files an error can occur due to the nature of “minifying” which removes spaces & certain characters. It looks like your site is also using a CDN, cloudflare which could be serving the bad files.
    Try disabling the Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression and enable Enfold Theme Options ▸ Performance ▸ Delete old CSS and JS files, then clear and disable your caching plugin and your server cache and your CDN, it could take a few hours your your site to start serving the same files as when you are logged it, especially for cloudflare which can take up to 24 hours.

    Best regards,
    Mike

    in reply to: Mobile Woocommerce Missing/Hidden Cells on Cart #1432892

    Hi,
    Please Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 479px){
    .responsive table.shop_table .product-subtotal {
        display: table-cell;
    }
    }

    Enfold_Support_4616.jpeg
    note that on very small screens it maybe hard to see since there is not enough room, this is why it is hidden by default.

    Best regards,
    Mike

    Hi,
    Thanks for your patience, it looks like your menu layout has changed since we last looked at it and we don’t have access to the backend, have you changed your plans?
    Going back to the megamenu width for five items, I don’t think there will be a good solution for this because the css flex is used, you would be better off adding a sixth item which shows at full width, than to force five items into full width.

    Best regards,
    Mike

    in reply to: Google Map styling overide #1432890

    Hey dweddell,
    Thanks for the link to your page, I’m not familiar with snazzy maps but their javascript is what is overriding the map style /snazzymaps-js.min.js perhaps the plugin author can offer you a function to disable the loading of the script on specific pages?
    When I block the file in the browser the map loads with the correct style.

    Best regards,
    Mike

    in reply to: post navigation #1432889

    Hey rixi,
    changing the editor should not make a difference, it looks like the post that you linked to is the last one, when I check another one the post nav shows:
    Enfold_Support_4612.jpeg
    please see the link below, both are using the Advanced Layout Builder.
    You do seem to be using a date based permalinks at WordPress ▸ Dashboard ▸ Settings ▸ Permalink Settings, perhaps Post name based will give you a different result.
    Enfold_Support_4614.jpeg

    Best regards,
    Mike

    in reply to: font size from magazine navigation #1432887

    Hey rixi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .av-magazine-sort {
    	font-size: 20px;
    }
    

    adjust the number to suit.

    Best regards,
    Mike

    in reply to: Magazine List should not show all #1432886

    Hey rixi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .av-magazine-sort .all_sort_button {
    	display: none;
    }
    .av-magazine-sort .all_sort_button ~ span.text-sep:first-of-type {
    	display: none;
    }
    

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

    Best regards,
    Mike

    in reply to: Want Footer and socket only displayed on home site #1432884

    Hey Createve_Solutions,
    Try going to Enfold Theme Options ▸ Footer ▸ Default Footer & Socket Settings and choose Don’t display the socket & footer widgets
    Enfold_Support_4608.jpeg
    Then go to your homepage and choose your footer option to show as you wish.
    Enfold_Support_4610.jpeg

    Best regards,
    Mike

    in reply to: Dropdown menu accessibility (arrow keys NOT tab) #1432883

    Hey domchocolate,
    Thank you for your patience and the link to your site, to tab though the menu, skipping sub-menu items unless the down or up arrow keys are used please try this javascript in your child theme functions.php file in Appearance ▸ Editor:

    
    function tab_though_menu_skipping_sub_menu_items_unless_down_or_up_arrow_keys_are_used() { ?>
      <script>
    document.addEventListener('DOMContentLoaded', function () {
        const menuItems = document.querySelectorAll('.menu-item-has-children'); // Adjust this selector to match your menu structure
    
        // Initially set tabIndex to -1 for all sub-menu items to skip them in tab navigation
        menuItems.forEach(item => {
            let subMenuItems = item.querySelectorAll('.sub-menu a'); // Adjust this selector for your sub-menus
            subMenuItems.forEach(subMenuItem => {
                subMenuItem.tabIndex = -1;
            });
    
            item.addEventListener('keydown', function (e) {
                // Only proceed if the event target is a menu item that contains a sub-menu
                let subMenu;
                if (e.target.classList.contains('menu-item-has-children')) {
                    subMenu = e.target.querySelector('.sub-menu'); // Adjust this selector for your sub-menus
                } else {
                    // This ensures we get the sub-menu even if a child of the menu item was focused
                    subMenu = e.target.closest('.menu-item-has-children').querySelector('.sub-menu');
                }
    
                let subMenuItems = subMenu.querySelectorAll('a'); // Assumes sub-menu items are anchor tags
                let focusedElement = document.activeElement;
                let currentIndex = Array.from(subMenuItems).indexOf(focusedElement);
    
                switch(e.key) {
                    case 'ArrowDown':
                        // Move focus to the next sub-menu item
                        if (currentIndex < subMenuItems.length - 1) {
                            subMenuItems[currentIndex + 1].tabIndex = 0;
                            subMenuItems[currentIndex + 1].focus();
                            e.preventDefault(); // Prevent scrolling the page
                        } else {
                            // Optionally wrap around to the first item
                            subMenuItems[0].tabIndex = 0;
                            subMenuItems[0].focus();
                            e.preventDefault(); // Prevent scrolling the page
                        }
                        break;
                    case 'ArrowUp':
                        // Move focus to the previous sub-menu item
                        if (currentIndex > 0) {
                            subMenuItems[currentIndex - 1].tabIndex = 0;
                            subMenuItems[currentIndex - 1].focus();
                            e.preventDefault(); // Prevent scrolling the page
                        } else {
                            // Optionally wrap around to the last item
                            subMenuItems[subMenuItems.length - 1].tabIndex = 0;
                            subMenuItems[subMenuItems.length - 1].focus();
                            e.preventDefault(); // Prevent scrolling the page
                        }
                        break;
                }
    
                // Reset tabIndex to -1 for items not focused to ensure they're skipped during tab navigation
                subMenuItems.forEach(subMenuItem => {
                    if (subMenuItem !== document.activeElement) {
                        subMenuItem.tabIndex = -1;
                    }
                });
            });
        });
    });
    </script>
      <?php
    }
    add_action( 'wp_footer', 'tab_though_menu_skipping_sub_menu_items_unless_down_or_up_arrow_keys_are_used', 99 );

    I tested this on your site by injecting it in the browser and it worked good with your desktop menu.

    Best regards,
    Mike

    • This reply was modified 1 year, 11 months ago by Mike. Reason: updated to correct error
    in reply to: HTML for Turning On Audio? #1432881

    Hi,
    Thank you Guenni007 for your examples, the private page that clbdcnpafe linked to uses a video element with a vimeo video link, and unfortunately the video mute option is from vimeo inside of an iframe. So as you pointed out, the videos must be self-hosted.
    Based on Guenni007’s script I modified it some to create a button to enabled the sound on self-hosted videos, this is my example page, and this is what the button looks like:
    Enfold_Support_4606.jpeg
    This is the css for the Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .custom-mute {
        display: block;
        color: #fff;
        font-size: 40px;
        padding: 20px;
        border: solid 2px #fff;
        position: absolute;
        bottom: 50%;
        right: 36%;
        z-index: 50;
    }
    .custom-mute.sound-on {
    	display: none;
    }

    This is the code for the end of the child theme functions.php file in Appearance ▸ Editor:

    function custom_script() { ?>
      <script>
    (function($) {  
        $('.avia-video').prepend('<div class="custom-mute">Click to unmute</div>');
          $('.avia-video').on('click', '.custom-mute', function() {
            $('video').prop('muted', !$("video").prop('muted'));
          });
        
        $('.avia-video').on('click', '.custom-mute', function() {
          $(this).toggleClass("sound-on");
        });
    })(jQuery);
    </script>
      <?php
    }
    add_action( 'wp_footer', 'custom_script', 99 );

    This doesn’t require any theme files to be modified because it is only for the video element and not a background video in a color section or the slider element as Guenni007’s examples, in these cases please follow Guenni007’s post.

    Best regards,
    Mike

Viewing 30 posts - 4,261 through 4,290 (of 35,007 total)