Text device without icon

Moderator: leecollings

Post Reply
DomoticaRob
Posts: 80
Joined: Sunday 29 November 2015 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Halle, the Netherlands
Contact:

Text device without icon

Post by DomoticaRob »

Is it possible to get a text device without an icon?
That would give some extra space where you can place text in.
SweetPants

Re: Text device without icon

Post by SweetPants »

DomoticaRob wrote: Wednesday 19 December 2018 21:07 Is it possible to get a text device without an icon?
That would give some extra space where you can place text in.
I like this idea. Why need this text icon when there is only text you can place in this device
DomoticaRob
Posts: 80
Joined: Sunday 29 November 2015 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Halle, the Netherlands
Contact:

Re: Text device without icon

Post by DomoticaRob »

An extra wish is that the used font is non-proportional so that you can output information with equal horizontal distances.
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Text device without icon

Post by DewGew »

Put this code in custom.css inside your theme(../www/styles/default) folder. Then the icon in textdevices is gone.

Code: Select all

#img img[src="images/text48.png"]{
    display: none !important;
}
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
Gravityz
Posts: 652
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Text device without icon

Post by Gravityz »

tried this but it seems there is still something there because text is not aligned.
looks like the first line has a space
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest