Change font size of only one item

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Change font size of only one item

Post 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 445 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;

User avatar
HansieNL
Posts: 969
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Change font size of only one item

Post by HansieNL »

Can you try:

.block_v1 .value {
color: deepskyblue;
font-size: 20px;
}
Blah blah blah
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Change font size of only one item

Post 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.
User avatar
HansieNL
Posts: 969
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Change font size of only one item

Post 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?
Blah blah blah
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Change font size of only one item

Post by RduPre »

At the end
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Change font size of only one item

Post by RduPre »

But when I put it at the top it works
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Change font size of only one item

Post by RduPre »

Thanks, I thought I tried that too, but glad it's solved now
Lokonli
Posts: 2292
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Change font size of only one item

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest