Belchertown skin Index_hook_after_forecast.inc

77 views
Skip to first unread message

Stefan Gliessmann

unread,
Jul 23, 2024, 9:26:13 AM7/23/24
to weewx-user
I am trying to display an image next to the weather warn message from the dwd weewx extension.

However, this is what I get (above each other and not next to each other):
Screenshot 2024-07-23 at 15.23.17.png

This is the content of the inc file:

<br>

<div class="container">

  <div class="row">

    <div class="col">

      <a href="https://www.dwd.de/DWD/warnungen/warnstatus/SchilderHA.jpg"><img src="https://www.dwd.de/DWD/warnungen/warnstatus/SchilderHA.jpg" width="40%" height="40%"></a>

    </div>

    <div class="col">

      #include raw "dwd/warn-HI.inc"

    </div>

  </div>

</div>


Any hint would be highly appreciated!


TIA,

Stefan


Stefan Gliessmann

unread,
Jul 27, 2024, 12:06:30 PM7/27/24
to weewx-user
I solved it this way (after reading up on bootstrap):

<div class="row eq-stats-row">         

   <br>

   <!-- DWD Warnstatus -->

    <div class="row">

      <div class="col-md-6 col-sm-12 stn-quick-stats border-right">

       <div class="stats-title">

         <a href="https://www.dwd.de/DWD/warnungen/warnstatus/SchilderHA.jpg"><img src="https://www.dwd.de/DWD/warnungen/warnstatus/SchilderHA.jpg" width="150%" height="150%"></a>

        </div>

       </div>


      <div class="col-md-6 col-sm-12 stn-quick-stats border-left">

       <div class="stats-title">

         #include raw "dwd/warn-HI.inc"

       </div>

      </div>

    </div>

     <br>

</div>


Reply all
Reply to author
Forward
0 new messages