Jump to content


Photo
- - - - -

Navbar - entries displaying outside menu


  • Please log in to reply
5 replies to this topic

#1 rztaylor

rztaylor

    Newbie

  • Members
  • 4 posts

Posted 17 July 2012 - 07:55 AM

I have a problem with the standard Nav bar - the entires in my submenu ("Libraries" > "config" > ...) are longer than the width of the menu and spill out over the page content, which looks terrible. I've tried it on both Chrome and IE and the results are the same I thought that the menu would be automatically sized to the content? Please can you advise on how I can fix it?

#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 16923 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 17 July 2012 - 08:33 AM

Hi, For some reason the underscore is causing the issue, if you remove the underscore the issue will be resolved. For example, instead of: FN_config_section_exists Change to: FN config section exists

#3 rztaylor

rztaylor

    Newbie

  • Members
  • 4 posts

Posted 18 July 2012 - 02:48 PM

Unfortunately I can't remove the underscores as these pages are documentation for code libraries - doing so would cause too much confusion! Any other suggestions on how this might be resolved?

#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 18 July 2012 - 06:21 PM

Your CSS has:

Please Login or Register to see this Hidden Content


Change it to:

Please Login or Register to see this Hidden Content


This will widen the grey area behind each child and grandchild... which will then layer. But it will work.

#5 rztaylor

rztaylor

    Newbie

  • Members
  • 4 posts

Posted 19 July 2012 - 09:12 AM

@rangelone - thanks for that!

I used the modified CSS shown below to only apply to grandchildren and it worked brilliantly. I placed it in "Global Settings > Custom Code > CSS Rules" to prevent it being overwritten by any framework updates.

Please Login or Register to see this Hidden Content



#6 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 19 July 2012 - 04:04 PM

Looking in Firefox at Libraries > Config.... it's still not quite wide enough. Try 21.