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.

    Disable header in MMM-MieleAtHome and MMM-Homeconnect

    Scheduled Pinned Locked Moved Solved Troubleshooting
    14 Posts 3 Posters 721 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.
    • S Offline
      sdetweil @sdetweil
      last edited by sdetweil

      this

      .MMM-MieleAtHome .module-header {
        display: none;
      }
      

      should have worked for that module

      have you opened the developer window elements tab to look at the css applied?

      see the second link in my signature below

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      O 1 Reply Last reply Reply Quote 0
      • O Offline
        OberfragGER @sdetweil
        last edited by OberfragGER

        @sdetweil Thanks for your help.
        But its still not working.

        18d7797a-39ec-447f-9c72-ccf35d48c256-grafik.png

        66d72448-e260-4190-9504-426ce766faf1-grafik.png

        e70b746e-3020-4f3e-a430-fdc3c70192cd-grafik.png

        ```
        

        {
        module: “MMM-MieleAtHome”,
        position: “bottom_left”,
        showDeviceIfDoorIsOpen: false,
        showHeader: false,
        config: {
        userName: “xxx”,
        password: “xxx”,
        client_ID: “xxx”,
        client_Secret: “xxx”,
        vg: ‘de-DE’, // Your country code from the list above
        language: ‘de’, // Language supported from list above
        showAlwaysAllDevices: false //always display component
        }
        },

        
        I even tried display: none without ";". I doesnt work...
        O S 2 Replies Last reply Reply Quote 0
        • O Offline
          OberfragGER @OberfragGER
          last edited by

          61a9032e-5a28-4b75-9c77-bd780e5338d3-grafik.png

          Is there any chance to scale both styles that the icons are looking the same height and style?

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @OberfragGER
            last edited by sdetweil

            @OberfragGER you are looking at the header part of the page Dom

            You need the body part where the html is

            Use the elements tab , click the pointer to left, mouse ver the module til it’s highlighted and click to
            Open the html view there

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            O 1 Reply Last reply Reply Quote 0
            • H Offline
              HeikoGr
              last edited by HeikoGr

              this should work, but MMM-MieleAtHome and therefore MMM-Homeconnect as a fork do override the header…

              {
                module: “MMM-MieleAtHome”,
                header: "",
                position: “bottom_left”,
               [...]
              },
              
              O 1 Reply Last reply Reply Quote 0
              • O Offline
                OberfragGER @HeikoGr
                last edited by

                @HeikoGr said in Disable header in MMM-MieleAtHome and MMM-Homeconnect:

                this should work, but MMM-MieleAtHome and therefore MMM-Homeconnect as a fork do override the header…

                {
                  module: “MMM-MieleAtHome”,
                  header: "",
                  position: “bottom_left”,
                 [...]
                },
                

                Thata not working on both modules :(

                1 Reply Last reply Reply Quote 0
                • O Offline
                  OberfragGER @sdetweil
                  last edited by

                  @sdetweil Hi sam,

                  this one?

                  766d7f05-49ad-41b3-a81b-9c627c4dc0c7-grafik.png

                  or this one?

                  48d4e17e-a2be-4a70-b746-8cbb421debab-grafik.png

                  S 1 Reply Last reply Reply Quote 0
                  • H Offline
                    HeikoGr
                    last edited by HeikoGr

                    i found 2-3 ways for you to get rid of the header:

                    1.: you add “!important” to force the css rule

                    .MMM-MieleAtHome .module-header {
                        display: none !important;
                    }
                    
                    1. fork MMM-MieleAtHome and get rid of
                    	// you have to delete this function at MMM-MietAtHome.js line 92-95
                    	getHeader: function() {
                    		return "Miele@Home";
                    	},
                    

                    MMM-HomeConnect is similar. But here you have a third option: take my fork: https://github.com/heikogr/MMM-HomeConnect2 (only thing: it has an different styling)

                    S O 2 Replies Last reply Reply Quote 1
                    • S Offline
                      sdetweil @HeikoGr
                      last edited by

                      @HeikoGr shouldn’t need the !important as no other class is specified AFTER the , module-header

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @OberfragGER
                        last edited by

                        @OberfragGER the second… and you can do it a couple ways

                        // using classes

                        .MMM-MieleAtHome .module-header  {
                             display:none;
                        }
                        

                        or using html element

                        .MMM-MieleAtHome header {
                           display:none;
                        }
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        O 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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