Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-11-20 19:26:23

clingonboy
Member
From: Italy - Vicenza
Registered: 2022-11-20
Posts: 6

[solved] Change color of panel separator

Hi I'm try to change the color of the separator but I don't find a css selector for that.

I try to looking for around but I didn't find this information.

Thanks.

Last edited by clingonboy (2022-11-20 21:11:52)

Offline

#2 2022-11-20 20:17:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [solved] Change color of panel separator

The separator doesn't have a style class defined, so you'll need to first get the widget ID. To get this, go to Panel Preferences > Items tab and hover over the separator. It will be something like "separator-16". So:

#separator-16 { color: red }

...should do the trick.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2022-11-20 21:10:22

clingonboy
Member
From: Italy - Vicenza
Registered: 2022-11-20
Posts: 6

Re: [solved] Change color of panel separator

ToZ wrote:

The separator doesn't have a style class defined, so you'll need to first get the widget ID. To get this, go to Panel Preferences > Items tab and hover over the separator. It will be something like "separator-16". So:

#separator-16 { color: red }

...should do the trick.

It works it is incredible.
How you know all this thinks
JeWu8dd.png

Offline

#4 2022-11-20 22:04:53

clingonboy
Member
From: Italy - Vicenza
Registered: 2022-11-20
Posts: 6

Re: [solved] Change color of panel separator

Only one last thing on this. I see the repository for the Panel plugins here https://gitlab.xfce.org/panel-plugins?page=1 but there is not the separator in there.
Where is it ?
EDIT sorry I find it https://gitlab.xfce.org/xfce/xfce4-pane … /separator

Last edited by clingonboy (2022-11-20 22:09:24)

Offline

#5 2022-11-21 01:54:37

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [solved] Change color of panel separator

Yes, the separator is considered an "internal plugin" and is packaged with xfce4-panel.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2022-11-21 18:31:05

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: [solved] Change color of panel separator

perhaps the separator is not really plugging in like plugins normally do but is internally just an exception to how the panel positions plugins.  maybe you use this as an opportunity to learn how to make your own plugins by making one that does nothing but color itself and set its width.  or you could make one that puts text or an image in there.  that's something a separator cannot do.

if it is told what file to show, that file could be text or an image.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 531.86 KiB (Peak: 532.7 KiB) ]