MagicMirror Forum

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

    MMM-Jeedom - align to left

    Custom CSS
    3
    11
    417
    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
      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
        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
          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

          Create a working config
          How to add modules

          mumblebaj 1 Reply Last reply Reply Quote 0
          • mumblebaj
            mumblebaj Project Sponsor @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?

            S 1 Reply Last reply Reply Quote 0
            • S
              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
                sdetweil @mumblebaj last edited by sdetweil

                @mumblebaj all css goes in custom.css

                never change main.css

                never change any files mm ships

                Sam

                Create a working config
                How to add modules

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

                    Create a working config
                    How to add modules

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

                        Create a working config
                        How to add modules

                        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy