NetTalk Central

Author Topic: NT5-->NT6: Appearance menu changed  (Read 4163 times)

Koen Tjoa

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • Email
NT5-->NT6: Appearance menu changed
« on: December 15, 2011, 04:19:08 AM »

Hi All,

I converted my application from NT5 to NT6. The appearance of the header and the menu (double-drop) is changed a bit. The characters in the header are smaller and the menu is missing its border. As far as I can see the CSS files have been changed a bit:

  • Smaller characters: In NT5 the class .nt-site-header (styles\netweb.css) has a property font-size: 3em; which is missing the NT6 version of the file. I guess we are supposed to use <h1> or something like that now.

  • Missing border in menu. The class .nt-menu-div (styles\jquery-nt-menu.css) has a also changed.
    • The property border: 0 solid #CCCCCC; is changed to border: 1px solid #CCCCCC;
    • And margin-bottom: 0.5em; is changed to margin: 4px;
    These two changes make of course that there is no border anymore around the menu. Is there any special reason why this is changed what I am overseeing? Or if it is just a matter of taste? In case of the latter, is there a way to get that border back with the available classes? (The menu is placed outside the header-div).  I tried the setting Include CSS from NetTalk 4, but that didn’t make a difference.

Cheers,
Koen

Skip Williams

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
    • Email
Re: NT5-->NT6: Appearance menu changed
« Reply #1 on: December 15, 2011, 04:33:11 AM »
Hi Koen,

Headers changed somewhat in NT6. Bruce did a writeup on what changed at http://www.capesoft.com/docs/NetTalk6/NetWebHeader.htm

Skip

Koen Tjoa

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • Email
Re: NT5-->NT6: Appearance menu changed
« Reply #2 on: December 15, 2011, 09:41:08 AM »
Hi Skip,

I have read that and followed the instructions, but unfortunate there are some changes in the CSS files I didn’t expect. I tried what would happen if the option Include CSS from NetTalk 4 is ticked, but that makes no difference. Maybe I have to accept that the border around the menu is considered old-fashioned.  But the way the menu buttons placed now, makes them a bit floating. But the way the menu buttons placed now, makes them a bit floating.

Regards,
Koen

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NT5-->NT6: Appearance menu changed
« Reply #3 on: December 15, 2011, 09:30:53 PM »
Hi Koen,

you most certainly don't have to accept anything. The CSS that ships is just a default - you have complete control over what the end result looks like.

If you have followed the suggestions I wrote about in the upgrade doc, and you're not happy with the results, then you're free to add any css you like to it. I've noticed a reluctance of some people to dabble in CSS, which surprises me somewhat because it's so trivial to do.  If you haven't yet, watch the webinar on CSS - and start from there. And if you're not sure you can always post a screen-shot here to ask for help.

cheers
Bruce
 

Koen Tjoa

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • Email
Re: NT5-->NT6: Appearance menu changed
« Reply #4 on: December 16, 2011, 06:51:37 AM »
Hi Bruce,

Thanks, creating my own CSS files won’t be a problem.

Cheers,
Koen