WXforum.net
May 18, 2013, 10:41:48 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6608  •  Posts: 178111  •  Topics: 18094
Please welcome TargY, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Left menu bar  (Read 413 times)
0 Members and 1 Guest are viewing this topic.
Moose Whisperer
Senior Contributor
****
Offline Offline

Posts: 210



WWW
« on: April 28, 2012, 08:30:34 PM »

Is there any way to turn off the left menu bar completely if I wanted to add my own navigation system? I see how to turn off the flyout menu, but is there a switch to easily turn of the left bar as well?

Thanks
Logged

saratogaWX
Administrator
Forecaster
*****
Offline Offline

Posts: 3729


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #1 on: April 28, 2012, 09:46:40 PM »

Sure, with CSS.

Change the CSS
Code:
.leftSideBar {
  width: 9.5em;
  float: left;
  clear: left;
  display: none;
}

and for the #main-copy and #main-copy-dark CSS, change the margin to
Code:
  margin: .1em 0 0 0.1em;
and the left sidebar will hide entirely and the main display area will fill the page.

Best regards,
Ken
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
Moose Whisperer
Senior Contributor
****
Offline Offline

Posts: 210



WWW
« Reply #2 on: April 28, 2012, 09:53:33 PM »

Awesome!

Thanks Ken

BTW, what does the "em" stand for?

-Derek
Logged

saratogaWX
Administrator
Forecaster
*****
Offline Offline

Posts: 3729


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #3 on: April 28, 2012, 10:37:59 PM »

It's a typographical measure (from printer's days).

Dashes came in two widths .. a narrow one (en dash) the width of a 'n' (or 'N') and a wider one (em dash) in the width of a 'm' (or 'M') character.

1em = width of one em dash.

Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.113 seconds with 18 queries.