Whether your gap blocker will stop smells or not depends on what material it’s made out of. If the material is simple foam, then there’s a chance that it won't stop smells. Again, if there are multiple gaps on the sides of the door (other than the one below) then a blocker won’t work against odor.