WordPress.org

Forums

User Submitted Posts
[resolved] Submission Form Outside Margins (4 posts)

  1. kymora
    Member
    Posted 1 year ago #

    I cannot seem to find out how to get the submission form to stay within my blogs margins. I made multiple changes with no luck. Where is it to set this and what is the code that I need to be looking for? I have a responsive theme so I need this to cooperate across different platforms. I have the form up here: http://www.diyweddingsmag.com/submissions/ you can see it's running off the page.

    Other than that - great plugin!

    https://wordpress.org/plugins/user-submitted-posts/

  2. Jeff Starr
    Member
    Plugin Author

    Posted 1 year ago #

    You just need to restrict the width of the outermost element.

    You could use something like this:

    .wp-editor-container { width: 500px; }

    Just add that code to style.css or other stylesheet and adjust the width as needed to fit your design.

  3. kymora
    Member
    Posted 1 year ago #

    That didn't work in either your css files or my theme css file.

  4. Jeff Starr
    Member
    Plugin Author

    Posted 1 year ago #

    You could also try hiding the overflow on the enclosing parent element:

    #user-submitted-posts { width: 100%; overflow: hidden; }

    basically the issue is CSS related.. it can take some experimenting to dial it in, but the form and everything else works fine. You just need to tweak the CSS to get the form to obey to the outermost-defined parent container.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Submitted Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.