added CSS classes to related products in post view