Fixes the style for pages