A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Subcategories

  • Share your custom style sheets with the community!

    23 Topics
    297 Posts
    Apple TV integrates with MagicMirror to display smart widgets, notifications, and media on a mirrored screen, enhancing functionality.
  • You have questions regarding CSS?

    114 Topics
    675 Posts
    @sdetweil Thank you again. Solved with: Added 2 rows. Increased hw Increased region middle.center Result: [image: 1741813929089-bildschirmfoto_2025-03-12_22-06-37.png]
  • 0 Votes
    3 Posts
    299 Views
    @botswana you might be able to use a customized css to set different font size based on screen resolution. on another system I use :root{ --scale-factor: 1; /* set default scaling in case we have partial window, debug or in vm terminal window */ } @media screen and (width:1920px) and (orientation: landscape) { :root{ --scale-factor: 1920/1920; }; } @media screen and (width:3840px) and (orientation: landscape) { :root{ --scale-factor: 3840/1920; }; } @media screen and (width:1080px) { :root{ --scale-factor: 1920/1920; }; } and then an example use h1 { font-size: calc( 120px * var(--scale-factor)); } the 120px could be a variable too… magicmirror sets these variables. maybe you can scale them by screen resolution and not have to mod everything… BUT many modules don’t use the predefined css styles :root { --color-text: #999; --color-text-dimmed: #666; --color-text-bright: #fff; --color-background: #000; --font-primary: "Roboto Condensed"; --font-secondary: "Roboto"; --font-size: 20px; --font-size-xsmall: 0.75rem; --font-size-small: 1rem; --font-size-medium: 1.5rem; --font-size-large: 3.25rem; --font-size-xlarge: 3.75rem; --gap-body-top: 60px; --gap-body-right: 60px; --gap-body-bottom: 60px; --gap-body-left: 60px; --gap-modules: 30px; } and maybe css transform:scale() https://caniuse.com/css-zoom
  • 0 Votes
    3 Posts
    321 Views
    @sdetweil On MMM-OnThisDayWikiApi I do not see this config option. It’s not MMM-OnThisDay. @angeliKITTYx Try this in your custom.css file: .MMM-OnThisDayWikiApi-single > div { font-size: 40px; }
  • 0 Votes
    4 Posts
    1k Views
    @MMRIZE Thank you, I REALLY appreciate you pointing that out to me. I have gone through and removed and reinstalled all modules manually and moved all of the changes I made to the custom.css and also stopped changing defaults in the .js files and moved those desired changes directly to the config.js file. Saved my bacon from having HUGE headaches in the future with broken configs.
  • 0 Votes
    8 Posts
    937 Views
    @kshamus Use event.class, not event.className. [image: 1704185135055-5ef76f61-d817-4ae0-9cac-83957e50b515-image.png]
  • Alternate Day/Date Format

    Dec 18, 2023, 1:18 AM
    0 Votes
    4 Posts
    484 Views
    @MMRIZE Thank you! That is exactly what I wanted.
  • MMM-Anylist columns

    Dec 7, 2023, 5:07 PM
    0 Votes
    3 Posts
    445 Views
    @sdetweil Thank you for your reply. I will do that Thank you
  • Changing Text Size and Color

    Dec 1, 2023, 3:57 AM
    0 Votes
    11 Posts
    1k Views
    @Grizz952 you should set some styles in the top right empty element window to see the effects
  • 0 Votes
    2 Posts
    332 Views
    @Grizz952 not built in, css can set background-color may take multiple clauses
  • Mmm calendar ext3

    Nov 2, 2023, 8:31 PM
    0 Votes
    11 Posts
    3k Views
    So I think I’m ok with the bottom calendar I just can’t figure out how to make the list to display for a month instead of all the way into January https://share.icloud.com/photos/078is2God3mgkrI_9spjrgJ5g
  • Background Animation

    Oct 21, 2023, 5:11 AM
    0 Votes
    5 Posts
    683 Views
    @sdetweil MMM-DynamicWeather
  • 0 Votes
    3 Posts
    549 Views
    @sdetweil said in Need some CSS help ... looking for the key names: @ruff-hi see this for how to use the developers window to discover this info https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1696694536512 also when there is no space between selector elements .bright.medium.light it ONLY applies to AN element that MUST contain all three classes at the same time Thanks - just what I was looking for.
  • 0 Votes
    7 Posts
    921 Views
    @jimmy_382837 @MMRIZE said in Adjust individual table column widths?: I haven’t examined the rendered HTML yet, but hardcoded style attributes in HTML code are prior than CSS. In case; You should modify source code of the module to change the result. (Or consider to use monkey-patch) The rendered result is not hard-coded, so you can adjust it with only CSS. This is an example. (Anyway, your config was not exactly matched with your previous screenshot…) .MMM-OpenWeatherMapForecast .module-content { width: inherit; /* I don't know why, but it was defined as 300px, might be an issue when you adjust the dimension. so have to reset */ } .MMM-OpenWeatherMapForecast, .MMM-OpenWeatherMapForecast .wrapper { width: 500px; /* give a custom width to a module */ } .MMM-OpenWeatherMapForecast .forecast-item .time { /* Some customizing for `time` cell for example.*/ width: 200px; background-color: rgb(127 127 127/ 50%); color: white; font-weight: bold; } [image: 1695627179700-702a0fac-1c29-4e4a-87a6-1fbcda563fa4-image-resized.png]
  • MMM-jast

    Jul 31, 2023, 10:53 PM
    0 Votes
    4 Posts
    616 Views
    @ankonaskiff17 I actually do just that, however, many modules, like this one don’t use the standard variables. So, I have to set each one manually, thusly: from my custom.css :root { --gap-body-top: 5px; --gap-body-right: 5px; --gap-body-bottom: 5px; --gap-body-left: 5px; --gap-modules: 15px; --color-text: #ddd; --color-text-dimmed: #666; --color-text-bright: #fff; --color-background: #000; --font-size: 21px; --font-size-xsmall: 0.75rem; --font-size-small: 1rem; --font-size-medium: 1.5rem; --font-size-large: 3.25rem; --font-size-xlarge: 3.75rem; } … Example module change: /* Flipclock - Set size */ .tick-flip, .tick-text-inline { font-size: var(--font-size-xlarge); }
  • 0 Votes
    8 Posts
    468 Views
    @wishmaster270 Great start, now to adjust to fit… 🤣 Edit: here I am adjusting it and trying to figure out why it wouldn’t move up to the bar, then I realized, you had it in Top Center. 😞😞😞😞😖😖😖😖
  • 0 Votes
    3 Posts
    346 Views
    @MMRIZE Thank you so much. I would have never come to that conclusion.
  • Current Weather Not Dimmed

    Jun 28, 2023, 2:52 AM
    0 Votes
    4 Posts
    479 Views
    @Elkanah Glad I could help. You can stack modules one after the other because in some respects something like top_left has no bottom. You can have modules below the bottom of the physical monitor. If you want modules in a particular order, arrange them that way in config.js If you are looking for a particular color or say colors that compliment each other you can do a search on “hex color codes” and you will get the hex nomenclature for every color imaginable. Some colors you can just say “black” or “white” and that will work but I’ve personally stuck with using the hex codes for the most part.
  • 0 Votes
    3 Posts
    503 Views
    @HotMacaroon Did you put both modules in same region, top_right? I have almost identical setup on an MM and if you put both in same region you should not run into that problem because they will position themselves properly as far as what you are trying to do. Is one in top_right and second in a different region? I have like 5 modules, all in top_left in my case. Also note these are in config.js NOT doing anything with CSS With CSS issues like @sdetweil has told me a 100 times, do that with developer tools and my experience is that there is a little trial & error in getting module CSS to look right because of different branded monitor/TV and different screen sizes. Two identical modules should drop with no need to tweak CSS on one and not the other. If you want a particular order, that is dependent on placement of module in the config.js file. Second picture all modules top_left [image: 1687723503367-top_left.jpg] [image: 1687724052342-alltopleft.jpg]
  • 0 Votes
    6 Posts
    1k Views
    @edd189 see https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1686341739097
  • calendar

    May 5, 2023, 12:24 PM
    0 Votes
    10 Posts
    1k Views
    @sdetweil - Thanks Sam. This will help when I work on cleaning up my display overall, as i do have multiple instances of both calendar and weather running!
  • 0 Votes
    7 Posts
    1k Views
    Ah ok, i dont think the user with the screenshot i posted above is paying 40 dollars a month to show 5 icons in a line in the dashboard, this has more to do with CSS rather than the config within the module itself