Multi-Color Website Templates
Chrome Color Templates
Templates with a "css" folder only.
This support page is for "chrome" templates. If your template includes a "css" folder only. If your template does not include a "css" folder click here.
How to change to another color theme:
Open the "css.js" in the "css" folder and edit the "var colorstyle" to any color you would like to use. Use only lowercase letters. There is a key at the top of the "css.js" so you know what colors are available. There may be other .js files in this folder like a "css-scroller.js". Edit this .js file also with your color theme choice.
Set header.js for printing:
If you do a "print preview" on any template page the header may be gray. To set the proper color, open your color theme .css file in the "css" folder, for example open the "blue.css", find the ".headercolor" about 15 code lines down. Copy the HEX color (in the blue.css this will be "0B2D7E"). Open the header.js and edit the "666666" with "0B2D7E" or your headercolor HEX number. This will setup the proper header printing color.
Editing font sizes, margins, custom colors, etc...:
There are 3 files used for each color theme (one for colors and one for the menu) and one "common-style.css" used on all color themes. If you want to edit fonts or other items and you have the theme set to "blue" for example, you will need to check in 3 files to custom edit items. Look in the "blue.css" and the "blue-menu.css" and the "common-style.css". See the links on the right of this page for .css color help.
Keep in mind that the "blue.css" (if you set the css.js to blue) is read after the "common-style.css" so styles added in the "blue.css" may override styles in the "common-style.css". EXAMPLE: if you have a .footer class with a font size of 15px in the "common-style.css" and add this exact same class in the "blue.css" but use a font size of 20px then the 20px will show on the page. Also see troubleshooting at the bottom of this page.
Files in the "css" folder:
In the template "css" folder you will find .js files (usually 2) and multiple .css files. Two files for each color (one for colors and one for the menu) and one "common-style.css" that is used for buttons, general sizes, common colors and fonts and margins in any color theme you are using.
The "common-style.css" file is used no matter what color theme you choose in the .js files. This .css file is used for items like button sizes, general fonts, margins, spacing, widths and other styles common to all color themes. This file is called before the color .css file. See next paragraph for "order" details.
The .css order:
If you look at the top of any template .html page you will see .css "calls" in this order:
What does this mean? The browser a page is opened in looks at .css in order and will use all .css files called, but default the styles to the last .css file. In other words, the common .css is read first, then the page will look to the gray .css and will make the page gray if the css.js is missing. The final "call" is for the "css.js" and this will be the final colors and .css code that the web browser will use. If you have the css.js set to show the page as blue then the gray call will not be used because the blue.css is the last .css "call" and the classes in the "blue.css" use the exact same names as in the "gray.css".
Images used for colors:
The images used for the template colors will be in the "picts" folder and then inside the appropriate color folder. EXAMPLE: All images used in the "blue" theme if you set the "css.js" to blue will be in the "picts/blue" folder. Some .PSD color images for editing only (not used on the template) may be in the "extras" folder.
Easy color theme editing (overwriting a theme):
This edit will change one of the current themes to your colors. EXAMPLE: Set your color theme to "gray" in the css.js. Then edit the images inside the "gray" folder that is inside the "picts" folder. Then in the "css" folder edit the "gray.css" and the "gray-menu.css" and also the "common-style.css" with your custom colors. See the links on the top right of this page for .css help. This will make the "gray" theme your custom setup instead of the default gray in the download.
Creating a new color theme (advanced users):
Follow the steps below to add a new color theme. We will use purple as the example theme you are adding:
Special image editing:
- Open the "css.js" and see what colors are now in this file. Edit the "var colorstyle" with your new color. Example, edit "blue" with "purple" for example.
- You will need to edit as above in any other .js files in the "css" folder, like the "css-scroller.js" if you have one.
- Open any template HTML page. The colors should be gray with no color images. For example the buttons should look flat gray. Since you have not yet created the new theme the template will default to gray.
- In the "picts" folder, make a copy of any one of the color folders. Copy the blue folder and name the new folder "purple".
- In the "css" folder, make a copy of the "blue.css" and "blue-menu.css". Name these "purple.css" and "purple-menu.css".
- Edit the "purple.css" and "purple-menu.css". Search and replace the word "blue" with "purple". This will probably be in 5 places in one file and 3 in the other.
- Open any template HTML page. The colors should now look blue because of the blue folder you copied in step #5.
- In the "css" folder edit the "purple.css" and "purple-menu.css" with your colors. Edit the images in the "pics/purple" folder with your colors. (see right links above on the page for .css help)
Some images, like the corner.gif, may be difficult to edit. Check in the "extras" folder for layered .PSD files for easier editing of these images.
Template default setting:
The Chrome templates are set to default to the gray color theme if there are problems with any files. See troubleshooting below.
- Colors not working: You may not have set the correct color in the "css.js". Perhaps you have chosen a color that does not exist. See the top of this page to set the theme.
- Colors not working: ...and the gray theme is showing: This is probably an error in one of the .js files in the "css" folder. See this support page for .js file errors.
- Colors not working: You may have an error in one of the CSS files. You may want to validate the CSS files.
- Some colors working: Be sure to set all .js files in the "css" folder.
- Colors working but not the color images: Check the name of the color folder in the "picts" folder and the folder names in the .css files you are using in the "css" folder. See step #7 above in "Creating a new color theme".
- New .css code not working: Try adding your new .css code to the bottom of the specific color .css file. Example, add your new .css code at the bottom of the "blue.css" rather than in the "common-style.css". See the "The .css order:" section above.
- Try one of the other color themes.
- Copy the files in the "css" folder in your template backup zip file into your template "css" folder again to reset to the template default.
- Also see the template pages not updating support page.
Changing Font Color, Size and Face
Changing Link Colors
Adding New Font Styles
Adding a Second Link Class (advanced)
Color Mixer Software
Allwebco Chrome Templates
Complete websites with built in scripts.
Business Web Templates
Drop menu templates with built in scripts.
Drop menus with nature earth themes.
Shopping Cart Templates
Professional templates with built-in Paypal.