set caption background and size