So I wanted to replace a broken chandelier in my new house and after doing so with a simple flush mount light, it won't turn off despite what position the switch is in. I am sure I re-connected them the same way they were attached. But do note that there was this one extra white wire the was capped off and not being used. See the images as well.
And I don't think this would make any difference, but I'm also replacing the dimmer at the same time (from rotary knob to slider with toggle). I've read other threads such as this, but can't seem to figure it out. Thanks]1