Skip to content

Month: October 2010

How to add a scallable background image to your site?

If you want to add an image that resizes according to the monitor or the browser size just follow the steps:

First put the image exactly after the opening <body> tag:


<img src=”images/bg.jpg” class=”bg” />

Then go to the CSS and add this: {

Then add some exception CSS for IE6, because it doesn’t get this stuff to work well.

Modifying the Tags Results Page for Joomla K2 + Creating a K2 Template Over Ride

This is a handy little guide, if you want to change the way that your Tag Results page is displayed.
As default, when you click on a Tag Link in a K2 Item, it will produce a page showing all full items which have that particular tag.

Now, if you Items contain a lot of information or you have a lot of Items with the same Tag, you will end up with quite a long list.

This little guide will explain how to reduce the displayed data to show just a snippet of the Item information plus add a bit of extra information.

Firstly, we are going to have to modify the generic.php file, this is located on components/com_k2/templates/
Now, If you do not want to modify this core file, then you can create a new K2 template first.

How to rename the home link on the main wordpress menu to something else?

If you are using thematic child theme go to thematic-functions.php file in your child theme and add this:

//    Add a Home link to your menu
function childtheme_menu_args($args) {
$args = array(
'show_home' => 'Home',  //here change Home to whatever you like
'sort_column' => 'menu_order',
'menu_class' => 'menu',
'echo' => true
return $args;