Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-04-08 13:32:01

AkantorDemon
Member
Registered: 2020-04-08
Posts: 3

Thunar background image help (SOLVED)

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:

HYGS3by.png

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

#2 2020-04-08 20:17:23

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,708

Re: Thunar background image help (SOLVED)

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.

Offline

#3 2020-04-08 21:18:24

AkantorDemon
Member
Registered: 2020-04-08
Posts: 3

Re: Thunar background image help (SOLVED)

Thank you, that did exactly what i was looking for.

Offline

Board footer

Powered by FluxBB