I don´t really know the answer but im going to suppose.
First of all these stills a problems for so much people because if there is no a logical explanation of god, we can´t know where it is, or how to communicate with god thats why I think there are so much people that don´t belive in god.
But for believers in Middle Ages I think there are not so much options because the church is an institution that in those times completely ruled, almost all the people were believers of the Catholic church. The church is in charge to give some doctrins for make people believe and don´t do things that wont benefit them. They explained that god is everywhere (not phisically, but spiritually), but if you are in god´s side (the side that the church lead you to) you will reach all the good things and go to heaven, the kingdom of god, eden, etc. As there is of explanation of god and it could be very difficult to communicate with god because you can´t see him, so the way of communication, the languge with god will be always spiritually, in the case of the Middle Ages the church will stablished a way to communicate that is the prayer, this exists in the context of relationship with god, where the believer and god will have a spiritual contact. But also as a matter of control of the church you will be always in more contact with god in the church.
So they really couldn´t explain god, thats why it was a medieval problem. And I think they contacted god the way the church told them to contact him.
