Hooking up ceiling light
My daughter bought a new light fixture and asked me to hook it up. She took down the old one, so I'm not sure how it was connected.
The basic problem is that, when I hook up the new fixture, and throw the circuit breaker, the light comes on, and the wall switch does not turn it off. The wall switch is a dimmer.
Coming from the ceiling are two whites (connected), two blacks (also connected), and a red.
The light fixture has a green, a white, and a black. I hooked the green up to the ground, and have tried every combination of the back and white to the ceiling wires, that I can think of, but I either have no light or a light I cannot shut off (with the wall switch).
Any suggestions are appreciated.