Close

3.2 Mega Menu Alt Tag Removal

baloghc
11 years ago
#3823 Quote
Avatar
  • 79
Is there a way to remove the Alt Tags from the Menu?

All that happens is it hovers and displays what the text already reads.

Thank you!
Nop 3.7 - ArtFactory
Nop 4.0 - Lavella, Venture, Smart, ArtFactory
Support
11 years ago
#3831 Quote
Avatar
  • Moderator
  • 1044
imprintableswarehouse wrote:
Is there a way to remove the Alt Tags from the Menu?

All that happens is it hovers and displays what the text already reads.

Thank you!


Hi,

Yes you can. As you know all the views in the plugins are open to modifications, so you can easily edit them by removing the "alt" tags from the images and the "title" tag from the links. You can find the views for the Mega Menu in Plugins/SevenSpikes.Nop.Plugins.MegaMenu/Views/MegaMenu .

For the infinite category template please edit the CategoryMenuTemplate.InfiniteCategories.cshtml file and remove all "title" attributes within the <a> elements.

For the categories in grid with pictures, please edit the CategoryMenuTemplate.WithPictures.cshtml and remove all the "alt" attributes within the <img> elements.

If you need any further help, please let us know!
baloghc
11 years ago
#3832 Quote
Avatar
  • 79
Awesome! Thanks for the help!
Nop 3.7 - ArtFactory
Nop 4.0 - Lavella, Venture, Smart, ArtFactory