<h1 class="logo"> causing H1 on every page in magento HELP

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

<?php if ($this-

getIsHomePage()):?>

<?php echo $this-

getLogoAlt() ?><a href="<?php echo $this->getUrl('') ?>"

title="<?php echo $this->getLogoAlt() ?>"><img src="<?php echo $this-

getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" />

<?php else:?>
    <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.

Did you solve this? On the grass.com site you posted, it did not have a logo behind the header text.
If you solved it, let us know so we can close this thread or if not solved, tell us what part you want
fixed on the site you posted. It looks good from this angle… Thanks…

Sponsor our Newsletter | Privacy Policy | Terms of Service