Images missing "ALT" text
Hello,
I am busy with optimizing the shop "www.airlinersbuyweb.com" using woorank.com and such programs.
One of the things they are complaining about is the alt text from images. Wel, I have updated the alt text and it is there, but it is not visible on screen.
Who can tell me how to solve that ?
An other problem wich i can't solve (and find) is the banner wich should contain a home-link an also the alt text is not visible !
Thanks in advange
ceesdk
Re: Images missing "ALT" text
Modern browsers don't display alt text on screen, only title text.
Re: Images missing "ALT" text
Quote:
Originally Posted by
RescoCCC
Modern browsers don't display alt text on screen, only title text.
My admin back-end displays the alt text from my banner and act as a home-link, this is what i need on the front-end !
Who has an idea ?
Re: Images missing "ALT" text
I'm not sure what you're referring to since I don't see any banners on your site. But, again, modern browsers do not display alt text on screen. They only display title text.
1 Attachment(s)
Re: Images missing "ALT" text
Quote:
Originally Posted by
RescoCCC
I'm not sure what you're referring to since I don't see any banners on your site. But, again, modern browsers do not display alt text on screen. They only display title text.
Hai, see image for what I call my banner, on my admin screen when I hover the mouse over that banner it shows a square with text and when I click on the banner it has a "home" function.
That does not happen on the front end banner !
Re: Images missing "ALT" text
The image in the admin is not the same image as the one that appears on the index page. The file is in a different location and has a different name. What you're seeing is the title text, not the alt text.
The image on the index page is acting as a background.
Re: Images missing "ALT" text
Quote:
Originally Posted by
RescoCCC
The image in the admin is not the same image as the one that appears on the index page. The file is in a different location and has a different name. What you're seeing is the title text, not the alt text.
The image on the index page is acting as a background.
Do you mean that the image on de index page can't act as a home link ?
Re: Images missing "ALT" text
Quote:
Originally Posted by
ceesdk
Do you mean that the image on de index page can't act as a home link ?
It can if you use it as the logo, but you're using it as the header. You don't have a logo installed.
Re: Images missing "ALT" text
Quote:
Originally Posted by
RescoCCC
It can if you use it as the logo, but you're using it as the header. You don't have a logo installed.
OK! which file do I need to change, I have being searching for it but there are about 20 (or more) header.php files
Re: Images missing "ALT" text
You would edit:
includes/languages/english/your_template/header.php
define('HEADER_LOGO_WIDTH', '1100px');
define('HEADER_LOGO_HEIGHT', '148px');
define('HEADER_LOGO_IMAGE', 'logo.jpg');
Download your header image, rename it to logo.jpg and then upload it to includes/templates/your_template/images.
Then in your stylesheet remove the line in red:
#logoWrapper{
background-image: url(../images/header_bg.jpg);
background-repeat: repeat-x;
background-color: #ffffff; /** wit */
width:1100px;
height:148px;
}
Then download and open includes/templates/your_template/common/ tpl_header.php Make sure that this section is NOT commented out:
<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>
If it is commented out, uncomment it out and re-upload it.