You are not logged in.
I was wondering if anyone could explain something about CSS for me.
In gtk.css file the following code changes font size of ALL the main GUI fonts within Thunar (Not context menus, dialogs, Preferences, etc.)
.thunar { font-size: 18pt }
Just as a test I wanted to see if I could change the color of all the fonts that are effected by this font size code, so I tried this
.thunar { font-size: 16pt;
color: red;
}
Strange that this only appears to change the font colors of the "Menu Bar" and "Status Bar"?
I was wondering if anyone could explain why this is / what I am doing incorrectly?
If this code changes ALL these font sizes, then why would the color not apply to all of them?
Thank You
Last edited by advice1010 (2025-08-16 16:53:51)
Offline
Colours are defined for sub widgets, not the main .thunar widget. If you want to affect color as well you need to target all of them:
.thunar * { font-size: 16pt;
color: red;
}
Of course this won't impact context menus, dialogs, Preferences - as these elements are defined elsewhere.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
@ToZ
Ahh okay I did not realize, I thought it would just apply based on the same code that changes all the font sizes.
So the color has to be applied per items font.
Thank You
Offline
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 530.54 KiB (Peak: 535.37 KiB) ]