Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

narrow the web page

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
muppet77
Posts: 90
Joined: Wed 30 Dec 2009 6:45 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Berks, UK

Re: narrow the web page

Post by muppet77 »

Sorry I don't fully follow the iframe post.

Where should I type <space> ?
muppet77
Posts: 90
Joined: Wed 30 Dec 2009 6:45 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Berks, UK

Re: narrow the web page

Post by muppet77 »

so for example on the page not on the school website,

http://www.maidenerleghweather.com/cumulus/index.htm

which links do i need to space out?

In the template file for index.htm?
which bit please?
Do i open it in Notepad and change....?

Sorry, i really am a html rookie, hence my use of basic php.
muppet77
Posts: 90
Joined: Wed 30 Dec 2009 6:45 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Berks, UK

Re: narrow the web page

Post by muppet77 »

here's a test. http://www.maidenerleghweather.com/test.htm

i added spaces but the table doesn't look narrower??
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: narrow the web page

Post by water01 »

You have set up a test page but failed to copy the standard webfiles into the same place, hence you are getting 404 error message (missing files) on weatherstyle.css (needed to set the included style) and /images directory (specifically the moon phase image).

So it is not a valid test because these elements are missing.
David
Image
muppet77
Posts: 90
Joined: Wed 30 Dec 2009 6:45 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Berks, UK

Re: narrow the web page

Post by muppet77 »

Ok. Thanks. Proper test in a few mins......
muppet77
Posts: 90
Joined: Wed 30 Dec 2009 6:45 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Berks, UK

Re: narrow the web page

Post by muppet77 »

water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: narrow the web page

Post by water01 »

As Steve said in his first post, kepp increasing the left and right margins in weatherstyle.css.

Code: Select all

#content {
	margin-top: 5%;
	margin-right: 20%;
	margin-bottom: 5%;
	margin-left: 20%;
}
Try 25% and gradually increase it but you are going to eventually get data from one field running into another making it illegible.
David
Image
muppet77
Posts: 90
Joined: Wed 30 Dec 2009 6:45 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Berks, UK

Re: narrow the web page

Post by muppet77 »

water01 wrote:As Steve said in his first post, kepp increasing the left and right margins in weatherstyle.css.

Code: Select all

#content {
	margin-top: 5%;
	margin-right: 20%;
	margin-bottom: 5%;
	margin-left: 20%;
}
Try 25% and gradually increase it but you are going to eventually get data from one field running into another making it illegible.
this is #content {
margin-top: 5%;
margin-right: 50%;
margin-bottom: 5%;
margin-left: 50%;
}

i do a local web update and then upload the file http://www.maidenerleghweather.com/cumulus/test4.htm
can't see any change at all?
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: narrow the web page

Post by water01 »

But you haven't uploaded your altered weatherstyle.css file because the one on the site is still reading

Code: Select all

#content {
	margin-top: 5%;
	margin-right: 20%;
	margin-bottom: 5%;
	margin-left: 20%;
}
For a style file to be used it must also be uploaded to your server as the style is used when the page is downloaded to you. It is no good changing it locally and expecting your page to alter if you do not upload it.
David
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: narrow the web page

Post by beteljuice »

muppet77 wrote:Sorry I don't fully follow the iframe post.
The school site has:

Code: Select all

<iframe src="http://www.maidenerleghweather.com/cumulus/home.php" width="100%" height="400"></iframe>
This opens a 'window' 400px deep containing ..../home.php defaulting at position 0px 0px

However .... ...../home.php has

Code: Select all

<iframe src="http://www.maidenerleghweather.com/cumulus/index.htm" target="_blank" scrolling="no" style="height: 700px; border: 0px none; width: 930px; margin-top: -60px; margin-left: -188px; ">
</iframe>
This in turn opens a 'window' which contains the 'normal' Cumulus index page but you have instructed the contents to be 930px wide, so that you could fiddle the 60px down from the top and 188px in.
An interesting solution :?
muppet77 wrote:Where should I type <space> ?
the beteljuice wrote:There needs to be a space between :: making them link: :link

This of course would need to be modified on all your Template pages.
Image
......................Imagine, what you will KNOW tomorrow !
muppet77
Posts: 90
Joined: Wed 30 Dec 2009 6:45 pm
Weather Station: Vantage Vue
Operating System: Windows 7
Location: Berks, UK

Re: narrow the web page

Post by muppet77 »

Thank you so much everyone.

I have changed the iframe width to get rid of the scroll bars on the schools page.

I cannot get access to indexT until back in work but I have tested a dummy version at home and deleted a couple of the links rather than space them out (I don't use them as I have my own).

The result on the page is perfect! Width is narrowed and the scrolls have gone.

Will access the template on Monday.

Thank you!
Post Reply