colour changes for detail pages