add this to the stylesheet
.centerColumn {
text-align: center;
}
add this to the stylesheet
.centerColumn {
text-align: center;
}
A little help with colors.
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
yep I have the right column shut off maybe its my graphic lol.
thanks so much for all your help![]()
AHHH HAA thanks that made it centered woohooo
lol
thanks so much again![]()
ok can someone help me with why my border is doing this???
I moved my login/ home below my logo.gif and I then lost my border for my whole page this is the code I used.
but when I go to put the border around the header it throws it all off this is what it looks like<table border="0" width="100%" cellspacing="0" cellpadding="0" class="header">
<tr><!-- All HEADER_ definitions in the columns below are defined in includes/languages/english.php //-->
<td valign="middle" height="<?php echo HEADER_LOGO_HEIGHT; ?>" width="<?php echo HEADER_LOGO_WIDTH; ?>">
<?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT) . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?>
</td>
<td align="center" valign="top">
<?php
if (HEADER_SALES_TEXT != '') {
echo HEADER_SALES_TEXT;
}
if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
if ($banner->RecordCount() > 0) {
echo zen_display_banner('static', $banner);
}
}
?>
</td>
</tr>
</table><table class="centershop" style="border-left: 2px dotted #000000" style="border-right: 2px dotted #000000" style="border-bottom: 2px dotted #000000" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<?php
if (!isset($flag_disable_header) || $flag_disable_header == false) {
?>
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="headerNavigation">
<tr>
<td align="left" valign="top" width="35%" class="headerNavigation">
<a href="<?php echo zen_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a> |
<?php if (isset($_SESSION['customer_id'])) { ?>
<a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a> |
<a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>
<?php } } ?>
</td>
<td align="center" width="30%" class="headerNavigation"><?php require(DIR_WS_MODULES . 'sideboxes/' . 'search_header.php'); ?></td>
<td align="right" valign="top" width="35%" class="headerNavigation">
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?>»</a>
<?php }?>
</td>
</tr>
</table>
http://jenniejdesigns.com/index.php?main_page=index
what am I not doing right?![]()
It appears you have moved the nav inside the main content wrapper.
<soapbox>
You are spending an awful lot of time producing something that may or may not be supported in the next release. Surely the table-based Classic will be forgotten by 1.4.x. There's no time like the present to move to the custom template that uses the template_default directory as a guide. Check out the posts on the override system. IMHO continuing with the Classic template is like taking the time to learn a dead language. You may find a couple of people that speak it but, you'll be able to "talk" to a lot more people with the new, universal language.
</soapbox>
A little help with colors.
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
gee thanks thats not what i was looking for but thanks anyway![]()
how do i make this my own custom template?![]()
![]()
http://www.zen-cart.com/wiki/index.p...on_-_TemplatesOriginally Posted by AvieLF
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
thank you![]()