This topic has 16 replies, 4 voices, and was last updated 9 years, 12 months ago ago by Eva Kemp
I look after the site http://www.countrywaygunshop.co.uk. I’ve added alt text to all images in the media gallery however this is not pulling through to the product pages.
Is this something that can be changed by settings in the blanco theme setup or is it something that requires code adjustments to the theme files?
Thanks in advance
Hello,
Please provide us with wp-admin panel credentials in Private Content.
Regards,
Eva Kemp.
Added 🙂
Hello,
As I see you have old versions of WordPress and the theme. Please update them to the latest versions.
https://www.8theme.com/demo/docs/blanco/index.html#!/upgrade
Don’t forget to create back up of the files before the update.
Regards,
Eva Kemp.
Hi Eva, I have updated WordPress and the Theme now but i am still experiencing the issue where alt tags are not pulled through to the frontend. I’m also having some issues where product images get too big for the container when changing variations.
Thanks
Craig
Hello,
I’ve regenerated thumbnails. Please check your product images for variations.
Concerning the alternative text issue try to deactivate 3rd-party plugins. Perhaps some is causing the problem.
Regards,
Eva Kemp.
hi eva, are you able to maybe suggest which plugins would affect the alt text? I’ve disabled all the ones i would have thought would affect it and no change.
Thanks
Craig
Hello,
Sorry for a long delay.
There is a bug in the theme with alt text for images. We’ll fix it in our future update. Meanwhile you can resolve it in the file blanco/woocommerce/single-product/product-image.php, find the line 41 and after the code src="<?php echo etheme_get_image( $imgId, $mainWidth, $mainHeight, $crop ) ?>"
add this line alt="<?php echo get_post_meta($imgId, '_wp_attachment_image_alt', true)?>"
Please take our apologies for inconveniences.
Regards,
Eva Kemp.
I am experiencing the same thing with the Legenda theme. No ALT tags for the product or the gallery images also none for the thumbs on the category pages or store page.
We have removed 3rd party plugins but no change.
Hello @jedijonny,
There is also a bug in Legenda theme.
It will be fixed in the next update.
Please take our apologies for inconveniences.
Regards,
Eva Kemp.
Is there a work around for this at the moment? Maybe some code you can provide to modify a file?
Thanks
Craig
Hello @craigmcdermott,
Sorry, but currently there is no work around for Legenda theme and our developers are working on it.
This issue will be fixed in the next update.
Please take our apologies for inconveniences.
Thank you for your understanding and patience.
Regards,
Eva Kemp.
H there,
I’m looking for a work around to add ALT tags to the product images also.
Please notify me also if you find it
Thanks…
Hello @kingtidemedia,
For Blanco theme you need edit the file blanco/woocommerce/single-product/product-image.php, find the line 41 and after the code src="<?php echo etheme_get_image( $imgId, $mainWidth, $mainHeight, $crop ) ?>"
add this line alt="<?php echo get_post_meta($imgId, '_wp_attachment_image_alt', true)?>"
Thank you.
Regards,
Eva Kemp.
Hello,
Thanks for the response, I was wondering if the above code has been tested on legenda theme?
src="<?php echo etheme_get_image( $imgId, $mainWidth, $mainHeight, $crop ) ?>"
add this alt="<?php echo get_post_meta($imgId, '_wp_attachment_image_alt', true)?>"
Hello @kingtidemedia,
Sorry, but it wasn’t tested in Legenda theme.
Developers will include the fix in the next update of Legenda.
Sorry for inconveniences.
Thank you.
Regards,
Eva Kemp.
The issue related to '‘Alt text not pulling through to product images’' has been successfully resolved, and the topic is now closed for further responses