Modify Colours

Last Updated on Thursday, 15 October 2009 09:03 Written by Jakub Baran Monday, 12 October 2009 12:05

Modify Colours

Modifying the entire colour scheme of Afterburner is incredible easy, with just 1 image and 1 CSS file to contend with, the process will be quick and simple. There are around 45 colour, background, border colour references in the single CSS file (e.g. light.css)

For this guide, we are going to focus on changing the highlight / secondary colour of style, specifically Light Style 4.

Editing the Source

The first step in changing the colour scheme is to edit the single image that generates all the graphics for the theme.

Step 1

Open the afb-sprite.png file in Adobe Fireworks. Select the frame of the style variation you wish to modify by the frame navigation buttons in the bottom right of the screen

mod1

Step 2

  • Scroll to the top of the file
  • Select the top, graded image
  • Click the palette icon in the bottom properties panel
  • Choose your intended colours from the popup palette
  • There are two indicators that creates the gradient, so change the colour of both

mod2

mod3

Step 3

  • Select the image beneath the one from Step 2
  • Click the palette icon in the bottom properties panel
  • Choose your intended colours from the popup palette

mod4

mod5

Step 4

  • Scroll down to the middle of the source
  • Select the icon next to the logo text
  • Click the palette icon in the bottom properties panel
  • Choose your intended colours from the popup palette
  • Select the text underneath the logo (slogan)
  • Click the palette icon in the bottom properties panel
  • Choose your intended colours from the popup palette

mod6

mod7

mod8

Step 5

  • Export the file: File → Export
  • Upload the file to /wp-content/themes/wp_afterburner/images on your server
  • Ensure the name matches the style you are using: light4.png

mod9

Editing the CSS

The next step is to load the CSS file, in this example, light4.css. There are various highlight / secondary elements that have coloured CSS added to them, whether that be colour, backgrounds or borders. The following guide will outline how to change these.

Showcase Area

There are 2 elements in the showcase area (between header and mainbody), that have coloured styling that needs to be changed. These are the highlight for bolded text as well as the number typography. Edit these colours to match the colour you used in the source.

Showcase Highlight Text – line 79 – light4.css

#showcase b {font-weight: normal;color: #7F8C51;}

Showcase Number Typography – line 81 – light4.css

#showcase .num {float: left;background :#7F8C51;text-align: center;line-height: 90%;color: #fff;font-size: 2em;padding: 3px 8px;}

Leave a Reply

You must be logged in to post a comment.
Designed by RocketTheme
WordPress is Free Software released under the GNU/GPL License.