You are not logged in.
Pages: 1
Hi all i have been trying to add a background image to thunar and successful did it but i have a problem, the image also appears on the icon labels, this is the code im using:
.thunar .standard-view .view {
background-image: -gtk-scaled(url("backimage.jpg"), url("backimage@2.jpg"));
background-repeat: no-repeat;
background-position: bottom right;
background-size: cover;
}
and as you can see in this screenshot it replicates the image on the text labels for every file and folder:
how can i fix this so that the image doesn't appear on the text label of folder and items?
Last edited by AkantorDemon (2020-04-08 21:19:29)
Offline
Hello and welcome.
It gets unclear what happens below the .view level as only "widget' is defined. However, if you add the following two lines after your snippet above:
.thunar .standard-view .view * { background-image: none; }
.thunar .standard-view .view * { background: transparent; color: white; }
...it seems to work. The first line sets the image to none and the second to transparent with white foreground.
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
Thank you, that did exactly what i was looking for.
Offline
Pages: 1
[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 535.48 KiB (Peak: 536.32 KiB) ]