[web2py] Re: Bootstrap's nav-collapse

2013-10-26 Thread Annet
Hi Paolo, Thanks for your reply. I used the first solution the solve the problem right away. And I am working on the second solution to replace the first with. Kind regards, Annet -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (So

[web2py] Re: Bootstrap's nav-collapse

2013-10-24 Thread Paolo Caruccio
In order to clarify my previous post if you replace the line 83 in layout.html with and remove inline css style from line 76, the nav will collapse normally also on desktop. Said that, in order to generate dinamically a menu I would do in this way (pseudo code to explain a conceptual idea):

[web2py] Re: Bootstrap's nav-collapse

2013-10-24 Thread Annet
Hi Paolo, Thanks for you reply. At the moment I am not using Web2py's menu helper. My menu's are retrieved from a database and I have been struggling to get them into the right structure: I have a table nav which contains all menu items and a table nodenav which combines nodes with navs, when

[web2py] Re: Bootstrap's nav-collapse

2013-10-24 Thread Paolo Caruccio
If you are using the layout.html that comes with web2py, please pay attention that the normal collapsing behaviour of bootstrap is bypassed: the collapsed menu is only on mobile devices not on PC. So, if it's the case, please check https://github.com/web2py/web2py/blob/master/applications/welco

[web2py] Re: Bootstrap's nav-collapse

2013-10-24 Thread Annet
Thanks for your reply. What exactly is the problem? Does the downloaded bootstrap behave > differently than you expect it to? > In the views with a maximum width of 658px and 760px I added this to the layout extending the outer layout. {{if width:}} .container {max-width: 760px;} {{else

[web2py] Re: Bootstrap's nav-collapse

2013-10-24 Thread LightDot
What exactly is the problem? Does the downloaded bootstrap behave differently than you expect it to? The bootstrap-responsive.min.css file is missing simply because the customized version includes everything in the basic .css file, it's not an error. Regards On Thursday, October 24, 2013 10:5