Why aren’t my GTK3 apps applying styles from gtk.css?

0
26
Asked By CuriousCat42 On

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?

1 Answer

Answered By TechWizard99 On

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!

CuriousCat42 -

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.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.