Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

docgerrard

macrumors 6502
Original poster
Jul 21, 2011
257
0
A lot of weather widgets I have downloaded include files to change the weather, clearly labeled as userconfig.js or something like that.

But some weather widgets i download don't have any file like that. how do i edit those??

thanks all!
 
Image

SSh into Library/Themes and activate in Winterboard

To Change location for your weather
Edit Wallpaper.html open using a Text app I recommend Text Wrangler
Scroll down to

<head><title>weather</title></head>
var locale = "UKXX0085"

Remove my code and replace with your code or Zip

Following down you can change Celsius to Fahrenheit by replacing the word
false to true

You do not need to edit anything else using the Wallpaper.html

If you wish to add your city/weather icon and forcast

Go to Private/Stylesheets

So say you wanted your City to show on your Homescreen

Edit the following in mini.css
#city{ /* Weather City Position */

position: absolute; top: 70px; right: 0px; down: 0px; left: 27px; width: 320px; height: 461px;

display: normal;

Place // infront of display:normal;

So it looks like this
//display: normal;

To Move the city to where you want it
position: absolute; top: 70px; right: 0px;

increase or decrease numbers

Save Respring and replace file to Theme

Editing and Moving Widget

If you want to move widget to the Top of SpringBoard

Edit Widget html

Scroll to the bottom

<body background="Private/Wallpaper.png" style="font-family:Arial;" onload="doLoad()">
<table style="position: absolute; top: 30px; left: -50px;" width="320" height="480" cellspacing="0px" cellpadding="0px" border="0px">
<td height="480px" colspan="5" style="vertical-align:center; background-image:url(Private/Overlay.png);">
<center>

To have the widget at the Top change
top: 30px; to -245px

To Edit Clock/Month days/no Year (Colour/font/size)
Edit stile.css

The Download includes Widget/Wallpaper and wifi sig
http://www.box.net/shared/717jpfvluq

Enjoy :)

I hope this helps some of you


according to this post in another topic, i have to edit the wallpaper.html file

the only problem is, i right click and edit with text editor and there is nothing there to edit :confused::confused:
 
Each widget/theme may be different. There is sometimes insturctions in there as well that will point you in the right direction. Which one are you looking to edit?
 
I have no idea what file it might be though lol

I have seen a few weather themes like that too. none of which seem to have nay file that i can edit
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.