Shipping Page Template:
Page Colors
The merchant can define a single set of colors to be used on all shopping cart pages, including the Shipping Page. The best way to use those colors in your template is with a cascading style sheet. This example adds a simple embedded style sheet to the Required Tags example. This is the same style sheet used for the Shopping Cart Template: Page Colors example. There is no output from this example (unless you set a background image for the cart).
You may want to create one style sheet and use it in all of your shopping cart pages. The easiest way to do that is to make the style sheet a separate file and use an [-- INCLUDE --] tag in the <head> section of each page. See the include file examples for more information.
- If you aren't familiar with Cascading Style Sheets, you can find several primers or tutorials on the Web, or you can pick up a book on the subject at most any bookstore. CSS basics are easy to learn.
- The cart color settings always have values. However, the merchant may not have selected a background image, so you should use an [-- IF STORE.SC_BackgroundImage --] tag as a test before defining a background image for the page.
- The color tags return a six-digit hex value, but you must hard-code the pound sign (#) in front of the value.
- Most of the hyperlinks on the cart pages are graphic buttons, so you may not need to define the pseudo-elements such as a:link in the style sheet. They are shown in this example, but not in any of the other shipping page examples.
Next: Checkout Title, Header, Footer