Hi, again...
I'm using a bootstrap modal on this page, at the very bottom, just above the footer:
It's the purple link that reads "click here to read the terms and conditions"
What do I need to do in order to make this modal "scrollable" so reader can review the whole text???
Thanks
Making A Bootstrap Modal Scrollable
Started by
Beny Schonfeld
, Oct 24 2012 01:33 PM
bootstrap modal scroll
5 replies to this topic
#1
Posted 24 October 2012 - 01:33 PM
#2
Posted 24 October 2012 - 03:03 PM
Another customer asked this previously and based on the developer's insight, it's not possible to add a modal that is scrollable. If there is so much content being added to a modal that a scrollbar is required, the content should just be added to the page content area instead.
#3
Posted 24 October 2012 - 04:08 PM
I see. OK... I think I can achieve the same thing (allowing people to read the terms and conditions without leaving the page) by using the accordion shortcode
Thanks!
Thanks!
#4
Posted 24 October 2012 - 04:47 PM
You're welcome
#5
Posted 24 October 2012 - 04:47 PM
The topic was marked as resolved.
#6
Posted 28 October 2012 - 03:48 PM
It is very much possible to make the modal scrollable!
All you need to do is to set a max-height on the .modal-body class. This will cause the scrolling to happen whenever the content is larger than the modal's body area. A max-height of 500px would be a good starting point but you can adjust that to whatever works best for you.
If you don't want to set the max-height on every modal on your site, you can specify the html id of your modal by using the shortcode's hash attribute like so:
This will create a modal with an html id of "modal_browns".
In summary:
All you need to do is to set a max-height on the .modal-body class. This will cause the scrolling to happen whenever the content is larger than the modal's body area. A max-height of 500px would be a good starting point but you can adjust that to whatever works best for you.
If you don't want to set the max-height on every modal on your site, you can specify the html id of your modal by using the shortcode's hash attribute like so:
This will create a modal with an html id of "modal_browns".
In summary:
Also tagged with one or more of these keywords: Resolved, bootstrap, modal, scroll
PageLines Framework →
Technical Support →
BootStrap tabbable tabs-left class rendered incorrectlyStarted by hkust_itsc , 13 Jun 2013 |
|
|
||
PageLines Framework →
Technical Support →
Modal covered by backdropStarted by idealpractice , 12 Jun 2013 |
|
|
||
Collapse content with BootstrapStarted by catpage , 11 Jun 2013 |
|
|
||
PageLines Framework →
Customizations →
twin shot dragger (scroll bar) too thin. want to increase its widthStarted by pazyluz , 30 May 2013 |
|
|
||
Modal Not Working - Section OrderingStarted by eglashcreative , 20 May 2013 |
|
|










