The area ahead of a warm front is subject to prolonged continuous rain and the same air mass is pushed ahead of the front.   The reduction in visibility is caused by the very high relative humidity