Will not fit close to wall because bracket has to slide over top screws causing shelf to slope downwards, would fit better with 2  screw holes  on each bracket. Also instead of tapered head on screws supplied I had to substitute flat head screws for 2 top screws.