-
AuthorPosts
-
May 20, 2021 at 2:03 pm #1301386
This is it: [private link 1] (Enfold has just been upgraded to the last 4.8.2 version).
As a matter of fact those flipping icons (made by “Icon Grid” embedded module) do not work any longer for mobile devices only.
Meaning: seems that no links are defined, even if they actually are (always been).
On the other hand everything’s ok with desktop browsers.
The proof of this depending on Enfold’s last update, this is the clone version of “www”, living under the third level domain “stage”:
[private link 2]
In “stage” Enfold has been left to the 4.8.1 version, and that page works: all links are in place, and behaving as expected (also for mobile devices): you tap once, icons flip, you tap again, and correspondent destination pages are actually achieved.
If required/needed then I could privately give you WP backend’s credentials for both sites. Eventually also cPanel credentials.
Thanks in advance for suggestions/replies. All the best, e.-- This topic was modified 3 years, 6 months ago by fucine.
May 21, 2021 at 9:50 am #1301568Hey Enrico,
Thank you for the inquiry.
Looks like the icon grid ignores the link completely. Please try to modify the enfold/config-templatebuilder/avia-shortcodes/icongrid/icongrid.js, look for this code around line 28.
var current = $(this), container = current.closest('.avia-icongrid-flipbox'); if( current.hasClass('avia-hover') ) { container.find('li').removeClass( 'avia-hover' ); }
.. and replace it with:
var current = $(this), container = current.closest('.avia-icongrid-flipbox'), link = $(this).find("a"); if( current.hasClass('avia-hover') ) { if(link) { window.location.href = link.attr("href"); } else { container.find('li').removeClass( 'avia-hover' ); } }
The changes above should look for a link inside the list elements and if found, try to redirect to a location, which is based on the link’s href attribute, else flip the item again.
Best regards,
IsmaelMay 21, 2021 at 12:05 pm #1301598Dear Ismael, thanks for having replied. Going to deploy that patch, then I’ll be back to you with some fresh news on whether or not it would have worked.
All the best, e.-May 21, 2021 at 12:21 pm #1301605Nope, it seems that we still face those issue for mobile devices.
Consider also that both WP Rocket and StackPath caches have been purged for that URI.
Anyway: cPanel credentials have now been provided, so thanks for further debug session. All the best, e.-
PS And what about taking that JS file from “stage” and using it, as is, in “www”?May 22, 2021 at 5:14 pm #1301757PS And what about taking that JS file from “stage” and using it, as is, in “www”?
Nope, just done/tried: that substitution does not work as well.
You’ll find “icongrid_from_stage.js” inside /public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/icongrid/ folder.
So: waiting for any news from your side. Thanks in advance. All the bestMay 24, 2021 at 12:09 pm #1301983Hi,
Thank you for the update.
Can we access the dashboard? Please try to temporarily disable the Performance > File Compression settings and purge the cache. The scripts are compressed, so it is possible that the changes that we made to the file are not yet included.
Best regards,
IsmaelMay 24, 2021 at 1:36 pm #1302006Hi Ismael, compression has been disabled also cPanel side: “Website optimization preferences updated. Content compression is now disabled”. Of course also Enfold’s internal cache has been purged (also both WP Rocket and StackPath ones, for that specific page). Good news: seems that the issue we faced has now completely disappeared, so thank you so much for suggestion. Kindly commit the fix for next Enfold’s release. All the best, e.-
May 26, 2021 at 6:56 am #1302361 -
AuthorPosts
- The topic ‘Icons Grid's links not working for mobile devices after update to 4.8.2 version’ is closed to new replies.