html - Magento: remove <p> tags from the header logo image - "Need file path" -
what i'm attempting remove <p>
tags wrap header logo image not contain text because think should not there.
but throwing following error when testing via w3-validator.
line 261, column 216: element p not allowed child of element in context. (suppressing further errors subtree.)
what file should in locate line 261?
i'm stuck. i've searched hours , can't find file-path file contains string need edit. don't have access link hints function out of question.
any suggestions highly appreciated.
thanks million fish
update: here code regarding logo header.phtml
<div class="header-wrapper <?php echo $hdr_style?>"> <header> <?php if ( $config['design']['below_logo'] ) : ?> <div class="row clearfix"> <div class="grid_12"> <?php if ($this->getishomepage()):?> <h1 class="logo"><strong><?php echo $this->getlogoalt() ?></strong><a href="<?php echo $this->geturl('') ?>" title="<?php echo $this->getlogoalt() ?>" class="logo"><?php echo $this->getchildhtml('theme_logo', false) ?></a></h1> <?php else:?> <a href="<?php echo $this->geturl('') ?>" title="<?php echo $this->getlogoalt() ?>" class="logo"><strong><?php echo $this->getlogoalt() ?></strong><?php echo $this->getchildhtml('theme_logo', false) ?></a> <?php endif?>
the code comes <?php echo $this->getchildhtml('theme_logo', false) ?>
.
you need check layout files in theme , see template 'theme_logo block' using. that's can find , remove <p>
tags.
Comments
Post a Comment