Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
@Turtle find what you want to modify in the existing css files, then copy them over to custom.css - example:
/* Bottom Bar Adjustments */ .region.bottom.bar { background-color:rgba(0,0,0,.90); } /* Left adjustments */ .region.left { text-align: center; }
-
-
@Sean Is there a way to center the title for “daily” view? Normally, I’d just use .css for the region, but that doesn’t work with your module.
Thanks!
-
-
Hi,
i’m looking for a daily view with 5 days in one row/line. The default for the daily-view seems to be one day per row.
Is there a possibility to show the days in one row?I also tried the week-vie
Thanks,
Marcel -
views: [ { mode: "daily", type: "row", position:"bottom_bar", slotCount: 5, ...
Maybe some additional CSS adjusting might be needed for your environment, but basic concept is that.
-
@Sean No… I can’t post screen shots, but the overall title at the top of the view referenced here:
views: [ { mode: "daily", **title: "Upcoming Events",** ...
-
@BKeyport
As you can see in the bottom region,module header
will respect the region align itself by default.
Usually, if you want to override the align ofmodule header
of a specific module, you can just do like this;.MMM-CalendarExt2 header.module-header { text-align:center; }
This CalendarExt2 is using a trick of fake-module for each view, so above CSS rule would make
module header
of all views totext-align:center;
If you want to specify the view in some region, Check this. (See the red titled view on the
top right
corner).region.top.right .MMM-CalendarExt2 header.module-header { text-align:left; color:#F00; font-weight:bold; }
Be careful about white-space between CSS selectors.
-
@Sean Odd - I originally had it for both left and right regions (I like centered headers on a display) as
.region.right { text-align:center; } .region.left { text-align:center; }
and it didn’t work. Now, once I put that back in, it works.
Okay then, Moving on…
-
@Sean
Thank you :slightly_smiling_face:
That’s what i was looking for…I think the “type”-property is missing on your documentation, or I haven’ seen it…
Thank you.