• 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.

Changing the length of the line under the header

Scheduled Pinned Locked Moved Custom CSS
19 Posts 8 Posters 10.7k Views 8 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.
  • M Offline
    MadScientist
    last edited by Jan 17, 2018, 6:05 PM

    I tried that already. But instead of no header I get “undefined” as a header.

    1 Reply Last reply Reply Quote 0
    • D Offline
      doubleT Module Developer
      last edited by doubleT Jan 17, 2018, 8:40 PM Jan 17, 2018, 6:35 PM

      What I ment with hempty header was an empty string value for the header:

          header: "", 
      
      1 Reply Last reply Reply Quote 1
      • M Offline
        MadScientist
        last edited by MadScientist Jan 18, 2018, 9:14 AM Jan 18, 2018, 9:06 AM

        Ok, tried that but it said "undefined with the underline. I had previously removed the label for the senor. So setting

        header: "",
        

        and

        label: "",
        

        AND changing from x-stack to y-stack

        displayMode: 'y-stack',
        

        did the trick. Thanks for your help.

        Is there a good place to learn about CSS? I tried figuring it out on my own but I just don’t understand how it’s done.

        N 1 Reply Last reply Jan 19, 2018, 3:16 AM Reply Quote 0
        • N Offline
          ninjabreadman @MadScientist
          last edited by ninjabreadman Jan 19, 2018, 3:16 AM Jan 19, 2018, 3:16 AM

          @MadScientist I’ve always liked W3Schools. It’s very concise, but introduces each concept and lets you play with it.

          There are also learning/coursework sites like CodeAcademy, Code School, udemy, etc.

          Groups like Ladies Learning Code also have slides and sample code available to walk you through.

          There is CSS, but there are also media queries, CSS animations, layout frameworks, CSS extensions/preprocessors like Sass & LESS, among other things. Let alone different limitations, workarounds, and other peculiarities for different desktop and mobile browsers.

          Finally, the best way to learn and retain is often to apply it. Building things will often reinforce whatever you learn through the sites and materials above.

          Problem with config or JavaScript? Copy/paste it into JSHint.
          Check out the detailed walkthroughs on install, config, modules, etc.

          1 Reply Last reply Reply Quote 1
          • M Offline
            MadScientist
            last edited by Jan 19, 2018, 11:04 AM

            Thanks ninjabreadman. I will have a look at your proposed sites.

            1 Reply Last reply Reply Quote 0
            • G Offline
              goprojojo
              last edited by Jan 19, 2018, 11:31 AM

              What module is that background?

              C 1 Reply Last reply Jan 20, 2018, 7:35 AM Reply Quote 0
              • C Offline
                cruunnerr @goprojojo
                last edited by Jan 20, 2018, 7:35 AM

                @goprojojo

                its not a module. Its just a background. Take a look here, i described it a little further down

                1 Reply Last reply Reply Quote 1
                • M Offline
                  magicmarc @doubleT
                  last edited by Jan 14, 2020, 5:28 PM

                  @doubleT For my travel module, the line doesn’t dissapear even though I leave header empty :confused_face: Do you know how to remove the line in some other way?

                  M 1 Reply Last reply Jan 14, 2020, 8:52 PM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @magicmarc
                    last edited by Jan 14, 2020, 8:52 PM

                    @magicmarc said in Changing the length of the line under the header:

                    For my travel module, the line doesn’t dissapear even though I leave header empty

                    Try commenting out the entire line (or delete) // header:"", from the config entry

                    Create a working config
                    How to add modules

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