Forum Replies Created
-
AuthorPosts
-
Hi,
I added a fix to solve searchbar with #toggle id:
Please replace C:\xampp\htdocs\wp56\wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\toggles\toggles.js
with
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_6_0_4/toggles/toggles.js
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_6_0_4/toggles/toggles.min.jsBest regards,
GünterHi,
I could reproduce it now – I will add a fix to react correctly when the address bar hash changes.
But I think this will not solve the problem from the initial topic.
I will let you know here, when I have the fix.Best regards,
GünterHi,
I could reproduce it once only.
I readded the
scroll_to_viewport();
on the demo page. This seems to fix the problem.
Best regards,
GünterHi,
I checked the clean version with FF (also in incognito mode) and Chrome on a Windows PC. and on an android handy with chrome.
I cannot reproduce the problem.
Can you please copy the shortcode of page with the accordion of the original site to the test site to check ??
You can enable the debug mode via theme option “Layout Builder” -> “Show advanced options” -> “Debug Mode (Backend Only)”.
Insert the shortcodes into the cleared debug input field and save the page.Best regards,
GünterHi,
Thanks for the credentials.
I recognise one thing:
– being logged in it seems to scroll to the right place (besides that the heading is covered by admin bar)
– not logged in (in incognito window) it seems to scroll to top of the toggle sectione.g. use “Total number of Pendent Lights:” scrolls to “Re-wiring Cost Calculator” headline in incognito, but correctly to content of toggle when logged in
Before I digg deeper – does this give you any hint to your customizations ???
Best regards,
GünterHey Thomas,
Sorry for the late reply.
I think the problem is in ..\enfold\config-templatebuilder\avia-shortcodes\toggles\toggles.js around line 92:
allContent.not(content).slideUp( slideSpeed, function() { $(this).removeClass('active_tc').attr({style:''}); scroll_to_viewport(); });
Can you try to remove
scroll_to_viewport();
and check if this helps.
If not, can you give us admin access to a staging site where we can reproduce the problem (and we can modify this file to debug further) ??
Best regards,
GünterSeptember 19, 2024 at 12:02 pm in reply to: Bug ?avia_extended_shop_select=yes breaks the filters #1467443Hi,
As far as I see there are 2 functions involved adding avia_extended_shop_select in ..\config-woocommerce\config.php. You can override them in your child theme:
function avia_woocommerce_frontend_search_params() { return; }
function avia_woocommerce_overwrite_catalog_ordering( $args ) { return $args; }
Can you try that please.
Best regards,
GünterHi @BigBatT,
Added files to the core and https://github.com/KriesiMedia/enfold-language-files. Thanks for your contributions!
Best regards,
GünterHi,
Thank you for using Enfold and reporting this.
First issue:
We are working on a fix to ignore s=…. for all pages that are not the search page. Will be in the next Release 6.0.4.
Second issue:
The warning you mention is in a file that was used with the old Envato update API < 3.0 and is deprecated. If you have entered an "Envato private token" it should not be loaded at all. But we will remove it in next release 6.0.4. Best regards, Günter
September 2, 2024 at 1:48 pm in reply to: Bug: Cannot turn off sonar animation on ALB icon element #1466044Hi,
thank you for reporting this.
We remove the CSS Ismael mentions above in next release 6.0.4.
Best regards,
GünterHi,
It seems that the class litespeed-loaded which is added to the img tag, causes the problem.
If you check the shop page of your dev server the HTML of second image “Guy Rope” you see 2 img tags, the first one is the overlay to change – it has class avia-product-hover. Remove the class litespeed-loaded there and it will work.
Why the first image does not have the the overlay image in HTML – no idea – maybe some customization ??
I added an echo at line 618 in ..\enfold\config-woocommerce\config.php and when logged in it shows, that
get_post_meta( $id, '_product_image_gallery', true );
returns no result – but the product shows a gallery.
Hope this helps your developer to fix the problem.
An idea would be to run a js script to remove class litespeed-loaded in all img tags that have class avia-product-hover.
Best regards,
GünterAugust 21, 2024 at 2:18 pm in reply to: Question about the new Enfold 6.0 Feature: Dynamic Content #1465085Hi,
wichtig wäre hier auch in Klassen dynamic content zu nutzen
Was genau würde Dir hier vorschweben ?
Best regards,
GünterHey Tim,
Very sorry for the late reply.
Do you have a staging site where I can see the HTML structure and the backend settings please – so we are talking about the same.
Best regards,
GünterHi Tim,
thank you very much for locating the issue. I added a check for empty $bg and then skipping the output.
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_6_0_2/config-woocommerce/config.php
Around line 1733:
if( trim( $bg ) == '' ) { return ''; }
Hope this fixes it.
Best regards,
GünterHey waveseven,
Please check https://kriesi.at/documentation/enfold/custom-element-templates/#custom-elements-advanced-options.
and
Hope this helps.
Best regards,
GünterHi Patrick,
Thank you for your feedback.
I did not change anything with animation. Mayby some browser/server cache issue.
Enjoy the theme and have a great day.
I will close this topic – feel free to open a new one when you need further assistance or find other bugs.
Best regards,
GünterHi Tim,
Thank you for the credentials.
Having a look into it – you are having a lot of customizations, a lot of plugins and also modifications to the image sizes defined.
E.g. 1500*0 – Featured Thin (added by theme), 1700*0 – Fullscreen Sections/Sliders (added by theme), …
In core it is: 1500*430 – Featured Thin (added by theme), 1500*1500 – Fullscreen Sections/Sliders (added by theme)
We are using core WP functions for creating the responsive scrset and size – no idea what *0 causes behind the scene in WP core.
Also it is a bit strange that when no image is selected for a category we get the last image added returned by a core WP function:
$attachment_id = avia_get_woocommerce_term_meta( $term->term_id, 'thumbnail_id' );
calls
get_term_meta( $term_id, $key, $single )
The following functions are involved in handling the banner for shop page and category pages in file ..\config-woocommerce\config.php:
avia_woocommerce_overview_banner_image()
avia_woocommerce_big_cat_banner()
avia_woocommerce_shop_banner()
avia_woocommerce_parallax_banner()The code in the functions is pretty straight and easy to understand.
What I would suggest you can do:
– To make 100% sure we do not have a bug in our core (we tested it carefully, but we might have missed something) create a clean install with Enfold and WooCommerce, add a few images and categories and check, if you get it to run as you want it – using filters if necessary (we can add additional filters if needed to core)
– Then you need to dig into your customizationed site and try to figure out, what breaks our code
I know this answer does not satisfy but digging into your code cannot be done in a few minutes.
If you need anything added to code or anything I can assist you let me know.
Best regards,
GünterHi Tim,
Theme option:
Did you enable “Display responsive banner image …” and for uploaded image you have to select the desired size in media library.
There is filter ‘avf_woocommerce_default_banner_image_size’ (..\config-woocommerce\config.php line 1694) – you can return a registered image size
I cannot reproduce the problem with the categories.
Do you have a staging site where I can see it – and with backend access to check option settings and theme editor ?
Best regards,
GünterHi,
Glad we could fix the problem.
Enjoy the theme and have a great day.
Best regards,
GünterJuly 18, 2024 at 4:48 pm in reply to: Button functionality in Header section after code embedding #1462406Hi,
Glad we found the solution and we could help you.
Enjoy the theme and have a great day.
Best regards,
GünterJuly 18, 2024 at 4:09 pm in reply to: Button functionality in Header section after code embedding #1462402Hi,
In the dev console of FF and Chrome I added the css above in the element – this makes the button clickable but leaves the video playing.
Did you save theme options after adding the CSS to rebuild the merged files and cleared browser cache?
Alternative disable merging first and check.
Best regards,
GünterJuly 18, 2024 at 2:09 pm in reply to: Button functionality in Header section after code embedding #1462392Hey reqonsult,
Can you try to add the following CSS code:
#top .av-video-slide.av-video-playing a.avia-button { pointer-events: all; }
It might be necessary to add !important.
Best regards,
GünterJuly 18, 2024 at 12:01 pm in reply to: Accordion header issues with Enfold 6.01 (constant value refresh) #1462380Hey ofeuillet,
I answered in your other topic: https://kriesi.at/support/topic/accordion-header-issue-since-enfold-6-01/
I will close this.
Best regards,
GünterHey ofeuillet,
Thank you for using Enfold and for reporting this.
I missed a check for that.
Will be fixed in next release 6.0.3.
If you want to test the fix please update the 2 files
..\config-templatebuilder\avia-shortcodes\toggles\toggles.js
..\config-templatebuilder\avia-shortcodes\toggles\toggles.min.jswith
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_6_0_2/config-templatebuilder/avia-shortcodes/toggles/toggles.js
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_6_0_2/config-templatebuilder/avia-shortcodes/toggles/toggles.min.jsDo not forget to make a backup for a fallback and save theme options in case you use merged js.
Best regards,
GünterHey Patrick,
Thank you for reporting this.
I updated aria-hidden=”false” for ALB icons containing a link for 6.0.2.
If you want to test it before please replace
../config-templatebuilder/avia-shortcodes/icon/icon.php
with
There’s also still an animation
I cannot reproduce this. If you have a staging site can we have a link to it where we can see it and we can also get access to the underlying shortcode.
Thank you in advance.
Best regards,
GünterHi @BigBatT,
Added files to the core and https://github.com/KriesiMedia/enfold-language-files. Thanks for your contributions!
Best regards,
GünterHi,
Thank you very much for checking and your help.
I will add a fix to 6.0.1 and we will release it very soon.
Have a great day – and thank you for using Enfold.
Best regards,
GünterHi,
Thanks for checking and your time.
Using the index seems to be server depending:
https://planetscale.com/learn/courses/mysql-for-developers/indexes/indexing-for-wildcard-searches
I removed the order by clause and the query time dropped dramatically on my install.
Could you try to remove the following line from ..\enfold\config-templatebuilder\avia-template-builder\php\class-dynamic-content.php
around line 1410:
$sql .= 'ORDER BY meta_key ';
and can you please check with and without limit ?
Thank you very much in advance.
Best regards,
GünterHi,
Thank you for posting the temporary solution.
As I do not have a test environment with such many posts: could you please check if adding a limit (as WP does) would help?
e.g. like
add_filter('avf_query_default_custom_fields_limit', function($limit) { return 300; });
Thank you for your help in advance.
Best regards,
Günter -
AuthorPosts