Apply background and navbar styles