Changing style reference from id to class