Adapt css and code for header images