Logic Machine Forum
widget background custom css - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: widget background custom css (/showthread.php?tid=1366)



widget background custom css - mischa - 01.05.2018

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


RE: widget background custom css - Daniel - 01.05.2018

Hi
Try like this

Code:
#widget-6{
 background-color: rgb(51, 51, 51)!important;
}
BR


RE: widget background custom css - admin - 01.05.2018

You are missing # before color hex value.


RE: widget background custom css - mischa - 01.05.2018

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