• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Default MM Font to use in iFrame?

Scheduled Pinned Locked Moved Requests
5 Posts 3 Posters 478 Views 3 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.
  • H Offline
    hokie-bird
    last edited by Nov 6, 2020, 9:11 PM

    I’m working on a solution to display the “Now Playing” information of my multi-room audio system on my MM. Easiest path seems to be displaying a webpage via the iFrame module. That said, I really want the metadata in the iFrame to match the rest of MM appearance/font-wise. The iFrame module does not seem to “natively” inherit the MM font, so I’m looking to hard-code the native MM font into the CSS of the webpage. Can someone provide guidance or suggestions on the name (or equivalent) of the exact font the default modules use? I’ve tried looking thru the main CSS, and find “Roboto” but when I use that font in the CSS, it doesn’t match.

    Thanks in-advance for the consideration.

    S 1 Reply Last reply Nov 6, 2020, 10:01 PM Reply Quote 0
    • S Offline
      sdetweil @hokie-bird
      last edited by Nov 6, 2020, 10:01 PM

      @hokie-bird I-frame is a hole where the other original page shows thru. you don’t have control of that page, unless it provides that originally

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • H Offline
        hokie-bird
        last edited by Nov 9, 2020, 3:48 PM

        Thanks, and I think I understand that, so trying to make the actual source webpage that’s displaying in the iFrame match the MM font, as I can control the source webpage via its CSS. Thus my ask for clarity on which font I can use on the source page to make it match.

        S 1 Reply Last reply Nov 9, 2020, 5:14 PM Reply Quote 0
        • T Offline
          thgmirror
          last edited by Nov 9, 2020, 5:03 PM

          @hokie-bird try
          ca44a94e-c5b5-420e-ae11-f58a985c2deb-image.png

          Greetings
          Thomas

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @hokie-bird
            last edited by Nov 9, 2020, 5:14 PM

            @hokie-bird sorry, I missed the question somehow

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              1/5
              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