Author Topic: Extremes Script question....  (Read 918 times)

0 Members and 1 Guest are viewing this topic.

Offline KPWeather

  • Member
  • *
  • Posts: 3
Extremes Script question....
« on: November 30, 2024, 04:18:17 AM »
In the process of adding more pages to my site and the extremes script caught my eye. I managed to get it up and running but was wondering if its possible to resize it to more nicely fit within the template instead of at the bottom of the page? You can see the page here:  http://kpweather.net/wxextremes.php

Any help would be greatly appreciated!

Bobby
« Last Edit: November 30, 2024, 04:20:11 AM by KPWeather »

Offline K6GKM

  • CamWX.com
  • Contributor
  • ***
  • Posts: 140
    • CamWX
Re: Extremes Script question....
« Reply #1 on: December 01, 2024, 03:24:57 PM »
Hi Bobby! 

It looks like you're missing the main-copy <div> container for your extremes code.

In your wxextremes.php file, try adding <div id="main-copy"> right below the include("menubar.php"); like so:

Code: [Select]
<?php
############################################################################
include("header.php");
############################################################################
include("menubar.php");
############################################################################
?>


<div id="main-copy">

<!-- Weather Extremes Script Version 0.9.3 -->

And insert a </div>
right above the include footer statement like so:

Code: [Select]
</div><!-- end main-copy -->

<?php
############################################################################
include("footer.php");
############################################################################
# End of Page
############################################################################
?>

I think that might clear up your issue.

Cheers!
« Last Edit: December 01, 2024, 10:38:32 PM by K6GKM »
Grant Miles
Camarillo, CA, USA
Owner/Admin - CamWX.com
SKYWARN Spotter
Station Hardware: Davis Vantage Pro2 Plus w/ 24hr FARS
Station Software: Weather Display, Weather Message, FWI Calculator, StartWatch, with social media & messaging automation using Make.com, Twilio, and Brevo.