How to put scroll bar only for modal-body?

I have the following element: <div class=”modal” tabindex=”-1″ role=”dialog” aria-labelledby=”myModalLabel” aria-hidden=”true”> <div class=”modal-dialog” style=”overflow-y: scroll; max-height:85%; margin-top: 50px; margin-bottom:50px;” > <div class=”modal-content”> <div class=”modal-header”> <h3 class=”modal-title”></h3> </div> <div class=”modal-body”></div> <div class=”modal-footer”></div> </div> </div> </div> It shows modal dialog something like this, basically, it puts scroll bar around entire modal-dialog and not modal-body that contains the … Read more

Bigger Glyphicons

How do I make bigger Glyphicons in twitter bootstrap 3.0 (not 2.3.x). This code will make my glyphicons big: <button type=”button” class=”btn btn-default btn-lg”> <span class=”glyphicon glyphicon-th-list”> </span> </button> How can I get this size without using the btn-lg class while using only a span ? This gives a small glyphicon: <span class=”glyphicon glyphicon-link”></span> 7 … Read more

Bootstrap 3 Navbar Collapse

Is there any way to increase the point at which the bootstrap 3 navbar collapses (i.e. so that it collapses into a drop down on portrait tablets)? These two were applicable to bootstrap 2 but not now! How to change navbar collapse threshold using Twitter bootstrap-responsive? Change the default responsive navbar breakpoint 12 Answers 12

Bootstrap js refuses to load

I’ve used a small javascript file to create an off canvas push navbar. I loaded the file as described in the Wordpres Codex: function sidebar () { wp_enqueue_script(‘theme-js’, get_stylesheet_directory_uri() . ‘/js/nav-sidebar.js’,array( ‘jquery’ ),$version,true ); } add_action(‘wp_enqueue_scripts’, ‘sidebar’); However, it seems that the only js that is loaded is the nav-sidebar and the bootstrap.js refuses to … Read more

How to properly add Bootstrap and JQuery Javascripts?

I am developing my WordPress theme using Material Bootstrap Design (MDB), a Material variant that uses Bootstrap 4 plus its own code. It calls for using the following scripts… <!– JQuery –> <script type=”text/javascript” src=”https://wordpress.stackexchange.com/wp-content/themes/blankslate/mdb/js/jquery-2.2.3.min.js”></script> <!– Bootstrap tooltips –> <script type=”text/javascript” src=”/wp-content/themes/blankslate/mdb/js/tether.min.js”></script> <!– Bootstrap core JavaScript –> <script type=”text/javascript” src=”/wp-content/themes/blankslate/mdb/js/bootstrap.min.js”></script> <!– MDB core JavaScript –> … Read more