Make title use css class