Hi, it looks if the latest beta takes more space on the top of the weather block...
See my old and new screendumps with the same config..
New
Old
CSS
custom.css
[data-id='weather_pvk'] {height: 382px; width: 300px;}
div[data-id='clock'] {height: 150px;width:237px}
div[data-id='sunrise'] {height: 150px;width:237px}
div[data-id='longfonds'] {height: 150px !important;font-size:14px !important}
CUSTOM
blocks['weather_pvk'] = {
type: 'weather',
apikey: 'xxxxxx',
city: 'xxxxxx',
name: 'xxxxx (zh)',
country: 'nl',
lang: 'nl',
layout: 4,
count: 6,
showDetails: false,
showHourly: false,
monochrome: false,
colors: {
cloud: 'blue',
light_cloud: 'grey',
dark_cloud: 'blue',
}
Version 3.8.7
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Version 3.8.7
- Attachments
-
- weathertold2.jpg (60.97 KiB) Viewed 553 times
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: Version 3.8.7
I also tried to make the padding smaller for weathernew2.jpg, but with no success...
[data-id='weather_pvk'] {height: 382px; width: 300px;}
[data-id='weather_pvk'] .description {padding-top:0px !important;}
[data-id='weather_pvk'] .description {padding-bottom:0px !important;}
[data-id='weather_pvk_4'] .description {padding-top:0px !important;}
[data-id='weather_pvk_4'] .description {padding-bottom:0px !important;}
[data-id='weather'] .description {padding-top:0px !important;}
[data-id='weather'] .description {padding-bottom:0px !important;}
[data-id='weather_4'] .description {padding-top:0px !important;}
[data-id='weather_4'] .description {padding-bottom:0px !important;}
[data-id='weather_pvk'] {height: 382px; width: 300px;}
[data-id='weather_pvk'] .description {padding-top:0px !important;}
[data-id='weather_pvk'] .description {padding-bottom:0px !important;}
[data-id='weather_pvk_4'] .description {padding-top:0px !important;}
[data-id='weather_pvk_4'] .description {padding-bottom:0px !important;}
[data-id='weather'] .description {padding-top:0px !important;}
[data-id='weather'] .description {padding-bottom:0px !important;}
[data-id='weather_4'] .description {padding-top:0px !important;}
[data-id='weather_4'] .description {padding-bottom:0px !important;}
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Version 3.8.7
The icons are a bit bigger.pvklink wrote: ↑Monday 06 December 2021 12:37 Hi, it looks if the latest beta takes more space on the top of the weather block...
See my old and new screendumps with the same config..
New
weathertnew2.jpg
Old
weathertold2.jpg
CSS
custom.css
[data-id='weather_pvk'] {height: 382px; width: 300px;}
div[data-id='clock'] {height: 150px;width:237px}
div[data-id='sunrise'] {height: 150px;width:237px}
div[data-id='longfonds'] {height: 150px !important;font-size:14px !important}
CUSTOM
blocks['weather_pvk'] = {
type: 'weather',
apikey: 'xxxxxx',
city: 'xxxxxx',
name: 'xxxxx (zh)',
country: 'nl',
lang: 'nl',
layout: 4,
count: 6,
showDetails: false,
showHourly: false,
monochrome: false,
colors: {
cloud: 'blue',
light_cloud: 'grey',
dark_cloud: 'blue',
}
To change the icon sizes add the following to custom.css:
Code: Select all
.weather .icon img {
width: 50% !important;
}
Code: Select all
.weatherday .icon img {
width: 50% !important;
}
.weathercurrent .icon img {
width: 50% !important;
}
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Version 3.8.7
Which part do you try to make smaller?pvklink wrote: ↑Monday 06 December 2021 12:57 I also tried to make the padding smaller for weathernew2.jpg, but with no success...
[data-id='weather_pvk'] {height: 382px; width: 300px;}
[data-id='weather_pvk'] .description {padding-top:0px !important;}
[data-id='weather_pvk'] .description {padding-bottom:0px !important;}
[data-id='weather_pvk_4'] .description {padding-top:0px !important;}
[data-id='weather_pvk_4'] .description {padding-bottom:0px !important;}
[data-id='weather'] .description {padding-top:0px !important;}
[data-id='weather'] .description {padding-bottom:0px !important;}
[data-id='weather_4'] .description {padding-top:0px !important;}
[data-id='weather_4'] .description {padding-bottom:0px !important;}
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Version 3.8.7
pvklink wrote: ↑Monday 06 December 2021 12:57 I also tried to make the padding smaller for weathernew2.jpg, but with no success...
[data-id='weather_pvk'] {height: 382px; width: 300px;}
[data-id='weather_pvk'] .description {padding-top:0px !important;}
[data-id='weather_pvk'] .description {padding-bottom:0px !important;}
[data-id='weather_pvk_4'] .description {padding-top:0px !important;}
[data-id='weather_pvk_4'] .description {padding-bottom:0px !important;}
[data-id='weather'] .description {padding-top:0px !important;}
[data-id='weather'] .description {padding-bottom:0px !important;}
[data-id='weather_4'] .description {padding-top:0px !important;}
[data-id='weather_4'] .description {padding-bottom:0px !important;}
try:
Code: Select all
.weatherforecast {
margin-bottom: 0px !important;
}
.weatherday {
padding-top: 0px !important;
padding-bottom: 0px !important;
}
-
- Posts: 822
- Joined: Wednesday 12 November 2014 15:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest b
- Contact:
Re: Version 3.8.7
Very happy with your solution!
The solutions for the iconsize work great!
Everythings fits again
I also tried to get the top smaller: blanc spaces above and below the icon, temp and place.
I think your code has some effect...
By the way, the icons look great, just tried full...
New desktop
The solutions for the iconsize work great!
Everythings fits again
I also tried to get the top smaller: blanc spaces above and below the icon, temp and place.
I think your code has some effect...
By the way, the icons look great, just tried full...

New desktop
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Jablotron connection, Ikea
Who is online
Users browsing this forum: No registered users and 1 guest