Title: Modal Menu Items
Last modified: August 20, 2016

---

# Modal Menu Items

 *  [Chaotik804](https://wordpress.org/support/users/chaotik804/)
 * (@chaotik804)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/modal-menu-items/)
 * Is there anyway to edit the code or a possible plugin to make menu items call
   to open a modal box instead of pointing to a page or external link? I was wondering
   because I do not see much need to have a separate page for contacting me but 
   I also do not have the room to place it within my widgets.

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

 *  [simplistik](https://wordpress.org/support/users/simplistik/)
 * (@simplistik)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/modal-menu-items/#post-2194942)
 * Yea, if you’re using wp_nav_menu() you should be able to control the nav output
   by going to Appearance > Menus in the admin. When you get to the Menus page in
   the upper right corner click “Screen Options” then check the “CSS Classes” checkbox,
   which will allow you to assign classes to your menu items. Do something like 
   give all the ones you want to pop up in a modal a similar class, e.g. modal.
 * Get your favorite javascript library, I prefer jQuery and then snag some simple
   lightbox/modal plugin, [Colorbox](http://colorpowered.com/colorbox/) is a super
   solid one, then target the modal objects with your JS, sorta like this:
 *     ```
       $(".modal a").colorbox({iframe:true, innerWidth:425, innerHeight:344});
       ```
   
 *  Thread Starter [Chaotik804](https://wordpress.org/support/users/chaotik804/)
 * (@chaotik804)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/modal-menu-items/#post-2195130)
 * Thanks for the reply, I will see what I can do, CSS scares me, lol

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

The topic ‘Modal Menu Items’ is closed to new replies.

## Tags

 * [window](https://wordpress.org/support/topic-tag/window/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Chaotik804](https://wordpress.org/support/users/chaotik804/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/modal-menu-items/#post-2195130)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
