Two family and children centres have been saved — only to see the majority of their funding from the county council axed.