1. skipper
  2. Commercial Templates
  3. Sunday, 02 November 2014
  4.  Subscribe via email
Hi Ciarán,
which amendments have to be made in header.php to kill the link:
<div class="logo"> <a href="index.php" title="<?php echo $siteName; ?>">
without changing the visibility of the logo image.
Regards
Skipper
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Skipper

In your templates header.php replace the following...


<div class="logo"> <a href="/index.php" title="<?php echo $siteName; ?>">
<?php if($this->params->get('logoimagefile') == '') : ?>
<img class"logo-image" style="display: block;" src="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/images/logo.png" alt="Logo" />
<?php elseif($this->params->get('logoimagefile') != '') : ?>
<img style="display: block;" src="/<?php echo $this->baseurl ?>/<?php echo $logoimagefile; ?>" alt="Logo" />
<?php endif; ?>
</a> </div>
</div>


With...


<div class="logo">
<?php if($this->params->get('logoimagefile') == '') : ?>
<img class"logo-image" style="display: block;" src="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/images/logo.png" alt="Logo" />
<?php elseif($this->params->get('logoimagefile') != '') : ?>
<img style="display: block;" src="/<?php echo $this->baseurl ?>/<?php echo $logoimagefile; ?>" alt="Logo" />
<?php endif; ?>
</div>
</div>


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!