How to place i3bar on top?

Solution 1:

You need to add position top

bar {
        position top
[original contents of "bar" goes here]
}

After adding this, you will need to refresh which is mod (windows key) + shift + r (unless you have changed it from the default).