Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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, 7 months ago by fucine.
    #1301568

    Hey 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,
    Ismael

    #1301598

    Dear 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.-

    #1301605

    Nope, 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”?

    #1301757

    PS 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 best

    #1301983

    Hi,

    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,
    Ismael

    #1302006

    Hi 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.-

    #1302361

    Hi,

    Glad it is fixed. If you have more inquiries, please feel free to open another thread. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Icons Grid's links not working for mobile devices after update to 4.8.2 version’ is closed to new replies.