Zen Cart Logo
Forums / General Questions / Space between Unit Price and Total Price

Space between Unit Price and Total Price

Locked

Views: 1,518

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
31 Jan 2010, 9:31 AM
#1
deepanvee avatar

deepanvee

New Zenner

Join Date:
Jan 2010
Posts:
17
Plugin Contributions:
0

Space between Unit Price and Total Price

Hi,
Currently in my shopping cart the unit price and total price are almost neck to neck(kissing each other :wink: ). Is there a way in which i can make it apart so as to make a differentiation. I guess i need to modify CSS but i am not sure which part of it i should edit it.

www.wowstoreonline.com

Thanks a lot
Deepan

31 Jan 2010, 10:15 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Space between Unit Price and Total Price

At a guess, your center column appears to be very narrow. You should try and widen this column so your prices "have a bit more space".

You may have to increase the width of the whole UI - depends on your template configuration.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

31 Jan 2010, 10:51 AM
#3
deepanvee avatar

deepanvee

New Zenner

Join Date:
Jan 2010
Posts:
17
Plugin Contributions:
0

Re: Space between Unit Price and Total Price

Thanks Frank. How do i do it? Below is the content of my css. Any ideas of improvement?

/**

  • Main CSS Stylesheet
  • @package templateSystem
  • @copyright Copyright 2003-2006 Zen Cart Development Team
  • @copyright Portions Copyright 2003 osCommerce
  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  • @version $Id: stylesheet.css 4387 2006-09-04 13:54:28Z drbyte $
    */

body {
margin: 0;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 65%;
color: #000000;
background-color: #582858;
}

a img {border: none; }

a:link, #navEZPagesTOC ul li a {
color: #000000;
text-decoration: none;
}

a:visited {
color: #000000;
text-decoration: none;
}

a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
color: #000000;
}

a:active {
color: #000000;
}

h1 {
font-size: 1.5em;
color: #9a9a9a;
}

h2 {
font-size: 1.4em;
}

h3 {
font-size: 1.3em;
}

h4, h5, h6, h4.optionName, LEGEND, ADDRESS, .sideBoxContent, .larger{
font-size: 1.1em;
}

.biggerText {
font-size: 11px;
font-family: helvetica;
color: #333333;
}

h1, h2, h3, h4, h5, h6 {
margin: 0.3em 0;
}

/* Might uncomment either or both of these if having problems with IE peekaboo bug:
h1, h2, h3, h4, h5, h6, p {
position: relative;
}
*html .centerColumn {
height: 1%;
}
*/

CODE {
font-family: arial, verdana, helvetica, sans-serif;
font-size: 1em;
}

FORM, SELECT, INPUT {
display: inline;
font-size: 1em;
margin: 0.1em;
}

TEXTAREA {
float: left;
margin: auto;
display: block;
width: 100%;
}

input:focus, select:focus, textarea:focus {
background: #E4FEF5;
}

FIELDSET {
padding: 0.5em;
margin: 0.5em 0em;
border: 1px solid #cccccc;
}

LEGEND {
font-weight: bold;
padding: 0.3em;
}

LABEL, h4.optionName {
line-height: 1.5em;
padding: 0.2em;
}

LABEL.checkboxLabel, LABEL.radioButtonLabel {
margin: 0.5em 0.3em;
}

#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: left;
}

LABEL.inputLabel {
width: 9em;
float: left;
}

LABEL.inputLabelPayment {
width: 14em;
float: left;
padding-left: 2.5em;
}

LABEL.selectLabel, LABEL.switchedLabel, LABEL.uploadsLabel {
width: 11em;
float: left;
}

#checkoutPayment LABEL.radioButtonLabel {
font-weight: bold;
}

P, ADDRESS {
padding: 0.5em;
}

ADDRESS {
font-style: normal;
}

.clearBoth {
clear: both;
}

HR {
height: 1px;
margin-top: 0.5em;
border: none;
border-bottom: 1px solid #9a9a9a;
}

/warnings, errors, messages/
.messageStackWarning, .messageStackError, .messageStackSuccess, .messageStackCaution {
line-height: 1.8em;
padding: 0.2em;
border: 1px solid #9a9a9a;
}

