A cold front occurs when a cold air mass advances into a region occupied by a warm air mass. If the boundary between the cold and warm air masses doesn't move, it is called a stationary front. This is due to the (usually) higher humidity in the air of warm fronts compared to that of cold fronts.
Hope this helps