Food and clothing prices rose more quickly while fuel fell only slightly, boosting the overall rate of inflation.