Author Topic: Wxastronomy Script with Sidebar  (Read 765 times)

0 Members and 1 Guest are viewing this topic.

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4745
    • WV Waterfalls
Wxastronomy Script with Sidebar
« on: July 12, 2015, 04:13:40 PM »
My wxastronomy page has the script itself extending into my left sidebar. At first, I thought it was just the size of the images (Earth, moon, etc.), so I resized them accordingly. Now, everything DOES fit, but I still cannot figure out how to get the black background to fix as well. Any ideas on what needs to be fixed?


Joe Fitzwater
Chief Meteorologist for WVNS-TV 59 in Beckley, WV

Work Page on Facebook -> www.facebook.com/meteojoe
Work Page on Twitter -> https://twitter.com/meteojoe
Waterfalls -> www.wvfalls.com

Offline jmcmurry

  • Jim McMurry
  • Forecaster
  • *****
  • Posts: 528
  • Davis Vantage Pro 2 Plus Wireless.
    • Juneau County Weather
Re: Wxastronomy Script with Sidebar
« Reply #1 on: July 12, 2015, 04:51:20 PM »
I think the sidebar needs to be wider so that it extends as far as its text.

- Jim

Forum Search and Google Can be Your Best Friends

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Wxastronomy Script with Sidebar
« Reply #2 on: July 12, 2015, 05:09:23 PM »
In your wxastronomy.php in the head section insert:
Code: [Select]
<style>
#main-copy-dark {
  margin: .1em 0 0 11.5em!important;
}
</style>
I think it should help
« Last Edit: July 12, 2015, 05:12:45 PM by Jachym »

Offline Farmtalk

  • Fitzweather
  • Forecaster
  • *****
  • Posts: 4745
    • WV Waterfalls
Re: Wxastronomy Script with Sidebar
« Reply #3 on: July 12, 2015, 05:30:32 PM »
That fixed it! Thank you Jachym! I appreciate it! I hadn't had any other issues with scripts than that one. I had to format the tables and sizes of a few, but that one was giving me trouble. Thanks again! And also, thanks Jim for the idea, I had to do that for a couple of other scripts.  8-)
Joe Fitzwater
Chief Meteorologist for WVNS-TV 59 in Beckley, WV

Work Page on Facebook -> www.facebook.com/meteojoe
Work Page on Twitter -> https://twitter.com/meteojoe
Waterfalls -> www.wvfalls.com

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Wxastronomy Script with Sidebar
« Reply #4 on: July 12, 2015, 05:31:13 PM »
No problem, Im glad I could help, if you have any other issues feel free to post them here :-)

 

anything