Re: Images missing "ALT" text
Quote:
Originally Posted by
usernamenone
Ok and what is not working correctly for you?
OK! Then i have to go back to message #3, and using to right ?? terms
My admin screen displays the title text from my logo and act as a home-link, when I hover it or click on it (resp), this is what I like to see on the catalog (front end) screen to !
Re: Images missing "ALT" text
Quote:
My admin screen displays the title text from my logo and act as a home-link, when I hover it or click on it (resp), this is what I like to see on the catalog (front end) screen to !
Again, that's because the admin image is coded as a logo and the image on your index page is not. The image on your index page is coded as the header. If you look at the source for your index page you'll see this:
<!--bof-branding display-->
<div id="logoWrapper">
<div id="logo"></div>
<div id="taglineWrapper">
<div id="tagline"></div>
</div>
</div>
<br class="clearBoth" />
<!--eof-branding display-->
Note the code in red. That div is where the logo image is supposed to be linked. It is empty. You've changed the code in one of the files that generates this. Those files are all discussed in this thread. Try comparing them against original Zen Cart files.
Re: Images missing "ALT" text
If you will listen very carefully again
Images pulled out of the style sheet do not have alt text
This is still in your style sheet
#logoWrapper{
background-image: url(../images/header_bg.jpg);
background-repeat: repeat-x;
background-color: #ffffff; /** wit */
width:1100px;
height:148px;
}
1. Remove the image out of your style sheet
2. Open your template>common>tpl_header.php
3. make sure the original code for logo is intact
Code:
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
Re: Images missing "ALT" text
Quote:
Originally Posted by
RescoCCC
You've changed the code in one of the files that generates this. Those files are all discussed in this thread. Try comparing them against original Zen Cart files.
@RescooCCC and @usernamenone, Got him !, the instructions were OK! in message #5? There was a problem with uncommenting in file
tpl_header.php, I did uncomment it but halfway the line there were two "//" which I overlooked. By comparing the file with the original file I found the fault. see after <?php echo
<div id="logoWrapper">
<div id="logo"><?php echo // '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($te
He, Both thanks for your patience to solve this !
regards, Ceesdk
Re: Images missing "ALT" text
[QUOTE=usernamenone;1089440]If you will listen very carefully again
hai, we where writing at the same time !
Re: Images missing "ALT" text
Excellent. Glad you got it solved.
Re: Images missing "ALT" text
Cheers, Merry Christmas :smartalec: