NetTalk Central

Author Topic: Change width of accordian menu  (Read 3539 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Change width of accordian menu
« 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

bruce2

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Email
Re: Change width of accordian menu
« Reply #1 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.

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Change width of accordian menu
« Reply #2 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Change width of accordian menu
« Reply #3 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

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Change width of accordian menu
« Reply #4 on: February 28, 2012, 12:43:57 AM »
Thanks Bruce - sort opf thought that's where I was heading <g>

John