Any matters in such codes which are contrary to existing resolutions of the county shall prevail, and, to that extent, any existing ordinances to the contrary are hereby repealed in that respect only.