Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • gjensen Friend
    #189257

    I would like to add an alt tag to the Logo image

    I found this code in plugins/system/jat3/jat3/base-themes/default/blocks/header.php — Is this the right place? Where to add alt=””

    <?php
    $app = JFactory::getApplication();
    $siteName = $app->getCfg(‘sitename’);
    if ($this->getParam(‘logoType’, ‘image’)==’image’): ?>
    <h2 class=”logo”>
    <a href=”<?php JURI::base(true) ?>” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    </h2>

    pavit Moderator
    #500254

    Hi

    The code shows already the alt tag for the logo image


    1. altpuresite
    gjensen Friend
    #500276

    Thanks, I was hoping to add the name of my website — how to take out the template name and insert name of my website?

    pavit Moderator
    #500279

    If you change the name at your website from template manager it shows your new name int alt tag

    <?php echo $sitename ?>

    gjensen Friend
    #500301

    Please explain exactly where in the template manager I make the change.

    thanks

    pavit Moderator
    #500303

    <em>@gjensen 382387 wrote:</em><blockquote>Please explain exactly where in the template manager I make the change.

    thanks</blockquote>

    Global configuration – Site Tab – Site Settings – Site Name

    gjensen Friend
    #500332

    That already has my sitename listed, has since I launched the site years ago.

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

This topic contains 7 replies, has 2 voices, and was last updated by  gjensen 11 years, 4 months ago.

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