If nothing works, try a professional pest control spray—but only as a last resort. Or simply accept that you have persistent ants, and they’re now part of your house’s personality. Some people name them. I call mine “The Mortgage Committee.”
One friend of mine put a line of vaseline around her pet’s food bowl. The ants got stuck like they were on a slip-and-slide. She now calls her cat “The Warden.” It’s not foolproof, but it’s entertaining.