cancel
Showing results for 
Search instead for 
Did you mean: 

How to add alt tag to category pictures

SOLVED

How to add alt tag to category pictures

Magento ver. 1.9.3.4 - https://shop.andersonprocess.com/

 

How would I go about adding an alt tag to my category images. They're different than product images and don't have a field to type in a description. Would this be something where I would have to update the template file? Focusing my efforts on SEO for the week and it came to my attention that none of my category images have alt tags. I have 655 categories at the moment and plan on adding hundreds of more in the future. Would be extremely helpful!

1 REPLY

Re: How to add alt tag to category pictures

@AP_bromanBy default Magento has alt tag on all the images. For category images alt/title tag contains the name of the category. If you are not seeing it means you are using custom theme which has the issue. Below is an article has multiple code snippet to achieve the same.

 

https://stackoverflow.com/questions/39404796/adding-category-image-to-the-category-page-in-magento

 

Problem Solved? Please give Kudos and accept answer as Solution.

Thanks,
Tarandeep
Magento 2 Certified Solution Specialist (x2). Follow me on Twitter