Hello all,
I am really new to PHP code and am currently working in Magento with a online stall. www.rightstepgrass.com
I have found that a call out in the header.phtml file that pulls the logo along with alternative text which appears as a H1 tag behind the logo. I want to remove this H1 but keep the logo where it is along with normal alternative text. I hope this makes sense.
The code I have is
getIsHomePage()):?>
<?php echo $this-
getLogoAlt() ?><a href="<?php echo $this->getUrl('') ?>"
title="<?php echo $this->getLogoAlt() ?>"><img src="<?php echo $this-
<?php else:?>getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" />
<a href="<?php echo $this->getUrl('') ?>"
title="<?php echo $this->getLogoAlt() ?>" class=“logo”><?php echo
$this->getLogoAlt() ?><img src="<?php echo $this->getLogoSrc() ?
" alt="<?php echo $this->getLogoAlt() ?>" />
Can anyone shed any light on this code to remove the H1 attribute? I would have a ‘play around’ with it but I am scared of breaking the site.
Any help would be greatly appreciated.