WP-1965: add page events class and adjust styling.