Table of Contents

FreeStyle Template

This information is for Developers/Designers who are writing CSS for the quickorder portal shop system. The template has been designed to allow for ease of styling and at the same time offering the CSS hooks and HTML wrappers required to achieve almost any design required.

Please see the FreeStyle Quick Start page to get started quickly, then come back here to learn about the template.

The HTML and CSS environment

There are a few constants with regard to this template that directly affect how your CSS will render.

Where To Begin

Uploading CSS and Javascript

The first thing to do is understand how you will include your custom CSS files in the template:

Into the fray

It is impossible to author CSS without getting to know the markup. This is broken up into 3 main sections.

It is useful to read these sections to get an idea of how the HTML is structured however you can skip right to a list of the various CSS hooks available to you here.

Button Sets

You can use one of the image button sets with FreeStyle or (ideally) use the Blank button set to get regular browser buttons. You can style these with CSS in all manner of ways. The following CSS will make a regular button use a background image and hide the standard text:

  input.submit {
    overflow: hidden;
    width: 150px;
    height: 33px;
    text-indent: -999px; /* hides the regular text */
    background: url(submit-button.png) no-repeat left top; /* replace 150x33 pixel area with image of button */
    cursor: pointer; /* make the button appear clickable on hover */
  }
 
  /* you can swap out the background image on hover aswell to highlight it */
  input.submit:hover {
    background: url(submit-button-hover.png) no-repeat left top;
  }