Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Unable to Change Alt Text for Site Logo

Unable to Change Alt Text for Site Logo

Views: 659

Results 1 to 3 of 3
8 Apr 2014, 7:15 PM
#1
dilbert_freak_420 avatar

dilbert_freak_420

New Zenner

Join Date:
Jan 2014
Location:
knoxville TN
Posts:
6
Plugin Contributions:
0

Unable to Change Alt Text for Site Logo

I'm trying to change the alt text that appears when I mouse over my logo image in the header of my page. It currently reads "Template by Zen-Cart-Power.net - Power Your Zen Cart!" and I want it to say something else.

I've edited the 'HEADER_ALT_TEXT' line in my /includes/languages/english/classic/header.php file like so:

// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Diesel Products, Inc.');
define('HEADER_SALES_TEXT', '<h1>Sales Message Goes Here</h1>');
define('HEADER_LOGO_WIDTH', '200px');
define('HEADER_LOGO_HEIGHT', '70px');
define('HEADER_LOGO_IMAGE', 'logo.gif');

However, this code doesn't seem to affect the alt text at all. Is this alt information hard coded somewhere else in my template files? If so how would I go about finding it? I tried searching for the current alt text verbatim in my Developers Tool Kit but none of the sections could find the phrase in any files. :blink:

Also, am I obligated to keep this alt text there since the developers coded it in? It would really make my site look more professional to change it.

Link to my site: http://dieseldp.com/

8 Apr 2014, 7:51 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Unable to Change Alt Text for Site Logo

Check in includes/languages/english/bask_black/header.php. If that doesn't do it, use the Admin - Tools - Developers Tool Kit to search for power.net.

9 Apr 2014, 6:39 PM
#3
dilbert_freak_420 avatar

dilbert_freak_420

New Zenner

Join Date:
Jan 2014
Location:
knoxville TN
Posts:
6
Plugin Contributions:
0

Re: Unable to Change Alt Text for Site Logo

Searched Developers Tool Kit for the phrase again and found it in 2 files. Was able to get rid of the old alt text and add my own. I think I had put it in quotes the first time I searched Developers Tool Kit, which I guess you can't do. Thanks for the help!! :laugh: