Title: dropdown button
Last modified: August 22, 2016

---

# dropdown button

 *  [pisang20](https://wordpress.org/support/users/pisang20/)
 * (@pisang20)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/dropdown-button/)
 * Nice plugin. I’d like to make your button display dropdown menu. I made a button
   myself but I like your CSS better.
 * self made button:
 *     ```
       <div class="btn-group">
                   <button type="button" data-toggle="dropdown" class="btn btn-success dropdown-toggle">Lae ülesse</button>
                   <ul class="dropdown-menu">
                       <li><a href="#">Anekdoot</a></li>
                       <li><a href="#">Pilt</a></li>
                       <li><a href="#">Video</a></li>
                   </ul>
               </div>
       <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
       <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">
       <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
       <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
       ```
   
 * Thank you so much and merry xmas
    [https://wordpress.org/plugins/maxbuttons/](https://wordpress.org/plugins/maxbuttons/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [pisang20](https://wordpress.org/support/users/pisang20/)
 * (@pisang20)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/dropdown-button/#post-5594532)
 * I understand that i need to add this code somewhere in your plugin?:
 *     ```
       <ul class="dropdown-menu">
                       <li><a href="#">Anekdoot</a></li>
                       <li><a href="#">Pilt</a></li>
                       <li><a href="#">Video</a></li>
                   </ul>
               </div>
       ```
   
 *  Plugin Author [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * (@johnbhartley)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/dropdown-button/#post-5594586)
 * To start, you only need to link to one of those bootstrap stylesheets (preferably
   the .min version).
 * Because you are using Bootstrap to get the style and functionality of the dropdown(
   I’m assuming) it may take some adjustments. BUT, you could copy the button CSS
   and paste it into your CSS but swap out the selectors and classes to make it 
   specific to .btn-group .dropdown-toggle
 * Does that make sense? If not I can write a longer answer.
 *  Thread Starter [pisang20](https://wordpress.org/support/users/pisang20/)
 * (@pisang20)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/dropdown-button/#post-5594756)
 * somewhat understood but still not able to make the button dropdown and link menu
   items to modal box
 *  Plugin Author [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * (@johnbhartley)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/dropdown-button/#post-5594801)
 * You’ll have to write your own HTML for this I think and just use the maxbutton
   html just as it would be output if you were using the shortcode, then use the
   MaxButtons CSS. It’s a bit outside of the standard MaxButtons functionality which
   is the only reason I suggest it.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘dropdown button’ is closed to new replies.

 * ![](https://ps.w.org/maxbuttons/assets/icon-128x128.png?rev=1378636)
 * [MaxButtons - Create buttons](https://wordpress.org/plugins/maxbuttons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maxbuttons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maxbuttons/)
 * [Active Topics](https://wordpress.org/support/plugin/maxbuttons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maxbuttons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maxbuttons/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [johnbhartley](https://wordpress.org/support/users/johnbhartley/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/dropdown-button/#post-5594801)
 * Status: not resolved