You are (mostly) correct. I have made extensive changes to the mod's stylesheet_reward.css to control the sidebox and how the reward points appear in various pages (product listing, shopping cart and checkout pages). You may view how the sidebox displays on my site
Athens Collectibles, place an item into the cart and proceed to checkout, without of course confirming the order.
If you use Firefox with the Web Developer add-on, you will be able to replace the contents of the default stylesheet_reward.css with mine and make changes on the spot, viewing their effect. Not everything will be suitable for you because of possibly different product listing and checkout layouts but you will get the idea. My css is:
Code:
/**
* Reward Points CSS Stylesheet
*
* @package templateSystem
* @copyright Copyright 2007 Andrew Moore
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
*/
/*Override inputLabel style to get rid of ugly label word wrapping*/
label.inputLabel {
float:left;
width:20em;
}
.inputLabel {
font-size:1.1em;
line-height:1.5em;
vertical-align: middle;
padding:0.2em;
float:left;
width:20em;
}
.inputField {
font-size:1.1em;
line-height:1.5em;
vertical-align: middle;
padding:0.2em;
float:left;
}
/*wrappers - page or section containers*/
#rewardWrapper {
background-color: #ffffff;
text-align: left;
width: 1000px;
vertical-align: top;
border: 0px solid #9a9a9a;
border-bottom: 5px solid #330099;
}
.productRewardPoints {
margin-bottom:1em;
padding-top:3px;
padding-bottom:3px;
border:1px solid #00ff00;
background-color:#ffffe0;
color: #ff0000;
}
.cartBoxRewardPoints {
margin:0pt;
padding:0.2em 0em;
color: #FF0000;
font-weight:bold;
text-align:right;
}
.cartBoxEarnedPoints {
margin:0pt;
padding:0.2em 0em;
color: #FF0000;
font-weight:bold;
text-align:right;
}
.cartBoxPendingPoints {
margin:0pt;
padding:0.2em 0em;
color: #FF8040;
font-weight:bold;
text-align:right;
}
#rewardpoints {
border:1px solid #00ff00!important;
background-color:#ffffe0!important;
}
#shoppingcartwithrewards {
border:1px solid #00ff00!important;
background-color:#ffffe0!important;
}
#cartBoxEmpty {
text-align:left;
font-weight:normal;
}
#otrewardpointsdisplay {
float:right;
}
#otrewardpointsdisplay .lineTitle {
text-align:left;
font-weight:bold;
color:#0000ff;
padding-right:10px;
padding-left:10px;
background-color:#ffffdd!important;
border:1px solid #0000ff;
margin-top:6px;
}
#otrewardpointsdisplay .totalBox {
width:70px;
text-align:center;
font-weight:bold;
color:#ffffff;
background-color:#0000ff!important;
border:1px solid #0000ff;
margin-top:6px;
}
#shoppingcartwithrewardsContent .cartBoxRewardPoints {
margin-bottom:-12px;
}
.rewardexplain {
font-weight:normal;
font-size:10px;
}
#rewardpoints .leftBoxHeading {
display:block;
border-bottom:1px solid #00ff00!important;
background-color:#ffffe0;
font-size:11px;
}
#shoppingcartwithrewards .leftBoxHeading {
display:block;
border-bottom:1px solid #00ff00!important;
background-color:#ffffe0;
font-size:11px;
}
Compare my stylesheet to the one included with the mod and you will see my additions and changes.
Good luck and post back if and when you manage to do what you want. Cheers for now.
Bookmarks