Pansies need at least 6 hours of sunlight in a day to grow at their best. Make sure not to overheat the plants which will affect their growth. You can choose a loaf tin for them where they get a good source of sunlight.