While annual inflation held steady at a rate of 2.7% in December, consumers still faced higher prices at the grocery store.