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.

    MMM-Jeedom - align to left

    Scheduled Pinned Locked Moved Custom CSS
    11 Posts 3 Posters 3.0k 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
      selyjohns
      last edited by

      Hi,

      The module displays information with “CustomTitle” align to left, and value of idx align to right (see on bottom_right)

      For 2 other MMM-Jeedom (positionned on bottom_left), I want the result align to left.

      alt text

      Is it possible ?
      Thank you.

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

        With the inspector, I’ve been able to do this :)

        in main.css

        .region.bottom.left .time.align-right
         {
          text-align: left;
        }
        

        I think it’s not the best optimisation.
        I don’t found how to apply only this parameter to Jeedom module, only on bottom_left.

        Thank you.

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

          @selyjohns said in MMM-Jeedom - align to left:

          .region.bottom.left .time.align-right
          {
          text-align: left;
          }

          .MMM-Jeedom .time.align-right
           {
            text-align: left;
          }
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          mumblebajM 1 Reply Last reply Reply Quote 0
          • mumblebajM Offline
            mumblebaj Module Developer @sdetweil
            last edited by

            @sdetweil said in MMM-Jeedom - align to left:

            .MMM-Jeedom .time.align-right
            {
            text-align: left;
            }

            Should go into custom.css and not main.css right?

            Check out my modules at: https://github.com/mumblebaj?tab=repositories

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

              @sdetweil said in MMM-Jeedom - align to left:

              .MMM-Jeedom .time.align-right
              {
              text-align: left;
              }

              Works great, in custom.css instead main.css :)
              Thank you for your help

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

                @mumblebaj all css goes in custom.css

                never change main.css

                never change any files mm ships

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  Hi again,
                  Finally, I’ve a problem.

                  The modification is applied to all jeedom module, not only on the bottom left one.

                  Is anything possible to apply only the align left to the jeedom module on bottom left only ?

                  I want to keep the align right for the jeedom module on bottom_right

                  Thx.

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

                    @selyjohns read this and the next two posts

                    https://forum.magicmirror.builders/topic/15967/weather-vs-weather-forecast-font/2?_=1638979293900

                    #identifier   .time.align-right  {
                    text-align: left;
                    }
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil said in MMM-Jeedom - align to left:

                      #identifier .time.align-right {
                      text-align: left;
                      }

                      yep
                      Works perfectly with the identifier of the two module

                      #module_9_MMM-Jeedom .time.align-right  {
                      text-align: left;
                      }
                      
                      #module_10_MMM-Jeedom .time.align-right  {
                      text-align: left;
                      }
                      

                      Thank you…again :) !
                      Have a nice week-end

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

                        @selyjohns little warning. if u add a module to the list in front of those two, their identifiers will change

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        S 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