Change Drupal 7 Alt Test for Site Logo

Login in Ftp, and go to themes/Your_Theme_Name/templates, open page.tpl.php file under your theme folder.

Around line 92 to 96, you can find the following code:   <?php if ($logo): ?>         <a href=”<?php print $base_path; ?>”><img src=”<?php print $logo; ?>” alt=”home”/></a> <?php endif; ?>  >

Change the alt to whatever you want. Say your site is local information related,, you can  Change “home” to “Xuyi Information”:

<?php if ($logo): ?>         <a href=”<?php print $base_path; ?>”><img src=”<?php print $logo; ?>” alt=”Xuyi Information”/></a> <?php endif; ?>

Note, drupal use UTF-8 charset, if you use non-english or non-UTF-8 code, you have to use Dreamweaver to convert the code to UTF-8.