This is a beginners tip, given by a beginner. If you’re an advanced CSS user, you may want to leave a sarcastic correction in the comment box ;-)

If you’re a WordPress user, you may have noticed that amongst your theme files is a CSS file usually called ’style.css’. This file contains all of the formatting information for your blog template, colours, positioning, size of sidebars etc. It is extremely easy to make simple changes to your blog format, by altering one line of code in this file. Love your template, but wish it was a different colour? Change seven characters in this file and you can.

Nothing can go wrong, as long as you take one simple precaution. Download a copy of your existing CSS file from your preferred theme. Make a copy and move it to a safe directory on your PC. Work on the other copy. Now, if your changes ‘destroy’ your blog and go all wrong, simply upload your backup copy and everything will be back to normal. This security gives you the chance to experiment.

Open your working copy of style.css (NOT your backup copy!) using a text editor such as Wordpad. Do not use a word Processor, such as MS Word, as it could corrupt the file. Have a read through, and compare it to your blog. A well written CSS file will contain headings, telling you which section of the blog each block of code is referring to. A lot of it may not make much sense, but headings such as ‘blogtitle’,’sidebar’ or ‘right sidebar container’ will be self evident. Colours will be given as HEX codes, for example #D5E1B1 is the green that Blog-Op uses for a background. Any seven character code in this format will be a colour somewhere on your blog.

So, to change the colour of your sidebar for example, scan the CSS for a section headed ’sidebar’. Look for a colour HEX code, and change it to one of your choice. Ensure that the # symbol is present at the front. Save the CSS file & upload it to your theme directory, refresh your blog, and see if it has changed. Remember, if it completely breaks the formatting of your blog, upload your backup copy to return to normal, and then try again-see if you can tell where you went wrong.

As you read the CSS file more will become apparent: you can see how things are sized, eg your sidebar might be 180p(ixels) wide and you can change this if you want. Be careful of knock-on effects on other elements, and always test the results in Firefox AND Internet Explorer. As long has you have the original CSS file kept safe, nothing can go permanently wrong.

Know the colour you want, but not the HEX code? Use this simple colour chooser at The Hex Hub.