Forum Replies Created
-
AuthorPosts
-
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.phpBest regards,
MikeHi,
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,
MikeHi,
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,
MikeHi,
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,
MikeFebruary 4, 2024 at 8:11 pm in reply to: can I use classic or gutenberg editor on the enfold theme #1432941Hey 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,
MikeFebruary 4, 2024 at 3:13 pm in reply to: Request to check page editing errors (Avia Layout Builder) #1432928February 4, 2024 at 2:29 pm in reply to: scroll-margin-top & scroll-padding-top css properties #1432926Hi,
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,
MikeHi,
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,
MikeFebruary 4, 2024 at 1:49 pm in reply to: Footer, via Footer Page, is not showing. Tried replacing footer.php… #1432924Hi,
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,
MikeFebruary 4, 2024 at 1:41 pm in reply to: Request to check page editing errors (Avia Layout Builder) #1432922Hi,
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,
MikeFebruary 4, 2024 at 12:52 am in reply to: Footer, via Footer Page, is not showing. Tried replacing footer.php… #1432908Hi,
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,
MikeFebruary 4, 2024 at 12:47 am in reply to: 4.7.5 Introduces Unexpected 50px to Top Margin of #top .flex_column_table Style #1432906Hi,
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.10Best regards,
MikeFebruary 4, 2024 at 12:37 am in reply to: woocommerce widget, recently viewed products, not showing correct size image #1432905Hi,
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,
MikeHi,
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,
MikeFebruary 3, 2024 at 11:14 pm in reply to: Footer, via Footer Page, is not showing. Tried replacing footer.php… #1432901Hi,
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:

Others add the option in the Softaculous WordPress Management

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,
MikeFebruary 3, 2024 at 10:40 pm in reply to: woocommerce widget, recently viewed products, not showing correct size image #1432900Hey 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:

but it looks like you are using some custom css to show the small images larger, so the are blurry:

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,
MikeHey 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,
MikeFebruary 3, 2024 at 9:13 pm in reply to: after changes effects/pictures only appear in preview #1432898Hey 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,
MikeFebruary 3, 2024 at 8:44 pm in reply to: Enfold theme compatibility issue with PHP, caused 500 error #1432896Hi,
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,
MikeFebruary 3, 2024 at 8:43 pm in reply to: How to add a button to Easy Slider that is consistent on all slides #1432895Hi,
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,
MikeHi,
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; } }
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,
MikeFebruary 3, 2024 at 7:58 pm in reply to: Mega Menu with Images – Not Fullwidth & Leaving Empty Space #1432891Hi,
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,
MikeHey 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,
MikeHey 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:

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.

Best regards,
MikeHey 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,
MikeHey 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,
MikeFebruary 3, 2024 at 6:53 pm in reply to: Want Footer and socket only displayed on home site #1432884Hey 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
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:

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 -
This reply was modified 1 year, 11 months ago by
-
AuthorPosts




