Support » Plugin: User Submitted Posts » Too much White Space above Form

Viewing 11 replies - 1 through 11 (of 11 total)
  • I think you may have copied & pasted the shortcode directly into your editor. If you click on html tab in your page you should see tags? Remove them if so & save your page again.

    Plugin Author Jeff Starr

    (@specialk)

    Yes, either what johnegg says, and/or you can inspect the page source code to see if the theme styles are adding any margins, padding, etc., after the text or before the form.

    I didn’t put space there. It is the form that does it. No tags and the code is this:

    <!– User Submitted Posts @ https://perishablepress.com/user-submitted-posts/ –>
    <div id=”user-submitted-posts”>

    <form id=”usp_form” method=”post” enctype=”multipart/form-data” action=””>
    <div id=”usp-error-message” class=”usp-callout-failure usp-hidden”></div>
    <div id=”usp-success-message” class=”usp-callout-success usp-hidden”></div>

    Where and how can I change CSS of Form? Why do they release plugin like this? Anybody can see that there is too much space when he inserts the form into his page.

    Did you click the html tab in your wordpress editor? Again if you see code like < code > then you ned to remove that.

    Plugin Author Jeff Starr

    (@specialk)

    Actually, out of more than 20,000 active installs of USP, you are the only person reporting the “too much white space” issue. So it’s an isolated incident, specific to your setup, and not something that is done intentionally by the plugin. The plugin is just fine, and hopefully, if you can be polite, we can help you resolve whatever issue you are experiencing.

    That said, if you have an URL for your form, please share it and someone will try to take a look and see if there is some CSS or whatever that is interfering with normal functionality.

    Hi, thanks
    Below you see the source code of my page:
    There is some text and then comes the USP form. You can see that there is only one and no unnecessary empty space implanted by me. Form is showing on this page below:
    There is too much white space after the text.Dating Stories
    ———————
    Text of page: bla bla bla I have to delete it.
    <code class=”mm-code”>
    <!– User Submitted Posts @ https://perishablepress.com/user-submitted-posts/ –>
    <div id=”user-submitted-posts”>

    <form id=”usp_form” method=”post” enctype=”multipart/form-data” action=””>
    <div id=”usp-error-message” class=”usp-callout-failure usp-hidden”></div>
    <div id=”usp-success-message” class=”usp-callout-success usp-hidden”></div>

    <fieldset class=”usp-name”>
    <label for=”user-submitted-name”>Your Name</label>
    <input name=”user-submitted-name” type=”text” value=”” placeholder=”Your Name” data-required=”true” required class=”usp-input”>
    </fieldset>

    Plugin Author Jeff Starr

    (@specialk)

    Looking at the source code of the actual web page, you can see that there is something that is wrapping the break and other elements with code tags. If you remove the code tags, the extra space should disappear.

    If you’re not comfortable looking at the source code, you can switch to the plain-text editor when editing the page, and then find and remove the code tags.

    Yes, it worked! Thanks a lot. Something has put these tags into the page, I didn’t…
    I removed them. Now it looks like this on my page and space is gone:
    ….long, to make for a real page.
    Don’t write just a few sentences or I have to delete it.
    [user-submitted-posts]

    ————————————
    I had the code like this above before and hope it doesn’t change…something happened and has inserted this: <code class=”mm-code”>

    Anyway, great job! Sorry that I got carried away but this really got on my nerves as I didn’t understand what’s going on..

    Guess I was right then….:) Glad you got it sorted.

    Plugin Author Jeff Starr

    (@specialk)

    @johnegg lol 🙂

    🙂

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Too much White Space above Form’ is closed to new replies.