If you visit my site:

http://www.dibbsolutions.com/

and mouse-over the site logo and text where it says "Medisoft 15", the Alt text just reads "Home".

How can I change it to whatever I want, for example "Medisoft" would be great.

Comments

jpshayes’s picture

Try looking in the page.tpl.php file in your theme folder.

There should be a line of code that looks something like this

<?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.

dibbd’s picture

Hey, thanks a lot, you certainly got me in the right direction. Maybe it's just the Chrysalis theme I'm using, but I had to change the "print" statements below to 'Medisoft' in order for it to work. I first changed the alt= as you suggested, refreshed, made no difference.

So then I looked around some more on that page and found a few other places that had 'Home' and changed it to 'Medisoft'.

Thanks again, and this is the code I changed:


  <?php if ($logo): ?>
    <a id="logo" href="<?php print $base_path; ?>" title="<?php print t('Medisoft'); ?>"><img src="<?php print $logo; ?>" alt="<?php print t('Medisoft'); ?>" /></a>
  <?php endif; ?>

  <?php if ($site_name): ?>
    <h1 id='site-name'><a href="<?php print $base_path; ?>" title="<?php print t('Medisoft') ?>"><?php print $site_name; ?></a></h1>
  <?php endif;?>

jpshayes’s picture

Cool, Every theme has a different way of doing it.