Pansies are best planted in moist, humus-rich well-draining soils. You can amend your soil using compost or old manure, or fertilizers.
They thrive under the full or partial sun but also cooler temperatures. The best planting site is where they will get morning sun but avoid the afternoon heat...