updates styles on index and location pages