Merge header and bg