You can choose how many hours before a class the reminder email will send, for both online & in-person classes.
To do this click Settings > General Setup > Scroll to the bottom
Under 'Class reminder emails' choose the number of hours for Online and In-Person classes. Save changes when done.