What you read from Quora is right, "di fronte a" is used when you are facing something, "davanti a" is used when you are in front of something, but you are not necessarily facing it.