improve CSS design of custom header elements