Define media queries and add helper box to template.