If there is a gap underneath your fence, you will need to use filler material to remove the problem. For example, you can put chicken wire in the gap so that the fence opens and closes freely without the gap being exposed. You could also put wood blocks in the gap or even fill it in with cement.