Two Food Lion-anchored shopping centers have been sold as smaller communities continue to attract out-of-state investors.