Change page background colour

GK User
Sat Jan 12, 2013 2:04 pm
Hi, I'd like to change the background colour for all pages (not background of site) from current white to black (display of K2 items, category etc).

Is there a simple way to do this sitewide? I'm using site style RED, selected in the template manager.

Many thanks - Andy
User avatar
Senior Boarder

teitbite
Sun Jan 13, 2013 2:30 am
Hi

The start would be to add this code:

Code: Select all
#gkMain {
    background: none repeat scroll 0 0 #000000;
    color: #FFFFFF;
}


and than You will need to change the color or all text still showing in black. The easiest way of doung it is by using Firebug which will tell You what css code to use exactly to change it.
User avatar
Moderator

GK User
Mon Jan 14, 2013 8:10 pm
Thanks for your help with this, I'll give it a try. Andy
User avatar
Senior Boarder

GK User
Wed Jan 16, 2013 2:58 pm
That worked really well.

I'd now like to change the background colour of the ENTIRE site. Can I do that by changing the css in the same way? Thanks in anticipation. Andy
User avatar
Senior Boarder

teitbite
Fri Jan 18, 2013 12:53 am
Hi

Here is the code to manage main background:

Code: Select all
body {
    background: url("/joomla25/gamemagazine/templates/gk_game_magazine/images/bg.jpg") no-repeat scroll center top #F5F5F5;
}
User avatar
Moderator

GK User
Fri Jan 18, 2013 11:58 am
Thanks so much for your help - just what I needed - A
User avatar
Senior Boarder


cron