Why aren't my GTK3 apps applying styles from gtk.css?
Asked by
parcel_scale_
I'm having an issue with GTK3 applications ignoring the styles defined in my gtk.css file while GTK4, Qt5, and Qt6 apps are working just fine. I even tried using GTK_DEBUG=interactive with Thunar to force the CSS to apply, but it still doesn't seem to work. Any ideas on what might be going wrong?
Answers
First off, make sure you're using the correct path for your gtk.css file. It should be something like ~/.config/gtk-3.0/gtk.css. Also, double-check the CSS changes you're trying to implement to ensure the syntax is accurate for GTK3. Sometimes a small typo can mess things up!
Reply to this answer
Add your answer
Answers are reviewed before publication.
parcel_scale_: I checked and I'm using the default GTK template from the Matugen repo, and the path is definitely correct. I even simplified my CSS like this: `* { background-color: #ff0000 !important; }` but it still isn't applying.