Please Login or Register

Knowledgebase

How to remove default magento images

To remove the default images or callouts from the right and left columns of magento you must edit the following files:

edit the file: /app/design/frontend/default/default/template/callouts/right_col.phtml

& comment out the code

<div class=”box”>
<img src=”<?php echo $this->getSkinUrl(’images/media/col_right_callout.jpg’) ?>” width=”195″ alt=”<?php echo __(’Keep your eyes open for our special Back to School items and save A LOT!’) ?>” style=”display:block;” />
</div>

edit the following file:/app/design/frontend/default/default/template/callouts/left_col.phtml

<div class=”box”>
<?php if (strtolower(substr($this->getLinkUrl(),0,4))===’http’): ?>
<a href=”<?php echo $this->getLinkUrl() ?>”>
<?php elseif($this->getLinkUrl()): ?>
<a href=”<?php echo $this->getUrl($this->getLinkUrl()) ?>”>
<?php endif ?>
<img src=”<?php echo $this->getSkinUrl($this->getImgSrc()) ?>” width=”195″ alt=”<?php echo $this->__($this->getImgAlt()) ?>” style=”display:block;” />
<?php if ($this->getLinkUrl()): ?>
</a>
<?php endif ?>
</div>



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article


Quick Navigation

Client Login

Email

Password

Remember Me

Search