Update the template file

add new conditions for IE, removed .page {} and used grid