Cold and allergy medicines like these can both cause drowsiness, so spacing them well apart, the way you have, is a sensible precaution rather than a problem. A gap of several hours between them is generally fine and not something to worry about on its own.
Next Steps
If congestion and the cold aren't easing in another 2 to 3 days, or you notice ongoing drowsiness, a dry mouth or a racing heartbeat, please see your doctor to review the combination.
Health Tips
Avoid driving or other alert tasks if either medicine leaves you drowsy.