How to add a close button to Bootstrap Popover

Recently I had to build a ‘smart booking form’ for a group of hotels. The website is made on Twitter’s Bootstrap and is fully responsive.
Troubles began when I had to ask the guest for his children’s age, only if he’s telling the form he has children.

Here the Twitter Popover feature comes very handy: if the guest selects one or more children a popover will be shown.

Continue reading →

Bootstrap Navbar under WordPress

If you’re fallen in love with Twitter Bootstrap and WordPress as I am, you’ll probably need to develop a theme with both of them and one of the first issue you will find is to have the navbar integrated with the wordpress menu managing system.

There was a nice and candy walker, written by johnmegahan that makes the hard job done in like 2 minutes of googleing 🙂
Thank you John!

The limit was that it only support a double level menu. This means you can only make a dropdown, wich in BootStrap is not an anchor to a real page but only a toggler element for the openclose popup, with a list of one level.

Continue reading →