[SOLVED] Color background components without changing mainbody color

Joomla template which allow you to present sport news in amazing and professional way.
GK User
Mon Oct 04, 2010 5:28 pm
Hi,

I would to change the background color for one component : kunena without changing other colors ... Can you tell me how to doing that. (the default color is white, and i would like a dark grey one)

Best regards ;)
User avatar
Fresh Boarder

teitbite
Tue Oct 05, 2010 7:51 pm
Hi

Please show me an exact page where You want to change the background.
User avatar
Moderator

GK User
Wed Oct 06, 2010 11:40 am
hi,

i would like to change only on this component :

http://www.badakla.net/forum

best regards :)
User avatar
Fresh Boarder

teitbite
Thu Oct 07, 2010 5:30 pm
Hi

You can set the color using:

Code: Select all
#Kunena{
background-color:#000000;
}


The problem is that there still be white stripes from the mainbody, but changing it will affect all of the pages.
User avatar
Moderator

GK User
Thu Oct 07, 2010 5:40 pm
on this site with same template, they don't have white stripes :

any suggestions ? It must be possible . :dry:
User avatar
Fresh Boarder

GK User
Thu Oct 07, 2010 6:09 pm
Try adding this code:

Code: Select all
#Kunena {margin:-20px -20px -30px;padding:20px;}


Cheers ;)
User avatar
Platinum Boarder

GK User
Thu Oct 07, 2010 6:19 pm
Code: Select all
#Kunena {
margin:-20px -20px -30px;
padding:20px;
background-color:#000000;
}


With that code, it works great :)

Thanks a lot

Best regards :laugh:
User avatar
Fresh Boarder


cron