Plant several separate gardens to minimize competition between butterflies and hummingbirds. Plant masses of color closely together to create islands of bright color. Annuals work particularly well for this. Plant some of the annuals that attract both butterflies and hummingbirds, such as geranium and verbena. Plan your garden so that some flowers are blooming all summer.
Timing is everything.
And, lastly, minimize the use of harsh pesticides if at all possible. Not only will they harm many butterflies and hummingbirds, but they may also kill spiders and insects that are also eaten by hummingbirds. Photograph courtesy of Judy Sedbrook.