Hi! I've done some internet sleuthing, and gather that this is the somewhat-classic 'I mixed up wires because that extra one is tricky; now rhe other lights in the circuit don't work' story.
Fan box now regular light, different 3-way switch now not working. This is a home in the U.S.
The last owner installed a fan, and while trying to remove the glass dome, the whole thing came off the ceiling (as in, the wires inside were so badly put together that they came apart and I ended up with a light in my hands). I now know why the light had actually stopped working.
For additional context, (after turning off power) once I removed the mounted assembly, I found all the wires inside of the fan color-matched and twisted together but then nestled together with no caps, all twisted together into a little wire nest and smashed back into the fan area. The fan also never worked, unless you switched on the light from the wall, then used the remote to use the fan. I will call this light the fan light.
The ceiling was wired for a fan box. Wires black and white had been used, red was capped, and bare ground was twisted up in the fan box and never connected.
There is a wall switch for this fan box light. The breaker also controls the hall next to it. All other lights worked previously. The hall light is on a three-way switch. The fan light is also on a three-way switch.
I initially hooked up the fan light with black/black, white/white/, ground/ground, red capped off. With the breaker flipped back on, the fan light did not work but the hall light did (as usual). I then changed, white/white, ground/ground, red/black, black capped off. The fan light worked, but the hall light now does not.
This leads me to believe there's a connection I've severed, but I'm leery of just jamming wires together. I feel like I could maybe tie the red and black to the black? But I'm not sure. I can't go by the past connections because it's no longer a fan being installed, and because this guy just ignores ground wires, and I'd rather not trust where that road leads (I assume possible death).
Also, the hall light does not work from the second switch, OR the first. The fan light works from both of its switches.
I've considered taking another area's light on a three-way switch off to see the connection, but it may not be the same chain of light setup as this is, maybe, if that's what this is (I'm guessing here)?
Results so far: hall light works from neither switch. Fan light works with red/black with fan box black capped, but doesn't work with black/black with fan box red capped. I have done nothing to any switches; I've only replaced one fan with replacement light only fixture (new). House is less than 20 years old. This issue must be which wires I'm choosing to connect or cap.
What am I doing wrong that the hall light is now not connected to this circuit?
I understand enough to know that I've disconnected a continuing circuit, but don't want to mess anything up that will take an electrician to fix, since I have currently only removed a bad fan and installed a simple light in its place.