Could you please also replace h:panelGrid by <div class="row"> + <div class="col-md-xx"> ?