You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Pages: 1
Any way to make the text wrap around the image in the category view?
http://www.911pse.com/ecom-splash/COREseo.html
or
Wrap around the image in the product detail page?
http://www.911pse.com/ecom-prodshow/Saf … tions.html
TIA!
Offline
In the management interface, go to:
Store > Store Displays > Category Displays
Choose the display type you're using. It looks like 'Image and Description' to me. Choose to update that display type. Change:
<table class="ghost"><tr><td class="ghost" style="width: <?php print $imgwidth; ?>px"> <a href="<?php print $catlink; ?>" title="<?php print $catname; ?>"><?php print $imgtag; ?></a> </td><td class="ghost"> <p><a href="<?php print $catlink; ?>" title="<?php print $catname; ?>"><?php print $catname; ?></a></p> <?php print $catdesc; ?> </td></tr></table>
To:
<div style="width: <?php print $imgwidth; ?>px; float: left; margin: 0px 10px 0px 10px;"> <a href="<?php print $catlink; ?>" title="<?php print $catname; ?>"><?php print $imgtag; ?></a> </div> <p><a href="<?php print $catlink; ?>" title="<?php print $catname; ?>"><?php print $catname; ?></a></p>
Then access:
Store > Store Displays > Product Detail Displays
Choose the display type you're using. It looks like 'Default Format' to me. Choose to update that display type. Change:
<table id="proddetail--<?php print $id; ?>" class="cptbl_det"> <tr class="cptbl_det"><td class="cptbl_det"> <table class="ghost"><tr><td class="ghost" style="width: <?php print $imgwidth; ?>px"> <?php print $imgtag; ?> <?php // +-- // | Handle the extra large image tag and email a friend link. // +-- $emailfr = $this->globals('core_settings.ecom.emailfriend'); if ($ns != 'prodshow') {$emailfr = 0;} if (($showxl) || ($emailfr)) { print '<div style="width:' . $imgwidth . 'px">' . $eol; if ($showxl) {print $xlimgtag;} if ($emailfr) { $link_emailf = $this->link_namespace('ecom','emailfriend',array('ref' => $proddisp['id'])); print '<p><a href="' . $link_emailf . '" title="Email a Friend" '; print 'class="hrefbutton">Email This Item to a Friend</a></p>'; } // End of if statement. print '</div>' . $eol; } // End of if statement. ?> </td><td class="ghost"> <p><strong><?php print $prodname; ?></strong></p> <?php print $proddesc; ?> <?php $this->include_file('ecom','pricedisp.php'); ?> </td></tr> </table> </td></tr></table>
To:
<div style="width: <?php print $imgwidth; ?>px; float: left; margin: 0px 10px 0px 10px;"> <?php print $imgtag; ?> <?php // +-- // | Handle the extra large image tag and email a friend link. // +-- $emailfr = $this->globals('core_settings.ecom.emailfriend'); if ($ns != 'prodshow') {$emailfr = 0;} if (($showxl) || ($emailfr)) { print '<div style="width:' . $imgwidth . 'px">' . $eol; if ($showxl) {print $xlimgtag;} if ($emailfr) { $link_emailf = $this->link_namespace('ecom','emailfriend',array('ref' => $proddisp['id'])); print '<p><a href="' . $link_emailf . '" title="Email a Friend" '; print 'class="hrefbutton">Email This Item to a Friend</a></p>'; } // End of if statement. print '</div>' . $eol; } // End of if statement. ?> </div> <p><strong><?php print $prodname; ?></strong></p> <?php print $proddesc; ?> <?php $this->include_file('ecom','pricedisp.php'); ?>
Offline
Pages: 1