Changing background color of a single tab/button in sidebar

I am trying to change the background color of a single tab/button in the sidebar.
This tab is basically a disabled page, which just shows up, when the user is logged-in(visual feedback).
It would be neat if I could manage to have it highlighted in green, when it´s visible.
Since I mainly do PLC-Programming, I am not very good at CSS and could use some help here.

Right click the button HTML & copy its CSS Selector

image

then you can use that in a ui-template node to add styling

Give that a go, pop back if you get stuck.

Thanks, that did the trick.

My online issue now is, that as soon as I log out, some tabs go invisible and the background color changes for the first entry of the list.

grafik

Is it possible to only operate on a specific entry in the list?
Otherwise I would just have the button always displayed on first spot.

Otherwise I would just have the button always displayed on first spot.

Edit: On a second thought, that is not gonna work. It would always be highlighted in green then.
So I need a way control the execution of the ui-template

if your original issue is resolved, can you chose the relevant post and mark it as the solution please?