I have 11 hens and 1 rooster, yesterday my white leghorn laid the first egg I've ever gotten. She laid it in a corner of the coop by the roosts and not in the nesting boxes. My coop is a little bit crowded so I put my nesting boxes in my covered run. However, she ignored the boxes and went right into the coop to lay. I am trying to teach her to use the nesting boxes but I am not sure if my methods are effective or even harmful. I let my flock free range virtually every single day and yesterday she returned to the coop to lay the egg. Today I am letting 8 of my 12 free range and I have 4, including the leghorn, locked up in the run and closed the door on the coop part. I have seen her hop up in the nesting boxes a couple times but she doesn't seem to lay.
Is this an effective way to get her to use the nesting boxes or does she need more privacy?
Could stress from being locked up cause her to not want to lay?
I might just be over thinking this, she went into the coop to lay around 10am yesterday and it's 12:30pm right now, so maybe her body hasn't created another egg yet? I am just unsure what to expect with egg laying. If I'm doing anything wrong or you have advice on how to make things better please let me know.
Here's the boxes I built, are they too low to the ground maybe?
Is this an effective way to get her to use the nesting boxes or does she need more privacy?
Could stress from being locked up cause her to not want to lay?
I might just be over thinking this, she went into the coop to lay around 10am yesterday and it's 12:30pm right now, so maybe her body hasn't created another egg yet? I am just unsure what to expect with egg laying. If I'm doing anything wrong or you have advice on how to make things better please let me know.

Here's the boxes I built, are they too low to the ground maybe?