Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 08-05-2013, 08:21 PM   #1
LQ Newbie
Registered: Feb 2013
Location: Tideland
Distribution: Fedora
Posts: 19

Rep: Reputation: Disabled
Help with GTK themes: Contextual menus

I was hoping to find some help with styling contextual menus within a GTK theme. I am specifically trying to change the color of the hover event of a menu item.

I've defined menu_gradient_a and menu_gradient_b in menu.css, which works fine in some applications, though many others (Firefox, GIMP, etc.) seem to ignore this declaration. I have pawed and scratched through all of the other CSS files associated with the theme, but can't seem to figure this out.

(Edit: Also, .menubar.menuitem:hover, .menubar .menuitem:hover {} in menu.css was my go-to as well, but fussing with that set of selectors proves ineffectual.)

Would anyone have some insight as where I can find the selectors for the global hover state of contextual menu items? I would deeply appreciate it.

I have attached a screenshot example to highlight my issue.
Attached Thumbnails
Click image for larger version

Name:	contextual.png
Views:	14
Size:	144.3 KB
ID:	13144  

Last edited by dereism; 08-05-2013 at 09:29 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Making GTK3 themes – Part 2: The gtk.css and gtk-widgets.css file LXer Syndicated Linux News 0 07-24-2012 02:50 PM
GTK themes missing after gtk+ update rrije Linux - Software 3 04-17-2011 12:31 PM
Enlightenment themes and menus rose_bud4201 Linux - Software 8 06-16-2005 05:31 PM
gkrellm not showing contextual menus properly Aleksei Linux - Software 0 02-20-2005 01:03 AM
kde themes looking like gtk themes mokojin Linux - General 1 09-21-2004 04:09 AM

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration