Density fronts in the vicinity of a long ridge