CubeCartForums.org Documentation Area

CubeCartForums.org for CubeCart third-party documentation, modifications, skins and services
Permanent Link   Print This Page
Introduction CubeCart v3 CubeCart v4 Appendix Search

CubeCart Version 3 Documentation - style.css

Google Translate:

style.css

The following styles are found in the style.css file located here:

skins/YOUR_SKIN/styleSheets/style.css


Style Description
.searchBtn The search button, used in search.tpl.
.searchBox The text entry search box, used in search.tpl.
.textbox The text entry box used for the customer registration, mailing list, customer profile text entry boxes etc
.textboxDisabled
.submit The submit button, used in most text entry forms.
form, ol, ul General settings for forms, ordered and unordered list.
li A general setting for list items. This covers bullet point and numbered items throughout the store and in the rich text editor.
li.bullet Categories and Cart navigation menu list item, as well as other site boxes that use bullets in the list.
li.bulletLrg Used for the 'Tell-a-friend' link on the product detail template viewProd.tpl.
li.num Used for numbered list items, like the sale items and popular products.
li.account Customer account items, used in account.tpl
.txtSession,
a.txtSession,
a.txtSession:hover
Login, logout and search text uses the txtSession class for formatting in both searchForm.tpl and session.tpl.
.txtCopy Text in the Information box, Mailing List box and the Featured Product's product name are controlled with this, used in info.tpl, mailList.tpl and randomProd.tpl
.txtSiteDocs,
a.txtSiteDocs,
a.txtSiteDocs:hover
This class is used to control the appearance of Site Document links, and is used only in siteDocs.tpl. Important Note: The .siteDocs classes are repeated twice in this stylesheet by error of CubeCart in most versions. You should take care to find and delete the dual occurrences.
a.txtButton Buy and More and Add to Basket buttons, found on category and products pages, these are coded in viewCat.tpl and viewProd.tpl
a.txtButton:hover As with all the CSS classes, the initial a. denotes behavior as a link, and :hover denotes behavior on mouse rollover.
.txtOldPrice This controls the look of an original price, when posted together with a sale price; by default it is text with a line striking through it. This class is coded in a php file rather than a template file.
.txtSale This controls the look of an sale price, and is coded in content/index.tpl, viewCat.tpl and viewProd.tpl
.txtOutOfStock The words "OUT OF STOCK" are styled with this class, used in viewCat.tpl and viewProd.tpl
.txtSiteDocs,
a.txtSiteDocs
See above: txtSiteDocs appears twice by error in CubeCart stylesheets, be sure to delete one full set.
a.txtSiteDocs:hover See above.
.txtDefault,
a.txtDefault,
a.txtDefault:hover
Named txtDefault because it used extensively throughout CubeCart; you will find it in cartNavi.tpl, categories.tpl, popularProducts.tpl, randomProd.tpl, saleItems.tpl, account.tpl, content/index.tpl, login.tpl, step1.tpl, viewCat.tpl, and viewOrder.tpl.
a.txtLink,
a.txtLink:hover
This style controls only the order links in the view orders page of a customer's account, coded in viewOrders.tpl
a.txtLocation,
a.txtLocation:hover
"Breadcrumb" links in the location text, top of category and product pages, but the class is not coded in templates, it is coded in the corresponding php files.
.txtContentTitle Titles in the main content area, example, "Welcome to CubeCart" and "Latest Products" - this class is used in every file appearing in the styleTemplates/content/ folder
.txtBoxSave Used only in Sale Items box to indicate amount of savings on sale items, coded in saleItems.tpl
.tblList Sets properties for the product list table in view Cat pages, used in viewCat.tpl.
.tdListTitle Title bar in the product list from view cat page
.tdEven tdEven and tdOdd set the alternating colors for the rows in the product list of view cat page
.tdOdd tdEven and tdOdd set the alternating colors for the rows in the product list of view cat page
.txtCartPrice Controls much of the text in the shopping cart side box, used in shoppingCart.tpl
.txtCart Controls much other of the text in the shopping cart side box, used in shoppingCart.tpl
.cartTotal Controls the total shown in the shopping cart side box, used in shoppingCart.tpl
a.txtCartProduct:active,
a.txtCartProduct:link,
a.txtCartProduct:visited,
a.txtCartProduct:hover
Products listed in the shopping cart box are also links to product pages, these styles control the look of those links
a.txtviewCart:active,
a.txtviewCart:link,
a.txtviewCart:visited,
a.txtviewCart:hover
The button for View Cart in the shopping cart box
.cartProgress The checkout progress indicator.
.txtcartProgressCurrent Current stage of the checkout process.
.quickBuy The "add a product id" section appearing in top of cart checkout pages.
.tdcartTitle Title bar for the product list table for products being purchased on shopping cart pages, the same styles are used for tables on register page, and customer account view orders pages, used in content/cart.tpl, reg.tpl, viewOrder.tpl and viewOrders.tpl
.tdcartEven tdcartEven and tdcartOdd set the alternating colors for the rows in tables for cart product list and view orders lists
.tdcartOdd tdcartEven and tdcartOdd set the alternating colors for the rows in tables for cart product list and view orders lists
.tdCartSubTotal Subtotal in shopping cart.
a.txtCheckout "Continue" button in cart pages, for continuing checkout, also used in register and confirmed pages, cart.tpl, step1.tpl, gateway.tpl, reg.tpl, confirmed.tpl.
a.txtUpdate "Update Cart" button in checkout screens, cart.tpl and step1.tpl.
.txtStockWarn Stock warning text found only in cart page.
.txtError Error text formating, used in changePass.tpl, profile.tpl, reg.tpl, tellafriend.tpl and unsubscribe.tpl.
.txtCopyright,
a.txtCopyright
Formats the copyright text, this class is not found in template files but is coded into php files.
a.txtCopyright:hover Controls copyright text behavior on rollover.
.dropDown Sets styles for the dropdown boxes used in currency.tpl and language.tpl





Comments, Feedback, Suggestions and Documentation Submissions please post in the Documentation Chat Forum.