MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    organization of the text next to the icon.

    Custom CSS
    3
    48
    3275
    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.
    • D
      doubleT Module Developer last edited by

      @sdetweil I don’t have any modules with uper case letters (MMM- …) at the moment. Can you confirm the module class name is with uper case letters or is it changed to lower case?

      In this situation, with a unique module name, it’s ok to identfy the module without the .module but in general I’d say it’s best practice that if you want to address a specific module, you describe it as precise as possible.
      E.g. there might be a module “image_frame” that you want to address but there’s also a module that somewhere within its structure has one div with the class “image_frame” that you don’t want to address. Then it’s absolutely necessary to address the target with .module.image_frame

      1 Reply Last reply Reply Quote 0
      • I
        iorifly last edited by

        added “.modulo” before .MMM

        1 Reply Last reply Reply Quote 0
        • D
          doubleT Module Developer last edited by

          And that worked? 🤔

          1 Reply Last reply Reply Quote 0
          • I
            iorifly last edited by

            @doubleT

            I noticed that the font color is erased. Why that ? the other modules have the strongest colors!

            1 Reply Last reply Reply Quote 0
            • D
              doubleT Module Developer last edited by

              Because the creator of that module gave the wrapper the class name “dimmed” in line 38 …

              I 1 Reply Last reply Reply Quote 0
              • I
                iorifly last edited by

                @doubleT Unfortunately not.

                1 Reply Last reply Reply Quote 0
                • I
                  iorifly @doubleT last edited by

                  @doubleT said in organization of the text next to the icon.:

                  esmaecido

                  what I put in place to make it clearer (alive)

                  1 Reply Last reply Reply Quote 0
                  • D
                    doubleT Module Developer last edited by

                    Can you show me what your custom.css file looks like now?

                    1 Reply Last reply Reply Quote 0
                    • I
                      iorifly last edited by

                      @doubleT

                      .module.MMM-homeassistant-sensors table tr td:nth-of-type(2) {
                          test-align: left;
                      }
                      .module.MMM-homeassistant-sensors table tr:nth-of-type(3) td,
                      .module.MMM-homeassistant-sensors table tr:nth-of-type(6) td {
                          border-bottom: 1px solid white;
                      }
                      .module.MMM-homeassistant-sensors table {
                          border-spacing: 0;
                      }
                      

                      note: I’m slow to answer because I have to wait 120s to post.

                      1 Reply Last reply Reply Quote 0
                      • D
                        doubleT Module Developer last edited by

                        Oh, I noticed a typo – even though that’s not the reason it’s not working. Change te_s_t-align to text-align, please. 😉

                        What’s the name of the module in your config file?

                        I 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 4 / 5
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy