Handle bootstrap grid in preprocess.