MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Shrink font size or limit column width to preserve spacing

    Scheduled Pinned Locked Moved Solved Troubleshooting
    3 Posts 2 Posters 449 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      amarko87
      last edited by

      Re: MMM-NHL

      I’m trying to limit the width of this module to 300 px, since it is wider than my other modules and completely throws off the spacing on my mirror. I don’t know much, but I’ve tried adding this to the MMM-NHL.css or custom.css but it doesn’t seem to have much of an effect.

      .MMM-NHL .column {
          width: 300px;
      }
      

      and other similar things for limiting the top.right region, but nothing has worked - as soon as MMM-NHL loads, it immediately widens the column.

      Any ideas how to force the column to be smaller, or to shrink the font size of the module?

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @amarko87
        last edited by

        @amarko87 I don’t know exactly but, read this on how to use the dev console to determine the right css setting

        https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1650238102931

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          amarko87 @sdetweil
          last edited by

          @sdetweil

          Got what I needed out of that, thanks!

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy