• 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.

MMM-OpenWeatherForecast... CSS

Scheduled Pinned Locked Moved Custom CSS
8 Posts 2 Posters 444 Views 2 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.
  • B Offline
    BKeyport Module Developer
    last edited by Mar 15, 2025, 12:14 AM

    I wanna move the wind icon to the right of it’s cell… How to do this?

    1b0c3d86-fdff-4ef4-9900-66a26b084d2b-image.png

    Custom CSS at present:

    /* Weather Alerts */
    
    .MMM-OpenWeatherForecast .weather-alert {
      display: none;
    }
    
    .MMM-OpenWeatherForecast .weather-alert .weather-alert-title {
      display: none;
    }
    .MMM-OpenWeatherForecast .weather-alert .weather-alert-description {
      display: none;
    }
    
    .MMM-OpenWeatherForecast .weather-alert .weather-alert-source {
      display: none;
    }
    
    .MMM-OpenWeatherForecast .module-content {
      width: 620px;
    }
    
    
    .MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .time,
    .MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .day-name {
      font-size: unset;
      
    }
    
    .MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item > *,
    .MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item > * {
      font-size: unset;
    }
    
    .MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .temperature,
    .MMM-OpenWeatherForecast .wrapper.tiled .forecast-container .forecast-item .temperature-container {
      font-size: unset;
    }
    
    .MMM-OpenWeatherForecast .wrapper.table .forecast-container {
      font-size: unset;
    }
    
    .MMM-OpenWeatherForecast .wrapper.table .forecast-container .forecast-item > span,
    .MMM-OpenWeatherForecast .wrapper.table .forecast-container .header-row > span {
      font-size: unset;
    }
    
    .MMM-OpenWeatherForecast .wrapper.table .forecast-container .header-row > span {
      font-size: unset;
    }
    

    The "E" in "Javascript" stands for "Easy"

    S 1 Reply Last reply Mar 15, 2025, 12:28 AM Reply Quote 0
    • S Away
      sdetweil @BKeyport
      last edited by sdetweil Mar 15, 2025, 2:21 AM Mar 15, 2025, 12:28 AM

      @BKeyport see the second link in my signature below
      And google search
      Move icon to the right on web page

      The second will give you styles to try
      The first will give you the tool to test with

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Mar 15, 2025, 2:40 AM Reply Quote 0
      • B Offline
        BKeyport Module Developer @sdetweil
        last edited by Mar 15, 2025, 2:40 AM

        @sdetweil I’ve tried everything I could think of, and can’t get it to translate to custom CSS.

        The "E" in "Javascript" stands for "Easy"

        S 1 Reply Last reply Mar 15, 2025, 2:59 AM Reply Quote 1
        • S Away
          sdetweil @BKeyport
          last edited by sdetweil Mar 15, 2025, 3:01 AM Mar 15, 2025, 2:59 AM

          @BKeyport if you can do it in the dev window just copy paste and add the module name prefix.

          I don’t use that module

          Use the dev window , select the element, maybe element parent right-justify

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Mar 15, 2025, 3:05 AM Reply Quote 0
          • S Away
            sdetweil @sdetweil
            last edited by Mar 15, 2025, 3:05 AM

            @BKeyport care to share config without api key

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Mar 15, 2025, 4:13 AM Reply Quote 0
            • S Away
              sdetweil @sdetweil
              last edited by sdetweil Mar 15, 2025, 1:33 PM Mar 15, 2025, 4:13 AM

              @BKeyport
              using the default everything config

              google search result
              https://stackoverflow.com/questions/56289240/how-to-move-the-icon-to-the-right-end

              and with

              .MMM-OpenWeatherForecast .wind-header {
                 float;right;
              }
              

              Snip20250314_12.png

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              B 1 Reply Last reply Mar 15, 2025, 7:35 AM Reply Quote 0
              • B Offline
                BKeyport Module Developer @sdetweil
                last edited by Mar 15, 2025, 7:35 AM

                @sdetweil odd - I tried that before and it didn’t work. Now it does.

                CSS man.

                Thanks.

                The "E" in "Javascript" stands for "Easy"

                S 1 Reply Last reply Mar 15, 2025, 12:57 PM Reply Quote 0
                • S Away
                  sdetweil @BKeyport
                  last edited by Mar 15, 2025, 12:57 PM

                  @BKeyport not me. I just tried what Google search results suggested

                  Key item the style was on the span, not the img

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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