Extra spacing/padding
-
Hello-
I found a minor bug which I have already found a fix for, but wanted to let you know about it so you can maybe incorporate it into the next version. If this were GitHub I’d just make a pull request, but alas.
Basically, when using the shortcode in a page, it adds extra spacing above the form which shouldn’t be there – about 300 pixels or so between the form and its nearest content to the north.
The issue is that WordPress seems to interpret newline characters (\n) in this area as line breaks. In one of the plugin files (/lib/esu-front-end-class.php), newline characters are used liberally – I assume this is to make the resulting code look cleaner… unfortunately, it is having unintended consequences.
To fix it, I just commented out all of the line breaks from /easy-signup/lib/esu-front-end-class.php. These lines in particular:
$esu_return .= “\n”; // line break
Thanks, hope this helps.
- The topic ‘Extra spacing/padding’ is closed to new replies.