show grid column at center when only one in bootstrap code example Example: .col-12 bootstrap .col-12{ flex: 0 0 100%; max-width: 100%; }