NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Fligg on February 27, 2012, 12:55:22 PM

Title: Change width of accordian menu
Post by: John Fligg on February 27, 2012, 12:55:22 PM
In the CSS classes for the accordian menu, the item Menu is:

' nt-menuleft nt-width-150px'

Changing to 100 or 200 is fine but try -175px as the width and the menu becomes full width. Investigation reveals that the width must be a factor of 50. Why is that?

John
Title: Re: Change width of accordian menu
Post by: bruce2 on February 27, 2012, 08:26:17 PM
nt-width-150px
Is a pre defined CSS class in the netweb.css file.
nt-width-175px
Is not.

You can create a class of your own if you like with any width you prefer.
Title: Re: Change width of accordian menu
Post by: John Fligg on February 28, 2012, 12:22:54 AM
OK thanks Bruce. So what do I do to ensure whatever I add is not overwritten on the next update?

I am sure it's obvious but just need a starter.

Thanks

John
Title: Re: Change width of accordian menu
Post by: Bruce on February 28, 2012, 12:29:33 AM
setting up your own Css file is covered in the book, and also in my webinar on Css. I recommend reviewing both - especially the webinar - as getting this right is key to you doing your own Css - and that's something you'll _really_ want to be able to do.

cheers
Bruce
Title: Re: Change width of accordian menu
Post by: John Fligg on February 28, 2012, 12:43:57 AM
Thanks Bruce - sort opf thought that's where I was heading <g>

John