• Resolved shebango

    (@shebango)


    Hi,
    Thanks for such a great theme. Unfortunately, the hover/zoom function doesn’t work on my product page images anymore. Likely my fault since I applied SEO optimization routines to my site. Tried undoing but to no avail. Where can I find the code to fix?

    Thanks so much!

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author YITHEMES

    (@yithemes)

    Hi there,
    the image you are using as main product image is too small in order to provide a zooming feature. You have to increase the size of it in: Customizer > WooCommerce > Product images > Main image width

    Thread Starter shebango

    (@shebango)

    The image in question is 992 x 878 which is larger than the 500 setting I have for the product image window. Sorry to disagree but all my existing images worked before.

    How can I disable the hover zoom function altogether?

    Thanks in advance.

    John

    Thread Starter shebango

    (@shebango)

    Update; I found the following code pasted into functions.php to disable the hover/zoom function:

    function remove_image_zoom_support() {
    remove_theme_support( ‘wc-product-gallery-zoom’ );
    }
    add_action( ‘wp’, ‘remove_image_zoom_support’, 100 );

    Theme Author YITHEMES

    (@yithemes)

    > How can I disable the hover zoom function altogether?

    If you want to disable zooming, you don’t need that custom code.
    You can also use theme settings:
    Dashboard > Appearance > Customize > WooCommerce > Single product page > Product image
    and set to NO the features you don’t need

    Thread Starter shebango

    (@shebango)

    Thanks for the reply. Unfortunately, I can find no option to disable hover zoom in the customize path that you provided. Only the following variables are available.

    -Main image width
    -Image size used for the main image on single product pages. These images will remain uncropped.
    500
    -Thumbnail width
    -Image size used for products in the catalogue.
    300
    -Thumbnail cropping
    1:1
    -Images will be cropped into a square
    Custom
    -Images will be cropped to a custom aspect ratio
    Uncropped
    -Images will display using the aspect ratio in which they were uploaded

    Theme Author YITHEMES

    (@yithemes)

    You are in the wrong panel.
    To see these options you have to go to:
    Dashboard > Appearance > Customize > WooCommerce > Single product page > Product image
    Please note that these settings are for Proteo, you can’t find them on another theme.
    Here a screenshot of the panel:
    https://prnt.sc/uzugle

    Thread Starter shebango

    (@shebango)

    Oops! Found the correct path! Thank you!

    Theme Author YITHEMES

    (@yithemes)

    Happy to help ??
    If you like Proteo, our work and commitment into help you please help this theme with a nice review!
    I’m setting this ticket as solved, but don’t hesitate to come back with a new request if you need further help

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘hover/zoom’ is closed to new replies.