MMM-iFrame transparent background only working in Chromium



  • Re: How add transparent background to modules

    Hopefully somebody can help

    I am using the MMM-iFrame module to grab the now playing status page of a network music system (logitech Media Server)

    This works fine except that it had a background and looks unsightly blocking the full page images of the MMM-Wallpaper module, I have managed to edit the originating CSS of the status page to have a transparent background, using the below

    background: rgba(0,0,0,0);
    background: transparent;
    
    

    I can confirm this works when I load my MagicMirror page via normal laptop chrome browser pointed at the IP of the RPi. So all is good I thought.

    0_1554242098282_445405ad-cb1f-4659-aadd-f951cd575f5a-image.png ![alt text](image url)

    However when I load up the Magic Mirror on the on the RPi, there is still a black background on the iframe.

    ![alt text](0_1554242400843_2941f4bc-d631-4445-a540-3af407008543-image.png image url)

    I have then gone on to edit both the custom css page with code taken from the above referenced thread

    module.MMM-iFrame {
         background-colour: rgba(0,0,0,0);
         background-colour: transparent;
    

    I have also tried to add the above to the CSS code of the of the MMM-iFrame module itself.

    None of which has worked. I am fine with following instructions and generally get there in the end. But not sure where to go from here to get it to work.

    So could somebody kindly help me figure out what I need to do so that the inbuilt browser of MagicMirror recognizes the transparent background of the captured web page like Chrome & Chromium do, its the last piece of the puzzle before this thing can get hung on the kitchen wall

    cheers

    Jelbear