Read the statement by Michael Teeuw here.
Custom.css
-
@KirAsh4
I am having trouble with that, since I run my pi headless & inspect the output from somewhere else (mirror is in workshop).
I am having trouble interpreting the Chrome output. But I solved the problem the way I always do: brute hack. I like the idea of TD better, though. -
You don’t need a monitor on the pi to see the console. Any browser, anywhere, that can access the pi, can see the HTML output. In Chrome, hit
'F12'
to open the console. At the top, make sure'Elements'
is selected. Now twiddle down the little arrows on the left, starting with theBODY
tag. As you hover over the ones that just popped up, it highlights in the browser.'region top bar'
is where the calendar lives, twiddle that open. Hover over the'region top left, center, right'
and you can figure out where to go from there … -
Not to Hijack the thread, but is there a way to change the color on just specific calendars if I have more than one in the module?
-
@bscarano It’s not officially supported, but every module instance get’s it’s own id. If you take a look at the generated html, you’s see something like:
id="module_2_calendar"
. This means you can use the following css:#module_2_calendar td { color: #ff0000; }
But please note: since this isn’t an official feature, I can’t give any support on this, nor do I promise it will keep working in the future.
-
Maybe what’s I’m asking isn’t possible.
I have the calendar module that pulls from 2 different calendars (main and FB birthdays. Both display together. What I’d like to do is show one calendar in one color and the other in another one.
Is this possible to do or am I asking too much?
Brendon
-
I have two calendars in one calendar module as well. I use different icons for both calendar.
With this in mind, you could do some fancy css like:
tr:has(.fa-icon1) td .bright{ color: red; } tr:has(.fa-icon2) td .bright{ color: green; }
I did not try it out, but It might work.