.messageStackWarning, .messageStackError {
background-color: #ff0000;
color: #000000;
}

.messageStackSuccess {
background-color: #99FF99;
color: #000000;
}

.messageStackCaution {
background-color: #FFFF66;
color: #000000;
}

/wrappers - page or section containers/
#mainWrapper {
background-color: #ffffff;
text-align: left;
width: 750px;
vertical-align: top;
border: 1px solid #9a9a9a;
}

#headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
margin: 0em;
padding: 0em;
}

#logoWrapper{
background-image: url(../images/header_bg.jpg);
background-repeat: repeat-x;
background-color: #ffffff;
height:75px;
}

#navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
margin: auto;
}
#navColumnOneWrapper, #navColumnTwoWrapper {
margin-left: 0.5em;
margin-right: 0.5em;
}

#tagline {
color:#000000;
font-size: 2em;
text-align : center;
vertical-align: middle;
}

#sendSpendWrapper {
border: 1px solid #cacaca;
float: right;
margin: 0em 0em 1em 1em;
}

.floatingBox, #accountLinksWrapper, #sendSpendWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper {
font-family: Verdana;
font-size: 11px;
color: #333333;
margin: 0;
width: 47%;
}

.wrapperAttribsOptions {
margin: 0.3em 0em;
}

/navigation/

.navSplitPagesResult {}
.navSplitPagesLinks {}

.navNextPrevCounter {
margin: 0em;
font-size: 0.9em;
}
.navNextPrevList {
display: inline;
white-space: nowrap;
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
}

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
margin: 0em;
background-color: #abbbd3;
background-image: url(../images/tile_back.gif);
padding: 0.5em 0.2em;
font-weight: bold;
color: #ffffff;
height: 1%;
}

#navCatTabsWrapper {
background-color: #ffffff;
color: #9a9a9a;
background-image:none;
}

#navMain ul, #navSupp ul, #navCatTabs ul {
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
text-align: center;
line-height: 1.5em;
}

#navMain ul li, #navSupp ul li, #navCatTabs ul li {
display: inline;
}

#navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {
text-decoration: none;
padding: 0em 0.5em;
margin: 0;
color: #000000;
white-space: nowrap;
}

#navCatTabs ul li a {
color: #9a9a9a;
}

#navEZPagesTOCWrapper {
font-weight: bold;
float: right;
height: 1%;
border: 1px solid #9a9a9a;
}

#navEZPagesTOC ul {
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
line-height: 1.5em;
}

#navEZPagesTOC ul li {
white-space: nowrap;
}

#navEZPagesTOC ul li a {
padding: 0em 0.5em;
margin: 0;
}

#navMainSearch, #navCategoryIcon, .buttonRow, #indexProductListCatDescription {
margin: 0.5em;
}

#navBreadCrumb {
padding: 0.5em 0.5em;
margin: 1px;
background-color: #ffffff;
font-size: 0.95em;
font-weight: bold;
margin: 0em;
}

#navEZPagesTop {
background-color: #abbbd3;
background-image: url(../images/tile_back.gif);
font-size: 0.95em;
font-weight: bold;
margin: 0em;
padding: 0.5em;
}

#navColumnOne, #navColumnTwo {
background-color: transparent;
}

/The main content classes/
#contentColumnMain, #navColumnOne, #navColumnTwo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .alert {
vertical-align: top;
}

/.content,/ #productDescription, .shippingEstimatorWrapper {
/font-size: 1.2em;/
padding: 0.5em;
}

.alert {
color: #FF0000;
margin-left: 0.5em;
}
.advisory {}
.important {
font-weight: bold;
}
.notice {}
.rating{}
.gvBal {
float: right;
}
.centerColumn, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix {
padding: 0.8em;
}
.centerColumn h1, .centerColumn h2, .centerColumn h2 a{
color: #000000;
}
.centerColumn h2 a:hover{
color:#8B8C87;
}
.smallText, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP {
font-size: 0.9em;
}

/Shopping Cart Display/
#cartAdd {
float: right;
text-align: center;
margin: 1em;
border: 1px solid #000000;
padding: 1em;
}

.tableHeading TH {
border-bottom: 1px solid #9a9a9a;
}

.tableHeading, #cartSubTotal {
background-color: #e9e9e9;
}

#cartSubTotal {
border-top: 1px solid #cccccc;
font-weight: bold;
text-align: right;
line-height: 2.2em;
padding-right: 2.5em;
}

.tableRow, .tableHeading, #cartSubTotal {
height: 2.2em;
}

.cartProductDisplay, .cartUnitDisplay, .cartTotalDisplay, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, #cartInstructionsDisplay, .cartTotalsDisplay {
padding: 0.5em 0em;
}

.cartUnitDisplay, .cartTotalDisplay {
text-align: right;
padding-right: 0.2em;
}

#scUpdateQuantity {
width: 2em;
}

.cartQuantity {
width: 4.7em;
}

.cartNewItem {
color: #33CC33;
position: relative; /do not remove-fixes stupid IEbug/
}

.cartOldItem {
color: #660099;
position: relative; /do not remove-fixes stupid IEbug/
}

.cartBoxTotal {
text-align: right;
font-weight: bold;
}

.cartRemoveItemDisplay {
width: 3.5em;
}

.cartAttribsList {
margin-left: 1em;
}

#mediaManager {
width: 50%;
margin: 0.2em;
padding: 0.5em;
background-color: #E4FEf5;
border: 1px solid #003D00;
}

.productSpecialPrice, .normalprice, .productSpecialPriceSale, .productSpecialPriceSale{
text-decoration:
color: #000000;
}

.productSalePrice, .productPriceDiscount {
color: #FF0000;
}

.orderHistList {
margin: 1em;
padding: 0.2em 0em;
list-style-type: none;
}

#cartBoxListWrapper ul, #ezPageBoxList ul {
list-style-type: none;
}

#cartBoxListWrapper li, #ezPageBoxList li, .cartBoxTotal {
margin: 0;
padding: 0.2em 0em;
}

#cartBoxEmpty, #cartBoxVoucherBalance {
font-weight: bold;
}

.totalBox {
width: 5.5em;
text-align: right;
padding: 0.2em;
}

.lineTitle, .amount {
text-align: right;
padding: 0.2em;
}

.amount {
width: 5.5em;
}

/Image Display/
#productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage {
margin: 0em 1em 1em 0em ;
}

.categoryIcon {}

#cartImage {
margin: 0.5em 1em;
}

/Attributes/
.attribImg {
width: 20%;
margin: 0.3em 0em;
}

.attributesComments {}

/list box contents/
.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew {
margin: 1em 0em;
}

.centerBoxWrapper {
/* border: 1px solid #9a9a9a;
*/ height: 1%;
margin: 1.1em 0;
background-color: #E9CCE7;
}

h2.centerBoxHeading {
font-size: 1.3em;
color: #FFFFFF;
background-color: #793F79;
}

/sideboxes/
.columnLeft {}

h3.leftBoxHeading, h3.leftBoxHeading a,
h3.rightBoxHeading, h3.rightBoxHeading a {
font-size: 11px;
font-weight: bold;
color: #793F79;
text-transform:uppercase;
}

.leftBoxHeading, .rightBoxHeading {
margin: 0em;
background-color: #F8ECFF;
padding: 1.5em 20px;
color: #793F79;
text-align: left;
}
div.leftBoxContainer h3.leftBoxHeading a:link, div.leftBoxContainer h3.leftBoxHeading a:visited{
color: #793F79;
}
div.leftBoxContainer h3.leftBoxHeading label{
color: #793F79;
}
.leftBoxContainer{
margin: 0em;
/*
border: 1px solid #9a9a9a;
border-bottom: 5px solid #336633;
*/
margin-top: 1.5em;

}

.rightBoxContainer {
margin: 0em;
margin-top:1.5em;

}

.sideBoxContent {
background-color: #F8ECFF;
padding: 0.4em;
}

