Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • klmklm Friend
    #127301

    When creating a banner, how can I change the alt tag so that it no longer say Banner when hovering over the image…

    Thanks

    Sherlock Friend
    #244632

    what banner ? please send link of your site and point this banner or print screen ?

    kashxo Friend
    #244643

    Base on structure of default mod_banners of Joomla!, you can not add custom alt text for each image you’ve added. However, you can change that default text in the language file, search for “Banner” or modify the mod_banners code at line 84, change this code:

    $image = '<img src="'.$baseurl.'images/banners/'.$item->imageurl.'" border="0" alt="'.JText::_('Banner').'" />';

    to
    <blockquote>$image = ‘<img src=”‘.$baseurl.’images/banners/’.$item->imageurl.'” border=”0″ alt=”your custom alt here” />’;</blockquote>

    klmklm Friend
    #244666

    You are a star, that did work for me although disappointed for now being able to custome alt tag banners.

    Thanks again:D

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  klmklm 16 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum