test melih
 melih
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • easaid Friend
    #207185

    Hi,
    I have changed the logo of my website, but I was now wondering how or where I can change the alternative text that shows when I hover over the logo?
    Thanks!

    Daniel

    pavit Moderator
    #573577

    Hi

    You can edit this file templatespurity_iiitplsblocksheader.php

    <!-- LOGO -->
    <div class="logo logo-<?php echo $logotype ?>">
    <div class="logo-<?php echo $logotype, ($logoimgsm ? ' logo-control' : '') ?>">
    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
    <?php if($logotype == 'image'): ?>
    <img class="logo-img" src="<?php echo JURI::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
    <?php endif ?>

    <?php if($logoimgsm) : ?>
    <img class="logo-img-sm" src="<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
    <?php endif ?>

    <span><?php echo $sitename ?></span>
    </a>
    </div>
    </div>
    <!-- //LOGO -->

    Change the code in red with your alt tag

    easaid Friend
    #573589

    Thanks, unfortunately nothing changes for me. It’s strange, The sitename is also as it should be, but besides that.. This somehow doesn’t change a thing. Are there any other options?

    pavit Moderator
    #573591

    <em>@easaid 477443 wrote:</em><blockquote>Thanks, unfortunately nothing changes for me. It’s strange, The sitename is also as it should be, but besides that.. This somehow doesn’t change a thing. Are there any other options?</blockquote>

    Hi

    Post here a link to your website and if possible send me via Private Message a temp super user account for your backend

    There are no other solutions to this

    pavit Moderator
    #573617

    Hi

    Just to add a note

    If you are referring to the title and not to the alt text then you should apply this change

    <!-- LOGO -->
    <div class="logo logo-<?php echo $logotype ?>">
    <div class="logo-<?php echo $logotype, ($logoimgsm ? ' logo-control' : '') ?>">
    <a href="<?php echo JURI::base(true) ?>" title="Your custom title">
    <?php if($logotype == 'image'): ?>
    <img class="logo-img" src="<?php echo JURI::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
    <?php endif ?>

    <?php if($logoimgsm) : ?>
    <img class="logo-img-sm" src="<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
    <?php endif ?>

    <span><?php echo $sitename ?></span>
    </a>
    </div>
    </div>
    <!-- //LOGO -->

    easaid Friend
    #573620

    No, I actually meant the Alt Text. I reinstalled the template without the demo-files. Works like a charm now! Thanks for your trouble

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

This topic contains 6 replies, has 2 voices, and was last updated by  easaid 9 years, 7 months ago.

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