I am wondering how to change the color of the white box that first appears when clicking on the categories and the one in the Basket.
I am referring to the boxes that currently say "There are no products to list in this category." and "Your shopping cart is empty!"
http://216.197.194.129/
Thanks,
Much Appreciated
I am referring to the boxes that currently say "There are no products to list in this category." and "Your shopping cart is empty!"
http://216.197.194.129/
Thanks,
Much Appreciated
Hey Gnome,
Those have to changed directly in the template file.
IE. catalog/view/theme/theme name/template/
The tpl files under that directory.
Remove the background reference and color code found in "<div style="background: "
Kevin.
Those have to changed directly in the template file.
IE. catalog/view/theme/theme name/template/
The tpl files under that directory.
Remove the background reference and color code found in "<div style="background: "
Kevin.
Kevin Davidson
Purolator Shipping Module
Canpar Shipping Module
VQMod - Paypal Transaction ID to Payment Details
I have looked around in the cart.tpl but still can't find the necessary background color to change. Here is the URL of the page with the box I want to change and the tpl file
.
http://69.11.31.41/index.php?route=checkout/cart
<div class="top">
<h1><?php echo $heading_title; ?></h1>
</div>
<div class="middle">
<?php if ($error) { ?>
<div class="warning"><?php echo $error; ?></div>
<?php } ?>
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="cart">
<table class="cart">
<tr>
<th align="center"><?php echo $column_remove; ?></th>
<th align="center"><?php echo $column_image; ?></th>
<th align="left"><?php echo $column_name; ?></th>
<th align="left"><?php echo $column_model; ?></th>
<th align="right"><?php echo $column_quantity; ?></th>
<th align="right"><?php echo $column_price; ?></th>
<th align="right"><?php echo $column_total; ?></th>
</tr>
<?php $class = 'odd'; ?>
<?php foreach ($products as $product) { ?>
<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
<tr class="<?php echo $class; ?>">
<td align="center"><input type="checkbox" name="remove[<?php echo $product['key']; ?>]" /></td>
<td align="center"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" /></a></td>
<td align="left" valign="top"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>
<?php if (!$product['stock']) { ?>
<span style="color: #000000; font-weight: bold;">***</span>
<?php } ?>
<div>
<?php foreach ($product['option'] as $option) { ?>
- <small><?php echo $option['name']; ?> <?php echo $option['value']; ?></small><br />
<?php } ?>
</div></td>
<td align="left" valign="top"><?php echo $product['model']; ?></td>
<td align="right" valign="top"><input type="text" name="quantity[<?php echo $product['key']; ?>]" value="<?php echo $product['quantity']; ?>" size="3" /></td>
<td align="right" valign="top"><?php echo $product['price']; ?></td>
<td align="right" valign="top"><?php echo $product['total']; ?></td>
</tr>
<?php } ?>
<tr>
<td colspan="7" align="right"><b><?php echo $text_subtotal; ?></b> <?php echo $subtotal; ?></td>
</tr>
</table>
<div class="buttons">
<table>
<tr>
<td align="left"><a onclick="$('#cart').submit();" class="button"><span><?php echo $button_update; ?></span></a></td>
<td align="center"><a onclick="location='<?php echo $continue; ?>'" class="button"><span><?php echo $button_shopping; ?></span></a></td>
<td align="right"><a onclick="location='<?php echo $checkout; ?>'" class="button"><span><?php echo $button_checkout; ?></span></a></td>
</tr>
</table>
</div>
</form>
</div>
<div class="bottom"> </div>
.
http://69.11.31.41/index.php?route=checkout/cart
<div class="top">
<h1><?php echo $heading_title; ?></h1>
</div>
<div class="middle">
<?php if ($error) { ?>
<div class="warning"><?php echo $error; ?></div>
<?php } ?>
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="cart">
<table class="cart">
<tr>
<th align="center"><?php echo $column_remove; ?></th>
<th align="center"><?php echo $column_image; ?></th>
<th align="left"><?php echo $column_name; ?></th>
<th align="left"><?php echo $column_model; ?></th>
<th align="right"><?php echo $column_quantity; ?></th>
<th align="right"><?php echo $column_price; ?></th>
<th align="right"><?php echo $column_total; ?></th>
</tr>
<?php $class = 'odd'; ?>
<?php foreach ($products as $product) { ?>
<?php $class = ($class == 'even' ? 'odd' : 'even'); ?>
<tr class="<?php echo $class; ?>">
<td align="center"><input type="checkbox" name="remove[<?php echo $product['key']; ?>]" /></td>
<td align="center"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" /></a></td>
<td align="left" valign="top"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a>
<?php if (!$product['stock']) { ?>
<span style="color: #000000; font-weight: bold;">***</span>
<?php } ?>
<div>
<?php foreach ($product['option'] as $option) { ?>
- <small><?php echo $option['name']; ?> <?php echo $option['value']; ?></small><br />
<?php } ?>
</div></td>
<td align="left" valign="top"><?php echo $product['model']; ?></td>
<td align="right" valign="top"><input type="text" name="quantity[<?php echo $product['key']; ?>]" value="<?php echo $product['quantity']; ?>" size="3" /></td>
<td align="right" valign="top"><?php echo $product['price']; ?></td>
<td align="right" valign="top"><?php echo $product['total']; ?></td>
</tr>
<?php } ?>
<tr>
<td colspan="7" align="right"><b><?php echo $text_subtotal; ?></b> <?php echo $subtotal; ?></td>
</tr>
</table>
<div class="buttons">
<table>
<tr>
<td align="left"><a onclick="$('#cart').submit();" class="button"><span><?php echo $button_update; ?></span></a></td>
<td align="center"><a onclick="location='<?php echo $continue; ?>'" class="button"><span><?php echo $button_shopping; ?></span></a></td>
<td align="right"><a onclick="location='<?php echo $checkout; ?>'" class="button"><span><?php echo $button_checkout; ?></span></a></td>
</tr>
</table>
</div>
</form>
</div>
<div class="bottom"> </div>
BTW, we can not view your website very well when you have the base url set in the config file as http://localhost/. If you want us to view it the way you see it, you will have to edit your config file so that the base url is http://69.11.31.41/.
This is what provides you with the message that your cart is empty. It has its own background color set in yourtemplate/stylesheet/stylesheet.css. - Around line 178.
Code: Select all
<?php if ($error) { ?>
<div class="warning"><?php echo $error; ?></div>
<?php } ?>
Also, class 'cart' has a background color in yourtemplate/stylesheet/stylesheet.css - but only on the table header - found around line 377..warning {
padding: 5px 0px;
margin-bottom: 10px;
background: #FFDFE0;
border: 1px solid #FF9999;
font-size: 11px;
font-family: Verdana, Geneva, sans-serif;
text-align: center;
}
.cart {
border-collapse: collapse;
margin-bottom: 10px;
width: 100%;
border: 1px solid #EEEEEE;
}
.cart th {
background: #EEEEEE;
padding: 5px;
font-weight: normal;
}
.cart td {
padding: 5px;
}
Kevin Davidson
Purolator Shipping Module
Canpar Shipping Module
VQMod - Paypal Transaction ID to Payment Details
Sweet, I got it working. I found the particular portion I wanted to change in not_found.tpl template/error/not-found.tpl. Thanks for all the help and reminding me to change localhost to the IP address. I forgot to change it after I re-installed the cart.
Who is online
Users browsing this forum: No registered users and 4 guests