New city ordinance takes effect