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.

    organization of the text next to the icon.

    Scheduled Pinned Locked Moved Custom CSS
    48 Posts 3 Posters 19.6k Views 5 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.
    • I Offline
      iorifly
      last edited by

      I will try to play with this. But already mine gave a north !!!

      I will try to create the lines. About aligning if standing next to the icons already helps. Now creating html is simpler. I will try to understand. Anything I report.

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

        Wait! I think that’s not what @iorifly wants, right?

        If I understand this correct (and it is difficult to understand ;) ) the text in the middle should be aligned left?

        If I place the module on the right side, the text is far from the icons.

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

          I will send another photo. with the module positioned to the left of the screen.

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

            @doubleT yes, you are correct… sorry, I misunderstood , I thought he wanted the icons on the right end of the line

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              I actually want it that way. See how the text is perfectly aligned to the icon.

              https://imgur.com/InsQd3x

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

                I also wanted to put lines

                Like the ones I set as an example. I actually want white line like the one under “Home assistant”
                https://imgur.com/sx9Muq2

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

                  Ok, I understand. I’m looking at the code and I think it’s not written very good. There are cells named “align-left” and “align-right” – stupid in this case as there’s no CSS for it and the cells are taking their alignment from the module position, it seems.

                  Are you familiar with the dev mode? Can you check the html structure of the table and see if the cells and table rows that you try to change have any class names?

                  I’m trying to figure this out and then I’d suggest some entries in the custom.css file.

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

                    text alignment, you will have to change the code. the author did not provide element classes you could modify with css. (see the code from one of my prior posts, he just set style to ‘align-left’ or ‘align-right’ or let it default (text nodes align right by default for ltr languages)

                    adding a line under some entries,
                    you will have to modify the code to add that capability

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      It can be done in css even if there are no class names. Give me a minute.

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

                        Thanks! I’m in no hurry. Even because it took me a long time to get here. sdetweil helped me extremely.

                        Thank you very much for all your support! sensational you !!!.

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