Changing titles from ids to classes