Best way to add alt tags to menu link images Topic is solved

Discuss Search Engine Optimization in relation to Joomla! 4.x. This forum will also have discussions on SEF/SEO Joomla! 4.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
Bald-Bloke
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sat Mar 02, 2024 4:23 pm

Best way to add alt tags to menu link images

Post by Bald-Bloke » Sat Mar 02, 2024 4:46 pm

I want to add 'rel="nofollow"' to the menu item and also add the alt tag. I have amended the Mod_menu in overrides to change the 'Link Title Attribute' but the issue I have is as I am using a 3rd party menu extension it rewrites it and converts the " as code. What is the correct way to sort this please.

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12781
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Best way to add alt tags to menu link images

Post by brian » Sat Mar 02, 2024 7:11 pm

For the nofollow you should just use the option on the menu item
chrome_q5Ukr8bdEi.png
You do not have the required permissions to view the files attached to this post.
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

Bald-Bloke
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sat Mar 02, 2024 4:23 pm

Re: Best way to add alt tags to menu link images

Post by Bald-Bloke » Mon Mar 04, 2024 5:42 pm

Thank Brian, That was easy, not sure how I missed that.


Post Reply

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 4.x”