New Zenner
- Join Date:
- Dec 2009
- Posts:
- 6
- Plugin Contributions:
- 0
Comstock Template
calixto:
Fixed,
there is in tpl_best_sellers.php
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
calls for definition bestsellersContent which does not exist rather than bestsellers. I could rename it as well but removed the content piece and set needed top margin
I guess that is the same thing that happens in Bestseller box in general, that the browser assumes default top margin
Hi clydjones,
I searched forum, find some has the same issue.
I referred his suggestion, add the new class in the stylesheet.css.
.bestsellersContent {
background-image:url(../images/sidebox_content_bg.gif);
margin-top: 0;
padding:0;
}
and change the /tpl_best_sellers.php.
from
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
to
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="bestsellersContent">' . "\n";
BUT it doesn't work, it still has a blank between the sidebox_content_bg.gif and sidebox_header_bg.gif.
Could you help me on this?
Thanks a lot.