Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.
Add Alt text to main site logo
7 years 6 months ago
Hi Guys,
I need to add an alt tag to the image we're using for the main site logo. We just did a site audit which flagged errors relating to this across all the pages of our website. Which of the template files would I need to modify for this as i can't seem to find it.
Thanks in advance.
7 years 6 months ago
Hi
Do you currently have an image title showing in the source code?
Cheers
Paul
-
-
manh
-
Moderator
- 45248 posts
- 2106 Thanks
-
Karma: 603
7 years 6 months ago
I managed to fix this issue finally. All good now. Thanks.
7 years 6 months ago
Did you edit the nav.php file?
And add something like
alt="<?php echo $logotext ?>"
Cheers
Paul
-
-
manh
-
Moderator
- 45248 posts
- 2106 Thanks
-
Karma: 603
7 years 6 months ago
I finally managed to get my dev to do it. We found the logo code in the nav.php file as you suggested. It was already showing the correct title tag but no alt tag for some reason. Just did another audit and we're finally alt error free. Thanks.
7 years 6 months ago
Thanks for the update
Cheers
Paul
-
-
manh
-
Moderator
- 45248 posts
- 2106 Thanks
-
Karma: 603