fit the template to the bootstrap style