Header styling and positions detection