Attach the string to the foam board with hot glue. Attach a thumbtack, nail or picture hook to the wall and slip a string over it to hang. When it is balanced, slide the foam board around.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.