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.

    Moving modules

    Scheduled Pinned Locked Moved Custom CSS
    8 Posts 3 Posters 2.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.
    • G Offline
      gwiz
      last edited by

      Hi @lavolp3 thanks for the reply,

      Here is what I have:

      .MMM-weatherforecast {
             margin-right: -300px;
             min-width: 300px;
      }
      

      I tried -300px just to see a noticeable change, but as of now nothing has moved the module. I also checked the MMM-weatherforecast.css but there is no other padding that I think could interfere with the spacing of the modules, but I am fairly new at this. Is there any way I could get it to just align with the right edge of the screen? Thanks again for the help!

      lavolp3L 1 Reply Last reply Reply Quote 0
      • lavolp3L Offline
        lavolp3 Module Developer @gwiz
        last edited by

        @gwiz try

        .weatherforecast
        

        instead of .MMM-weatherforecast.
        Odd, but that’s how it is referenced in the module css

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        1 Reply Last reply Reply Quote 0
        • G Offline
          gwiz
          last edited by

          @lavolp3 thanks again for the help, I changed it how you said but the module still did not move. Here is what I have now:

          .weatherforecast {
                margin-right: -40px;
          }
          

          But still no movement :frowning_face: not sure where to go from here

          1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer
            last edited by Mykle1

            @gwiz

            That SHOULD work. Odd. So, instead of pulling it from the right, try pushing it from the left. I just tested it. Unless there is a css conflict somewhere.

            .weatherforecast {
              margin-left: 40px;
            }
            

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • G Offline
              gwiz
              last edited by

              Hi @Mykle1 thanks for the help,

              I tried putting that exact clip into custom.css but still nothing changed. Could there be something else somewhere preventing it from moving?

              Thanks again

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @gwiz
                last edited by

                @gwiz

                Sure, but troubleshooting will have to be done to determine the cause. I suggest you try the following:

                1. Disable all modules except the weatherforecast module in your config.js file.
                2. Disable all entries in your custom.css file except the one for weatherforecast.

                Now see if the css entry for weatherforecast works.

                Create a working config
                How to add modules

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