Home Forums One, Multipurpose Responsive WordPress Magazine WooCommerce Product Plugin

This topic contains 5 replies, has 2 voices, and was last updated by  lesmeilleures 3 years ago.

  • Author
    Posts
  • #653

    lesmeilleures
    Participant

    Hello Again!

    I have installed WooCommerce plugin to sell things on my site. Everything is working properly except that the featured image I want to show on my product page is not displaying. The theme and WP recognizes that there is in fact an image there in the lightbox but its just blank. I have switched to twenty fourteen theme to see if its the same problem but its not. The featured and product image is showing on that theme. I have contacted WooCommerce about this and they insist its wonky coding in the theme.

    I have changed the coding in my functions.php file to:
    add_theme_support( ‘post-thumbnails’, array(
    ‘aside’, ‘audio’, ‘chat’, ‘gallery’, ‘image’, ‘link’, ‘quote’, ‘status’, ‘video’, ‘page’, ‘post’, ‘product’, ‘order’, ‘image’ ) );

    But to no avail. Everything is working properly except the display of my featured/product images. I even tried deleting and uploading new pictures but nothing.

    Please see the problem at http://www.lesmeilleures.net/product/general-admission-ticket/
    If you try clicking on the image to activate the lightbox, it comes up blank.

    Please help!

    Thanks in advance!

  • #656

    mimo
    Keymaster

    Hi, this is caused because of the lazy loading effect of images. You can disable it with css for the images needed applying them opacity:1, I think this code will work. Please try this code in your style.css file:

    #content img.attachment-shop_single{
        opacity:1;
    }

    Let me know if this works 🙂

    Regards

  • #661

    lesmeilleures
    Participant

    Ok, novice coder here. What line should this be inserted on in the style.css file? Is it line 352 and 353?

  • #662

    lesmeilleures
    Participant

    I also see mention of the word opacity in line 1450….

  • #663

    mimo
    Keymaster

    Hi,

    in file style.css, this would be a new line, not replacing anything. You can insert in where you want.

    Best Regards

  • #664

    lesmeilleures
    Participant

    Whoaaaa! I’m riding on a gravy train with biscuits wheels!!!!

    It worked!!!

    Thanks much!

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in