I'm not sure I understand exactly what it is you're trying to accomplish.
You might want to ask in the better categories sudebox support thread
Printable View
Using ZC version 1.3.8a and the Comstock template. Web address: www.SarasSoapsnSuch.com.
Question: In the footer, there's a graphic for the credit cards I (supposedly) take, listing MC, Visa, Discover and AmEx, plus Paypal. I don't take AmEx or PP, so how do I change that graphic? I looked in /public_html/includes/templates/comstock/common/tpl_footer.php, but couldn't see anything that looked like the line I'd need to edit for that. I need this to be more accurate. I honestly didn't realize it listed all of them (or I'd have troubleshot this earlier), and now I've got to contact a customer about her AmEx payment that I can't accept.
Thanks!
~Sara
open includes/templates/comstock/common/tpl_footer.php
find and comment out/delete the following:
<div id="shopOptions"> </div>
-----------
If you want to modify the image
go to includes/templates/comstock/images/options.gif
Edit the file in your image editor.
Hi Clydejones,
I am using ZC version 1.3.8a and the Comstock template.
But I met a problem like www.SarasSoapsnSuch.com. In the bestsellers sideboxes, the sidebox_header_bg pic and side_box_content_bg pic can't be juncture. Could help take a look?
How can fix this problem?
Thanks a lot in advance.
James
sorry, I build the web on my local host for testing, han't uploaded it on the internet. but effec looks likes the www.SarasSoapsnSuch.com. I have not installed any addone, only 1.3.8a and this template. pls help me. Thanks
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.
try the following:
open includes/templates/YOUR_TEMPLATE/sideboxes/tpl_best_sellers.php
replace the following code:
with this:Code:$content = '';
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
$content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
for ($i=1; $i<=sizeof($bestsellers_list); $i++) {
$content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
}
$content .= '</ol>' . "\n";
$content .= '</div>' . "\n";
$content .= '</div>';
Code:$content = '';
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
$content .= '<ol>' . "\n";
for ($i=1; $i<=sizeof($bestsellers_list); $i++) {
$content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
}
$content .= '</ol>' . "\n";
$content .= '</div>';