Theme logic for placement and style of search box