Add a class when a title has a subtitle