Page 1 of 4 123 ... LastLast
Results 1 to 10 of 37
  1. #1
    Join Date
    Mar 2011
    Location
    Netherlands
    Posts
    85
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Images missing "ALT" text

    Modern browsers don't display alt text on screen, only title text.

  3. #3
    Join Date
    Mar 2011
    Location
    Netherlands
    Posts
    85
    Plugin Contributions
    0

    Default Re: Images missing "ALT" text

    Quote Originally Posted by RescoCCC View Post
    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 ?

  4. #4
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

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

  5. #5
    Join Date
    Mar 2011
    Location
    Netherlands
    Posts
    85
    Plugin Contributions
    0

    Default Re: Images missing "ALT" text

    Quote Originally Posted by RescoCCC View Post
    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 !
    Attached Images Attached Images  

  6. #6
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

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

  7. #7
    Join Date
    Mar 2011
    Location
    Netherlands
    Posts
    85
    Plugin Contributions
    0

    Default Re: Images missing "ALT" text

    Quote Originally Posted by RescoCCC View Post
    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 ?

  8. #8
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Images missing "ALT" text

    Quote Originally Posted by ceesdk View Post
    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.

  9. #9
    Join Date
    Mar 2011
    Location
    Netherlands
    Posts
    85
    Plugin Contributions
    0

    Default Re: Images missing "ALT" text

    Quote Originally Posted by RescoCCC View Post
    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

  10. #10
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

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

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. How do I write alt="" text for my site Logo Image?
    By SandraSD in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 9 Feb 2011, 07:21 PM
  2. Adding the "ALT" text under images.
    By mariuskem in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Jan 2009, 02:26 PM
  3. Replies: 1
    Last Post: 27 Jan 2009, 09:17 PM
  4. Change "ALT Tags" on images
    By directpc in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 May 2008, 01:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR