You should remove float:left from the logo CSS (.qa-logo) and put margin:auto instead. The same will work for the ad, as long as the wrapper element has a width.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.