Take a look at this link, which will help you add the class for custom post types: https://gist.github.com/gerbenvandijk/5253921
Take a look at this link, which will help you add the class for custom post types: https://gist.github.com/gerbenvandijk/5253921