Author Topic: Weather Sunset - Adding additional buttons to top menu bar  (Read 5883 times)

Offline honestjohn

  • Jr. Member
  • **
  • Posts: 23
    • Rushden (Northants) Weather Station
Weather Sunset - Adding additional buttons to top menu bar
« on: December 28, 2013, 09:05:08 AM »
Hi Jacques,

I wish to add a couple of additional buttons next to "Gauges", "Satellite" etc.

I have added the required lines in index.php but this throws all of the page spacing out.

I have read on the forum, that the style.css has to be altered "padding"?

Can you please direct me to the line number to allow me to adjust, which will then allow my additional buttons to be added.

Many thanks

John

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Sunset - Adding additional buttons to top menu bar
« Reply #1 on: December 28, 2013, 02:30:35 PM »
Hi John,

To add some more item in your main menu, you will have to work
quite a bit! You have to "shrink" your buttons (top_menu_on.png... and off)
and use smaller text, so font-size and width in the .css file need some try!

Check sections #top_menu a:hover and #top_menu a

Hope this help!

Regards,
Jacques
Please, consider supporting this site 

Offline honestjohn

  • Jr. Member
  • **
  • Posts: 23
    • Rushden (Northants) Weather Station
Re: Weather Sunset - Adding additional buttons to top menu bar
« Reply #2 on: December 28, 2013, 02:50:04 PM »
Hi Jacques,

Many thanks for your prompt reply.

I have followed your instructions and have managed to add two new buttons with ease.

I wish you well for the New Year.

Regards

John