Opposite is 'on the other side'. Eg: Our house is opposite to the super market. Here: The vegetable stall is opposite to our home.

In front of refers the part that is in the direction it faces. So here, the bus stop is in front of your home. 

You could have seen notice boards on the gates saying: 'No parking in front of the gate'.