
Originally Posted by
Tom_Ace
I need help on this situation. Here the screenshot that i want it to be fixed. Sorry for my english.
Ok, we'll address this one by one, and hopefully I'm understanding what you want.
To remove the top section with "HOME and LOGIN", open up includes/templates/YOUR_TEMPLATE/common/tpl_header.php and REMOVE:
Code:
<div id="navMainWrapper">
<div id="navMain">
<div id="navMainLinks">
<ul class="back">
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
<?php } } ?>
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?>
</ul>
</div>
<div id="navMainSearch">
<?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?>
</div>
</div>
</div>
<div class="clearBoth"></div>
To remove that grey section to the left and right of the drop down menu header, REMOVE this from the stylesheet.css:
Code:
#dropMenuWrapper {
background:#929292; /* medium grey bar outside of the header menu */
}
To get the gray gradient backround to go all the way up the site REPLACE the body section with this:
Code:
body {
background:url(../images/site-bg-grey.gif) repeat-x;
}
AND also REPLACE #headerWrapper to this:
#headerWrapper {
width:100%;
text-align:center;
margin:0 auto;
}
Now since your LOGO has a white background, it may look funny with the grey background going all the way up.
I see you've already got the product image to the right.
The BUTTON_ADD_SELECTED_ALT issue... it looks like there's something wrong with your coding on the product listing page, because its not pointing to:
includes/templates/YOUR_TEMPLATE/buttons/english/button_add_selected.gif
Open up includes/templates/YOUR_TEMPLATE/templates/tpl_modules_product_listing.php and make sure that around line 19 and 58, you have this code:
Code:
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_ADD_PRODUCTS_TO_CART, BUTTON_ADD_PRODUCTS_TO_CART_ALT, 'id="submit1" name="submit1"'); ?></div>
As to your very last problem (fatal error) I'm guessing that you're not using zen cart 1.3.7??
Bookmarks