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

Throwing down the gauntlet

Scheduled Pinned Locked Moved Troubleshooting
85 Posts 11 Posters 94.0k Views 11 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.
  • B Offline
    broberg Project Sponsor @jproehl
    last edited by Feb 25, 2017, 8:36 PM

    @jproehl it’s not super simple to find out what to write in the css if you are not familiar with css and javascript since most of that is names specified by the coders of the magic mirror and the modules,

    If it’s not specified in the module documentation you can look in the modules .js file and search for the text className after that is usually specified one or more classes that will determine the appearance of what is being displayed.

    The className should also be visible if you look at the html code in the browser.

    J 1 Reply Last reply Feb 25, 2017, 8:38 PM Reply Quote 1
    • J Offline
      jproehl @broberg
      last edited by Feb 25, 2017, 8:38 PM

      @broberg Okay, I’ll poke around in the codes. Thanks!

      1 Reply Last reply Reply Quote 0
      • J Offline
        jbeck615 @strawberry 3.141
        last edited by Feb 26, 2017, 3:43 AM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • J Offline
          jbeck615 @jproehl
          last edited by Feb 26, 2017, 4:57 AM

          @jproehl curious if you ever solved #2? i got the same issue with the icons showing up under the current

          J 1 Reply Last reply Feb 26, 2017, 5:23 AM Reply Quote 0
          • J Offline
            jproehl @jbeck615
            last edited by jproehl Feb 26, 2017, 5:24 AM Feb 26, 2017, 5:23 AM

            @jbeck615 Hi: That problem went away when I fixed a missing close bracket “}” in the custom.css. So, if you are getting the extra icon line in your current conditions display for the same reason I was, check to make sure that all of the entries in custom.css are of the form:

            .“modulename” .“className” {
            “parameter”: “value”;
            }

            A concrete example of this is:

            .clock .time {
            color: #99F;
            }

            One of my entries was missing that very last bracket. When I fixed that, the icon line went away and all the subsequent parameters that I was trying to change in the custom.css file also got changed.

            I suspect that when that syntax error showed up the rest of the custom.css file was not processed and the parameter on which I left off the bracket and all the subsequent ones were never included.

            Hope this helps! Good luck.

            J 1 Reply Last reply Feb 27, 2017, 3:50 AM Reply Quote 1
            • J Offline
              jbeck615 @jproehl
              last edited by Feb 27, 2017, 3:50 AM

              @jproehl thank you. ill do some deeper vetting. thanks!

              S 1 Reply Last reply Feb 27, 2017, 8:05 AM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @jbeck615
                last edited by Feb 27, 2017, 8:05 AM

                @jbeck615 if you post your css here we can help to spot the issue

                Please create a github issue if you need help, so I can keep track

                J M 3 Replies Last reply Feb 27, 2017, 7:47 PM Reply Quote 0
                • J Offline
                  johnnyboy @Mykle1
                  last edited by Feb 27, 2017, 2:24 PM

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jbeck615 @strawberry 3.141
                    last edited by Feb 27, 2017, 7:47 PM

                    @strawberry-3.141 oh my thank you SO much for offering. i hate asking for help but let me tinker with it for a couple of days and if no luck i will take you up on the offer. LOVE this community. thank you again for even offering!

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @strawberry 3.141
                      last edited by Feb 28, 2017, 5:14 PM

                      @strawberry-3.141

                      I thought you might like to know that I had some success with the custom.css file without asking for your help. I did do some looking around in the module .js file and the Developers Tools. I was careful not to change anything. I was looking for clues on what changes specific parts of a module. (e.g. table, text, align, padding, margin, etc…)

                      I wanted to be able to move the calendar_monthly module to the left margin. I also wanted to constrain the module to a specific width so that it wouldn’t expand when another module stretches the region they both occupy. And just for good measure, I threw in some color. So, using the the css information that you’ve already given me for other modules, and the information I got from looking in the module.js file and Developers Tools, I did this.

                      0_1488301766370_success.JPG

                      With this

                      }
                      
                      .calendar_monthly table {
                        width: initial;
                        float: left;
                      }
                      
                      .calendar_monthly td {
                        text-align: left !important;
                      }
                      
                      .calendar_monthly calendar-table {
                        text-align: left !important;
                      }
                      
                      .calendar_monthly {
                        width: 200px;
                        color: #6f6;
                      } 
                      

                      “I’m smart! I can do things!” (Fredo Corleone - The Godfather II)

                      Create a working config
                      How to add modules

                      J J 3 Replies Last reply Feb 28, 2017, 6:06 PM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 5 / 9
                      5 / 9
                      • First post
                        46/85
                        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