You're using the Stacked Header Layout so you need to make sure you're adding the code for the Stacked layout condition like the screenshot below.
I've tested that too and it outputs the X Social Global below the Logo. Moving it to the right would require further custom coding and that is beyond the scope of our support.
Please understand that we could only go as far as pointing you to the right direction. Any customization from here should be your responsibility. Please see our Terms. We also do not support issues that might arise from any customization so I'd like to point that out early on.
If what I've pointed out still does not work on your end, please consider using Pro as the layout you need can be easily achieved and there's no coding required for that. Achieving header layouts not offered in X is also one of the reason Pro was created. In that past, we received many header customization request and giving custom code has proven to be not sustainable and not maintainable. Most lead to a lot of back and forth because users don't know how read and write code and we get to handle fixes and enhancements as well even it's beyond the scope of support.
If you're not interested with Pro but wish to achieve the header design you want to achieve, you'll need to forward this to another developer to continue with the customization and/or fixing issues.
I hope you understand our position on this.