-
AuthorPosts
-
January 8, 2018 at 10:43 pm #894945
Hi,
I have another short question concerning the closed topic above.
The problem now is that the Alt-Tag of the image in the single view product gallery doesn’t show.
Why is that? How can I fix it? I need to display the name of the variant when hovering over the gallery pic.Thanks again
CarolinJanuary 9, 2018 at 4:12 am #895058Hey phamosa,
Can you please explain further, I’m not finding the closed topic.Best regards,
MikeJanuary 9, 2018 at 10:20 am #895163Thanks to your support, I had the effect on the product image removed (no zoom and no lightbox) as requested.
This was the code you gave me for Quick CSS
.single-product .product div.images a {
pointer-events: none;
}What happens now is that the alt tag that I used for the photos in the image gallery of a single product view does not show anymore.
I need it so that the customers can identify the color when they hover over a photo in the gallery.Can you fix that?
Thank you so much!
CarolinJanuary 9, 2018 at 11:18 am #895174Hi,
The only solution is to remove the pointer-event code. Would you like me to do that?Best regards,
MikeJanuary 9, 2018 at 11:19 am #895175Hi Mike,
if we remove it, I have the other problem which is the lightbox that opens up by click. Can’t we disable the lightbox with another code without completely disabling the pointer-event?
Thanks
CarolinJanuary 9, 2018 at 11:49 am #895189Hi,
Please try this solution: https://kriesi.at/support/topic/disable-lightbox-on-all-product-pages/#post-296872Best regards,
MikeJanuary 9, 2018 at 12:22 pm #895199Hi Mike,
thanks for the link. Can you give me the final solution out of that post?
It seems a little unclear with all the corrections in it.
If I use that solution, do I have to delete this code from the Quick Css?
.single-product .product div.images a {
pointer-events: none;
}Thanks
CarolinJanuary 9, 2018 at 12:38 pm #895207Hi,
It seems the final solution was: https://kriesi.at/support/topic/disable-lightbox-on-all-product-pages/#post-301184
everything afterward was a different topic.
Then you would remove the quick css, also.Best regards,
MikeJanuary 9, 2018 at 4:20 pm #895280Hi Mike
before changing something in the config.php. I tried and delete the quick css to see if this finally has the effect I’m looking for.
.single-product .product div.images a {
pointer-events: none;
}The title tag (not the alt tag) is now displayed on the main image above but still NOT on the thumbnails below which is what I need..
So this behaviour is not caused by the code above.What could be another reason?
Thanks
CarolinJanuary 10, 2018 at 3:18 am #895483Hi,
The thumbnails display the title in the enlarged image area when clicked. The code for the thumbnails don’t include the title or alt. I believe this is a limitation of woocommerce as the same is true in my tests of switching to the Twenty Sixteen theme.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.