Page 1 of 1

Change font size of only one item

Posted: Sunday 15 September 2019 12:34
by RduPre
See attachemnt.
Schermafbeelding 2019-09-15 om 12.30.52.png
Schermafbeelding 2019-09-15 om 12.30.52.png (28.06 KiB) Viewed 451 times
I like to change the font size off only one block(the 'blue' data), what whatever I try it does not change.
Any help is more than welcome

Code: Select all

var variables = {}

blocks['v1'] = {
switch: true,
title: 'Domoticz Uptime',
image: 'duptime.png',
width: 12
}

Code: Select all

}
#newsTicker li {
font-size:20px !important;
}
.col-data span	{ font-size: 30px; margin-left: 25px; font-weight: 600; color: deepskyblue; font-variant: small-caps;}
/*.col-data .title 		{ font-size: 25px; margin-right: 25px; font-weight:220; color: dodgerblue;font-variant: small-caps;}*/

.containsicalendar {
}

.containsicalendar .items {
  font-size: 175%;
}

.publictransport div {
    font-size: 20px; 
}
   
.title { 
    font-size:20px;
    
    }
#newsTicker li {
font-size:20px !important;


Re: Change font size of only one item

Posted: Sunday 15 September 2019 16:43
by HansieNL
Can you try:

.block_v1 .value {
color: deepskyblue;
font-size: 20px;
}

Re: Change font size of only one item

Posted: Sunday 15 September 2019 17:41
by RduPre
HansieNL wrote: Sunday 15 September 2019 16:43 Can you try:

.block_v1 .value {
color: deepskyblue;
font-size: 20px;
}
Hi,
Thanks for responding, but this has no effect.

Re: Change font size of only one item

Posted: Sunday 15 September 2019 18:12
by HansieNL
RduPre wrote: Sunday 15 September 2019 17:41
HansieNL wrote: Sunday 15 September 2019 16:43 Can you try:

.block_v1 .value {
color: deepskyblue;
font-size: 20px;
}
Hi,
Thanks for responding, but this has no effect.
Did you put this code at the end of your off your custom.css?

Re: Change font size of only one item

Posted: Sunday 15 September 2019 18:13
by RduPre
At the end

Re: Change font size of only one item

Posted: Sunday 15 September 2019 18:15
by RduPre
But when I put it at the top it works

Re: Change font size of only one item

Posted: Sunday 15 September 2019 18:15
by RduPre
Thanks, I thought I tried that too, but glad it's solved now

Re: Change font size of only one item

Posted: Sunday 15 September 2019 22:33
by Lokonli
RduPre wrote: Sunday 15 September 2019 18:15 But when I put it at the top it works
That's strange, because it doesn't matter where you put it (although a later css setting may overrule a previous one)

Normally this means there is an error in your custom.css.

This may be a '//' symbol (not supported in css) or a missing bracket.