how to set x position to selected vertices
After selecting the loop that you want to position, you can drag your mouse over the X value in the properties menu (it shows up when you press the N key)



If you have vertices that are offset from the center but their average X value is zero (as shown):



You can use the following keystrokes to set the x position of each vertex to zero :

S+X+0