In my case, it was the theme that is causing the error, in which case I’ve spent too much time customizing and can’t/won’t switch to a compatible theme.
I must admit that my solution has encountered errors on the paypal side because I was using the long form code when generating a paypal button.
So I’ve modified and tested a new solution, that works perfectly!!! For anybody out there that still needs this little solution, try this…
I now use the shortcode and copy it, go back to the post/page you want, use the HTML editor and paste your shortcode, then type the following code before the shortcode:
<div style="margin-top: -640px;">
and right after the shortcode close it with this code:
</div>
Full example:
<div style="margin-top: -640px;">
[s2Member-PayPal-Button level="1" ccaps="" desc="yourdescription" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="yourwebsite.com" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="L" rr="BN" rrt="" rra="1" image="default" output="button" /]
</div>
You might have to experiment with the margin-top: -640px. Play around with that negative number until it looks right for your website.