h3.leftBoxHeading a:hover, h3.rightBoxHeading a:hover {
color: #FFFF33;
text-decoration: none;
}

.rightBoxHeading a:visited, .leftBoxHeading a:visited, .centerBoxHeading a:visited {
color: #000000;
}
.centerBoxHeading{
padding: 8px;
}
.centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .centerBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
text-align: center;
}

#bestsellers .wrapper {
margin: 0em 0em 0em 1.5em;
}

#bestsellers ol {
padding: 0;
margin-left: 1.1em;
color: #000000;
}

#bestsellers li {
padding: 0;
margin: 0.3em 0em 0.3em 0em;
color: #000000;
}

#upProductsHeading {
text-align: left;
}

#upDateHeading {
text-align: right;
}

/* categories box parent and child categories /
A.category-top, A.category-top:visited {
color: #000000;
font-family: helvetica;
font-size: 11px;
text-decoration: none;
}
A.category-top:hover{
color:#B8B9B1;
}
A.category-links, A.category-links:visited {
color: #000000;
font-family: helvetica;
font-size: 11px;
text-decoration: none;
}
A.category-links:hover{
color:#B8B9B1;
}
A.category-subs, A.category-products, A.category-subs:visited, A.category-products:visited {
color: #000000;
text-decoration: none;
}
A.category-subs:hover, A.category-products:hover {
color:#B8B9B1;
}
SPAN.category-subs-parent {
font-weight: bold;
}
SPAN.category-subs-selected {
font-weight: bold;
}
/
end categories box links */

/misc/
.back {
float: left;
}

.forward {
float: right;
}

.bold {
font-weight: bold;
}

.rowOdd {
background-color: #D1AED1;
height: 1.5em;
vertical-align: top;
}

.rowEven {
background-color: #D1AED1;
height: 1.5em;
vertical-align: top;
}

CAPTION {
/display: none;/
}

#myAccountGen li, #myAccountNotify li {
margin: 0;
}

.accountTotalDisplay, .accountTaxDisplay {
width: 20%;
text-align: right;
/vertical-align: top/
}

.accountQuantityDisplay {
width: 10%;
vertical-align: top
}

TR.tableHeading {
background-color: #cacaca;
height: 2em;
}

.productListing-rowheading {
background-color: #abbbd3;
background-image: url(../images/tile_back.gif);
height: 2em;
color: #000000;
}

#siteMapList {
width: 90%;
float: right;
}

.ratingRow {
margin: 1em 0em 1.5em 0em;
}

LABEL#textAreaReviews {
font-weight: normal;
margin: 1em 0em;
}

#popupShippingEstimator, #popupSearchHelp, #popupAdditionalImage, #popupImage, #popupCVVHelp, #popupCouponHelp, #popupAtrribsQuantityPricesHelp, #infoShoppingCart {
background-color: #ffffff;
}
.select {
width: 143px;
color: #666666;
font-family: Tahoma;
font-size: 11px;
}
.select02 {
width: 177px;
color: #666666;
font-family: Tahoma;
font-size: 11px;
}
.input01 {
font-family: helvetica;
font-size: 11px;
color: #666666;
width: 150px;
}
.bg_side {
background-image: url(images/bg_side.gif);
width: 177px;
}

.txt_title {
font-family: helvetica;
font-size: 11px;
color: #333333;
text-transform: uppercase;
font-weight: bold;
}
.txt_price_bold {
font-family: helvetica;
font-size: 11px;
font-weight: bold;
text-transform: uppercase;
color: #CC0000;
}
.txt_price01 {
font-family: helvetica;
font-size: 14px;
font-weight: bold;
color: #333333;
}

.input02 {
font-family: helvetica;
font-size: 11px;
color: #666666;
width: 200px;
}
.input03 {
font-family: helvetica;
font-size: 11px;
color: #666666;
width: 95px;
}
.content {
font-family: Tahoma;
font-size: 15px;
color: #000000;
}
.bg_main {
background-image: url(images/bg_content.gif);

}

.txt_content03 {
font-family: helvetica;
font-size: 11px;
color: #333333;
}
.bg_title {
background-image: url(images/bg_title.gif);
height: 33px;
}

