This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

widget background custom css
#1
Hi,

How can I apply a background color to a widget by custom css. 
If I try 

#widget-6 {
background-color: 2f2f2f;
}

It is not working.

Thanks,

Mischa
Reply
#2
Hi
Try like this

Code:
#widget-6{
 background-color: rgb(51, 51, 51)!important;
}
BR
------------------------------
Ctrl+F5
Reply
#3
You are missing # before color hex value.
Reply
#4
Thanks Daniel,

That works, not sure why the hex value is not working (@admin the # was a typo in my post, it is/was present in my custom css)

I applied the same rule to my background and that did work.

Thanks,

Mischa
Reply


Forum Jump: