Change border of single ui_text

Hello,
Am I able to change the border color of one single widget, in my case ui_text?
image

I can't find out how to target this class with css. You can also see on the picture, that the font style is not the same. I would like to cahnge this aswell.

I was trying to do this:

.nr-dashboard-widget-text{
    
    font-size: 10px !important;
    background-color: blue !important;
    border: 3px solid yellow !important;
    
}

but it doesnt work. What am I missing?

I've found out that my setup works, I only need to use as label: text. Then my settings apply to my ui_text widget.

But now second question. How to use label, but hidden? I dont want to show the label, I need only the payload, but I need to use label to target the widget with css class.

nevermind, I've got it:

.nr-dashboard-widget-text p.label{
    /*visibility: hidden !important;*/
    display:none !important;
}

hidden still takes space on the page,
dispaly none dont take space

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.