CSS changes and pagination