Actually you should have the light functioning properly.
Light fixture red black and white wires ceiling light.
Black wires always signify the positive or hot leg of the current while white wires signify negative also called neutral or return.
Moreover sometimes this wire can come directly from the main circuit breaker in order to always be on.
Some sheathed cable includes a fourth red wire which makes it useful for wiring fixtures with three way switches or a ceiling fan with separate light and fan switches.
The black wire goes to the bundle of black wires.
Connect the white wires together and connect all grounds.
Ceiling fixtures almost always have a black and white wire.
The red or striped wire is the hot wire for the lighting fixture of the ceiling fan so if your ceiling fan does not have a lighting fixture it will only have the three other wires mentioned in the following sections.
If you only have black wires in your box connect both the non white wires from the fan to the black wires in the box.
Light fixtures with more than one lamp may have a pair of black and white wires for each lamp.
Turn power back on and then flip the switch and duck.
This wire is always on so make sure that there is no current when.
The white wires on the fan go to the bundle of white wires.
When there is an extra hot wire it is red.
These connect to the black and white wires in the electrical box with the provided larger wire nuts.
Connect the black wire from the switch to the black wire from the fixture.
Sheathed cable with a red.
The fixture contains only black and white.
Ground wires are either left bare or covered with green insulation.
The black wire is the main hot wire which generally comes from the main circuit breaker.
Connect the red in the ceiling to the black wire from the power source.
Then the red wire in your box goes to the non white wire on your ceiling fan which is often blue.
The switch it is connected to is a dimmer switch with an on off button as well as a dimmer slider.