I would put the roosting bar high enough that they can walk underneath (about 2 feet up), but low enough they do not hit their heads on the ceiling (about 2 feet below the ceiling.)
As a general guideline, however high the roost is, it should be at least that far from one wall, so the chickens can fly down at an angle. So for the 8 foot dimension of your coop: if the roost is in the middle of the coop, it would be 4 feet from each wall, and should not be more than 4 feet high. If the roost is 6 feet from one wall and 2 feet from the other wall, it can be up to 6 feet high.
Chickens prefer to sleep as high as possible. So it is good to put the roost higher than the nests. Since your coop has a loft, if that is the highest place, they will probably prefer to sleep there. If the roost is higher than the loft they would prefer the roost.
Do think about how the roost height will work for you. Some people hate to trip over a knee-high roost, other people hate reaching overhead to catch chickens that are sitting on a high roost.
Leghorns do not need their roost to be high, and a low roost will not do them any harm, but they do seem to enjoy having it high and they can generally fly well enough that a high roost is not a problem. So you can probably just put it wherever seems good to you, without worrying about this particular breed having special needs.