MagicMirror² v2.6.0 is available! For more information about this release, check out this topic.

MMM-EventHorizon - remove black border line



  • Wondering if there is some custom.css that can be added to this module to remove the black border line that the module produces around the entire text block.

    I’ve tried “border: none” in both the “.MMM-EventHorizon” and the “.MMM-EventHorizon .module-content” css blocks. Also tried adding “frameBorder=0” for the iframe.style in the js code. But always get the black border…

    Also, is there an easy way to change the font that is used?

    Kind regards for any suggestions


  • Module Developer

    @max64

    I cannot reproduce what you are describing as far as the black border line is concerned. Here is my screenshot.

    0_1546393796644_Screenshot from 2019-01-01 20-47-38.png

    If you have modified any of the module files then perhaps deleting the whole thing and cloning a new copy would put it to rights.

    Because this is simply an ‘iframe’ module, there is no easy way to change the font, other than the three size options. However, it is possible. You would have to go set up your own timer here and replace the iframe.src url with the one you get from the website.



  • @mykle1 - You can see the “border” line when the background is a light color (like white).

    On the font, mine look more like a Times Roman font, which doesn’t look similar to any of the other fonts on the screen. I was just trying to get something pseudo-similar.


  • Module Developer

    @max64 said in MMM-EventHorizon - remove black border line:

    @mykle1 - You can see the “border” line when the background is a light color (like white).

    Ok, I’ve corrected the border issue (I think). Do a git pull in the MMM-EventHorizon directory

    On the font, mine look more like a Times Roman font, which doesn’t look similar to any of the other fonts on the screen. I was just trying to get something pseudo-similar.

    Understood, but as I said in my last post, this is an iframe module, and as such cannot be modified conventionally. I went to the link I provided for you. It appears there are only 3 fonts choices. Pick one of them and I can make that work for you. Otherwise, what you see is what you get, mate. Peace!



  • @mykle1 - your edit did remove the iframe black border line. Many thanks.

    Apologize I didn’t pick up in your initial response that the entire content of the iframe was coming from the external timeanddate website. I will just edit the iframe.src url to pick the most appropriate font as your suggest. I can select the correct timezone at the same time.

    Thanks for your help…mate. 🙂


  • Module Developer

    @max64

    You’re welcome, mate.