Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-12-23 10:26:36

dm999
Member
Registered: 2021-12-22
Posts: 18

[Solved] Theming Whisker Menu question (gtk3)

Hi,

I'm theming my menu (gtk3) and wondered if there's any way to remove, or colour match the border around the sub-items on the right?

Thanks, DM.

menu.png

Last edited by dm999 (2021-12-23 17:51:40)

Offline

#2 2021-12-23 12:24:08

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

Re: [Solved] Theming Whisker Menu question (gtk3)

Which version of xfce4-whiskermenu-plugin are you running? In 2.7.0, you can target it with the launchers-pane class - something like:

.launchers-pane { border-width: 0px; border-color: transparent; }

It might work in earlier versions as well.


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 2021-12-23 16:40:22

dm999
Member
Registered: 2021-12-22
Posts: 18

Re: [Solved] Theming Whisker Menu question (gtk3)

Thanks for the reply ToZ, it's version 2.5.3-0ppa1~focal.

Should I have added the above code to gtk.css?

I did and then restarted the panel but it didn't work unfortunately.

Offline

#4 2021-12-23 17:41:02

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

Re: [Solved] Theming Whisker Menu question (gtk3)

You should add it to ~/.config/gtk-3.0/gtk.css and restart the panel:

xfce4-panel -r

Which distro are you using?

In 2.4.3, the following works:

#whiskermenu-window .frame { border-width: 0px; border-color: transparent; }

Last edited by ToZ (2021-12-23 17:46:20)


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

#5 2021-12-23 17:43:32

dm999
Member
Registered: 2021-12-22
Posts: 18

Re: [Solved] Theming Whisker Menu question (gtk3)

Yes, I did exactly that ^

Mint Xfce (20.2)

Offline

#6 2021-12-23 17:46:48

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

Re: [Solved] Theming Whisker Menu question (gtk3)

dm999 wrote:

Yes, I did exactly that ^

Mint Xfce (20.2)

I edited my post above. Try this instead:

#whiskermenu-window .frame { border-width: 0px; border-color: transparent; }

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

#7 2021-12-23 17:51:14

dm999
Member
Registered: 2021-12-22
Posts: 18

Re: [Solved] Theming Whisker Menu question (gtk3)

ToZ wrote:

I edited my post above. Try this instead:

#whiskermenu-window .frame { border-width: 0px; border-color: transparent; }

Perfect, that did the trick.

Thanks very much, I'll mark this as solved now.

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, 8 queries executed - Memory usage: 549.22 KiB (Peak: 550.06 KiB) ]