Issue with displaying the product image correctly and hotspot image

This topic has 3 replies, 3 voices, and was last updated 8 months ago ago by Tony Rodriguez

  • Avatar: mahdar
    MAHDAR
    Participant
    April 16, 2025 at 10:53

    Hello, I hope you’re doing well.

    I have two issues in the mobile version:

    I set the product hover effect in the archive to “Swap”, but it’s not working correctly on mobile.
    https://drive.google.com/file/d/13JD1SixGmEAYNxj_1t7couQK1CkgmGf8/view?usp=sharing

    2- The hotspot image element on the homepage, when clicked on mobile, causes the page to reload.
    https://drive.google.com/file/d/1RiVLsgpP4sM6sghWUaZLn_N82DQtBLQc/view?usp=sharing

    3- In the product archive, the second image that I’ve set to swap is of low quality.

    Thank you in advance for your help!

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    April 17, 2025 at 11:03

    Dear @MAHDAR,

    Thank you for reaching out.

    1 & 2. Please note that the swap and hotspot content functions are designed to be triggered on hover, which is applicable to desktop versions only. As a result, these features may not function as expected on mobile devices.

    To address this on mobile, you may apply the following hotfix. Kindly add the custom code below to the functions.php file located in your child theme:

    
    add_action('wp_footer', 'n2t_wp_footer', 999);
    function n2t_wp_footer(){
    	?>
        <script>
            jQuery( function($){
                $( ".etheme-hotspot-item" ).on( "click", function ( event ) {
                    event.preventDefault();
                });
            });
        </script>
    	<?php
    }
    

    3. Currently, there is no built-in setting available for this. However, you can manually adjust the image size by editing the following file:

    Path: app/public/wp-content/plugins/et-core-plugin/app/controllers/elementor/general/product-grid.php  
    Line: 4379

    Please change the image size from woocommerce_thumbnail to full, as shown in the screenshot below:
    https://prnt.sc/zdTD6giBEBXH

    We hope this information is helpful. Should you have any further questions, please do not hesitate to contact us.

    Best regards,
    The 8Theme Team

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    April 17, 2025 at 13:57

    Dear MAHDAR,

    We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.

    Click here to rate now: https://themeforest.net/downloads

    Thank you sincerely for your ongoing support!

    Best Regards,
    The 8Theme Team

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Issue with displaying the product image correctly and hotspot image’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.