.txt_content03_bold {
font-family: helvetica;
font-size: 11px;
color: #333333;
font-weight: bold;
}
.txt_content01, div.txt_content01, div.txt_content01 a:link, .txt_content01 a:visited{
font-family: helvetica;
font-size: 11px;
color: #015BFF;
}
div.txt_content01 a:hover{
color: #000000;
}
.txt_content01_bold {
font-family: helvetica;
font-size: 11px;
color: #990000;
font-weight: bold;
}
.txt_content_bold {
font-family: helvetica;
font-size: 11px;
font-weight:bold;
color: #990000;
}
.bg_bottom {
background-image: url(images/bg_bottom.gif);
height: 66px;
}

.txt_content02 {
font-family: helvetica;
font-size: 11px;
color: #CC0000;
}
.txt_content02_bold {
font-family: helvetica;
font-size: 11px;
font-weight: bold;
color: #FF9900;
}
.txt_content{
color: #FFFFFF;
}
div.wrapper, div.wrapper ol li a{
font-family: helvetica;
font-size: 11px;
color: #000000;
}
div.wrapper ol li a:hover{
color:#B8B9B1;
}
div.sideBoxContent ul li a:link, div.sideBoxContent ul li a:visited{
font-family: helvetica;
font-size: 11px;
color: #333333;
}
div.sideBoxContent ul li a:hover{
color: #B8B9B1;
}
.bg_bottom {
background-image: url(../images/bg_bottom.gif);
height: 65px;
}
#reviewsHeading a,#reviewsHeading a:hover{
color: #793F79;
}
#specialsHeading a,#reviewsHeading a:hover{
color: #793F79;
}
#featuredHeading a,#featuredHeading a:hover{
color: #793F79;
}
#whatsnewHeading a,#whatsnewHeading a:hover{
color: #793F79;
}

31 Jan 2010, 11:48 AM
#4
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Space between Unit Price and Total Price

In your css try to change this

/wrappers - page or section containers/
#mainWrapper {
background-color: #ffffff;
text-align: left;
width: 750px;
vertical-align: top;
border: 1px solid #9a9a9a;
}

to this

/wrappers - page or section containers/
#mainWrapper {
background-color: #ffffff;
text-align: left;
width: 850px;
vertical-align: top;
border: 1px solid #9a9a9a;
}

Before you do this, make sure you have a backup of your original css

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

31 Jan 2010, 12:05 PM
#5
deepanvee avatar

deepanvee

New Zenner

Join Date:
Jan 2010
Posts:
17
Plugin Contributions:
0

Re: Space between Unit Price and Total Price

Frank - You are brilliant. Super cool. Thanks buddy. It worked like charm

31 Jan 2010, 12:23 PM
#6
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Space between Unit Price and Total Price

Frank - You are brilliant. Super cool.

don't know about that :blush: but you may want to increase the width even a bit further. I just had another look and the prices still seem to be pretty close to each other.

But then again I am viewing your store on a 1152 x 864 setting on my machine.

Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

31 Jan 2010, 12:29 PM
#7
deepanvee avatar

deepanvee

New Zenner

Join Date:
Jan 2010
Posts:
17
Plugin Contributions:
0

Re: Space between Unit Price and Total Price

Sure frank. Instead of 850px i changed it to 100%. Now its much better off in my opinion. Can you take a look at it now?

31 Jan 2010, 3:30 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Space between Unit Price and Total Price

If you don't mind a suggestion, your custom template seems to have removed the mainWrapper div, so playing with that element in the stylesheet won't accomplish anything.

I don't see anything that template has to offer that couldn't be done easily by editing the classic template yourself, so I would go that way.

Table-based templates don't work all that well in Zencart. Check the free possibilities here:

http:(sorry, site offline).

1 Feb 2010, 1:58 PM
#9
deepanvee avatar

deepanvee

New Zenner

Join Date:
Jan 2010
Posts:
17
Plugin Contributions:
0

Re: Space between Unit Price and Total Price

Thanks Stevesh. I shall look into the possibility. Appreciate ur help!