How to make world position offset to "X" axis material?

I know how to make world position to one point in the center. But I want to achieve the material that can offset to only one line axis in the middle. Does anyone know how to achieve this?
current state
Uploading: current blueprint.png…

Please Help.