• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Move Default Weather Forecast Class

Scheduled Pinned Locked Moved Custom CSS
3 Posts 3 Posters 532 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.
  • H Offline
    HotMacaroon
    last edited by Jun 23, 2023, 2:16 PM

    Hey, I wanted to make the weather module a little bigger on the display and did as such with the below lines in the main.css file:

    .weather {
    transform: scale(2.4);
    padding-top: 110px;
    padding-right: 170px;
    }

    However now, the current weather section overlaps with the weather forecast. Does anyone know the name of the weather forecast class so I can add some padding in the main.css? I’m at a loss and not running in HTTP mode so I can’t inspect the elements.alt text

    https://imgur.com/pivEz89

    S A 2 Replies Last reply Jun 24, 2023, 12:11 AM Reply Quote 0
    • S Away
      sdetweil @HotMacaroon
      last edited by sdetweil Jun 24, 2023, 12:11 AM Jun 24, 2023, 12:11 AM

      @HotMacaroon don’t know names. but ,NEVER edit main.css

      all user css goes in css/custom.csmefitingbant of the shipped files in mm or a module will break updates…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • A Offline
        ankonaskiff17 @HotMacaroon
        last edited by ankonaskiff17 Jun 25, 2023, 8:24 PM Jun 25, 2023, 8:05 PM

        @HotMacaroon Did you put both modules in same region, top_right?
        I have almost identical setup on an MM and if you put both in same region you should not run into that problem because they will position themselves properly as far as what you are trying to do.
        Is one in top_right and second in a different region?

        I have like 5 modules, all in top_left in my case.
        Also note these are in config.js NOT doing anything with CSS
        With CSS issues like @sdetweil has told me a 100 times, do that with developer tools and my experience is that there is a little trial & error in getting module CSS to look right because of different branded monitor/TV and different screen sizes.
        Two identical modules should drop with no need to tweak CSS on one and not the other.

        If you want a particular order, that is dependent on placement of module in the config.js file.
        Second picture all modules top_left

        top_left.jpg

        AllTopLeft.jpg

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