adjust font size and title margin