Remodeling boxes have internal clamps for the wires.
Old bathroom light has several wires from wall.
If you are at the junction box that is in the wall where the old light fixture was then there should be only 2 wires that the old fixture was fastened to.
7 connect the wiring from the new light fixture to the wires leading from.
Coming out of the ceiling there are 2 cables and in each are a red black and yellow green cables 6 in total and the light that i have bought to go up there has access for a blue and a brown wire.
Cutting the hole accurately is critical so that the box ears have solid bearing on the plaster photo 4.
If all is safe remove one wire nut at a time separate the wires and screw the wire nut back on the wall side.
Light fixtures with more than one lamp may have a pair of black and white wires for each lamp.
Repeat these connections with the two white.
These connect to the black and white wires in the electrical box with the provided larger wire nuts.
Split off the small pieces of lath behind.
Remove any screws holding the light base to the wall.
There may also be small screws on the sides of the light holding it to the mounting plate.
How to troubleshoot a faulty wall switch.
Once the light is separated from the base check all wires for voltage.
Strip 1 2 inch of insulation from the black white and green wires on the new light fixture with a pair of wire strippers.
Twist all of the black wires from the light bar together with the black wire from the wall switch and connect the ends using a wire nut.
Connect the lead wires from the fixture to the black hot wire in the electrical box by twisting a wire connector to the ends of the lead and hot wires.
Push the old house wiring through these clamps and work them farther in as you insert the box into the wall.
Then connect all of the white wires together with a wire.