WordPress.org

Forums

WooCommerce - excelling eCommerce
Woo prettyPhoto lightbox thumbnails not working in Genesis (4 posts)

  1. westweb
    Member
    Posted 1 year ago #

    Hi,

    *I've posted this request on the Genesis Connect and prettyPhoto support forums, but had no response - getting quite urgent as Client's site is now live and this problem looks rubbish!!! Please help!*

    The standard Woocommerce prettyPhoto lightbox is not working properly in any version of genesis I've got. It all looks fine except where the gallery thumbnails should appear in the main lightbox image, I just get an ugly rectangle snippet of the main product image. Problem occurs in all browsers.

    It looks fine if change the theme to 2012/2014 etc, but as soon as I switch to the default genesis or my custom child theme the problem occurs.

    I'm currently running all updated WP and Genesis framework and plugins, but I'm also getting the same problem on an older install.

    Any ideas of how to fix it? I'd be reluctant to change the lightbox to a different plugin if it can be avoided.

    Thanks.

    Genesis Connect 0.9.7
    WooCommerce 2.1.10

    https://wordpress.org/plugins/woocommerce/

  2. westweb
    Member
    Posted 1 year ago #

    Anyone got any ideas about what's causing this problem and how I can fix this?

    You can see the problem here: http://www.fromlucy.com/shop/
    - go to any of the products and click on a product image to pull up the gallery, hover over the lightbox to see where the thumbnails should appear.

    Thanks

  3. Paul Sandford
    Member
    Posted 1 year ago #

    Hi Westweb.

    I noticed this problem when I read your post - I was actually searching for help on how to use the prettyPhoto lightbox that WooCommerce uses and get that to work in other parts of the WP site (I'm struggling with that).

    Anyway... The oblong is obviously linked to the main product image but it doesn't make sense to me as to what the purpose of that is at all. The code is adding an inline style to that element when you hover over it that switches the display on. I have, however, had some luck thinking outside the box and this is purely a hack to hide the offending oblong. Couple of options - try either of these in your custom WooCommerce style sheet:

    Option 1 - simply force the display to none (!important needed to override the inline style)

    .pp_pic_holder.pp_woocommerce div.pp_gallery {
    	display:none !important;
    }

    Option 2 - hide it by sending it beneath the image

    .pp_pic_holder.pp_woocommerce div.pp_gallery {
    	z-index: -1;
    }

    Hope that helps. Perhaps when WooThemes sort that mess out you can remove the temporary fix.

  4. Paul Sandford
    Member
    Posted 1 year ago #

    Should just add that in fairness it's probably not WooThemes that need to sort it out. I'm using Genesis too and that's why I could see the problem you're having. So, the problem lies elsewhere. :-/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic