Search found 4 matches
- Friday 16 April 2021 13:46
- Forum: Dashticz
- Topic: Dashticz - Center Button Image (icon)
- Replies: 7
- Views: 738
Re: Dashticz - Center Button Image (icon)
Os: Raspberry pi OS newest version. Browser: Chrome & Chromium newest versions. Config.js var config = {} config['domoticz_ip'] = 'http://192.168.0.192:8080'; config['app_title'] = 'Dashticz V3'; config['domoticz_refresh'] = '5'; config['dashticz_refresh'] = '60'; config['user_name ...
- Friday 16 April 2021 10:36
- Forum: Dashticz
- Topic: Dashticz - Center Button Image (icon)
- Replies: 7
- Views: 738
- Thursday 15 April 2021 19:31
- Forum: Dashticz
- Topic: Dashticz - Center Button Image (icon)
- Replies: 7
- Views: 738
Re: Dashticz - Center Button Image (icon)
I guess you just want to show an image within the button. I would recommend the following block definition: blocks['media'] = { btnimage: 'img/radio.png', width: 1, } (The image parameter is used for the icon style images at the left side of the block) Add it to a column with: columns[1]['blocks ...
- Thursday 15 April 2021 13:37
- Forum: Dashticz
- Topic: Dashticz - Center Button Image (icon)
- Replies: 7
- Views: 738
Dashticz - Center Button Image (icon)
How do I center the icon from a button?
Code: Select all
buttons.page7 = { key: "media", width:1, isimage: true, image: "radio.png", slide:8};
Code: Select all
.button[data-id='media'] {
height: 90px;
text-align: center;
}