Rearrange header for card and add build header to markup.