I asked a question earlier today here because I took down an old wall-mounted light fixture in my bathroom above the vanity, and was going to replace it with a new fixture. Unfortunately there's no junction box, and the answers from my question above told me I need one.
I bought a pancake box that I can attach to a stud, but the problem I'm facing now is that the stud is 1.5" off center. So if I mount the box to the stud, my fixture is going to be off center... Picture of the situation below, the stud is about 1.5" left of the center of the hole. If it helps, the light fixture has a circular base.
Any ideas what I can do?
Here's a picture of the fixture aligned to the stud (where I would be putting in a pancake box). But as it is, for the fixture to be centered, it would need to move 1.5" to the right.